
SurfEvents 2.2.3
Add Speedbuilders, Skywars, Blockparty, HorseRace, Bomberman, and more to your survival server!
Added tab completion for commands.
Fixed a bug where the schedule viewer wasn't able to recognize some event names due to uppercase/lowercase issues.
Fixed a bug where a error was being spammed on console when player were clicking on other types of inventory.
Added a value for paintball:
- weapon-cooldown: 10
To change the cooldown of the shoot
In-Game editor
- new you can edit your game config using a GUI in-game (you still gonna be able to edit directly the gamefiles).
- Now /event list will display a GUI instead of a message, and you will be able click on a event item to start/edit it in this GUI.
Also some new placeholders
- %surfevents_players_playing% - Returns the current amount of players on the event
- %surfevents_delay% - Returns the amount of time remaining to start the event.
- %surfevents_time% - Returns the current event playtime (if present).
- %surfevents_next% - Returns the next event display-name.
- %surfevents_next_time% - Returns the next event date time.
Also, some new features were added for some games
- Now spectators won't be able to go too far away from the spectators location, preventing them to explore your map outside the event location.
- Now in HorseRace, there will be a countdown timer before the players can start racing.
Some little bug fixes
- Now your effects will be cleared when leaving an event.
- Now you won't be able to hit another players while in lobby on sumo.
Some new values for config.yml
spectator-message: "&chey, you can not go too far away!"
For HorseRace
title-message: "Starting in"
starting-delay: 5
For Skywars
use-schematic-system: false
• 3 new values for the config.yml:
- update-gamefiles: false (to choose if new values will be inserted into your gamefiles automatically)
- allow-join-when-full: false (to choose to allow or not players to join games when there is no more slots available for games like speedbuilders, skywars, horserace, quake and topkiller)
- event-full-message: "&cThis event is already full." (message that will be displayed when the game is full)
• added an option to kick players from capture and paintbal if the team sizes are uneven, the value to enable it is:
- kick-if-uneven: true
• Added an option to change the time duration of fights in sumo and fight minigame, the default value is 30:
- time: 30
• Fixed a typo in the bomberman gamefile.
• Added suport the the TAB plugin (now nametags and scoreboards from TAB plugin will be hidden while ingame and the event scoreboard/nametag will be displayed).
- Fixed a bug where u could break items with snowballs on paintball
- added an option to disable the event schedule viewer on config.yml
New Minigame Added, Capture.
- In this minigame the objective is to capture all the enemies to your base. There will be 2 teams. You can also save your allies that were captured and bring them back to your base so they can get back to the game.
Now you can use custom songs (requires noteblockapi)
- If you have noteblockapi installed, you can play custom nbs sounds during the events. You just have to enable the "is-music-custom" in your gamefile and set the correct name of your song that is inside the music directory (read the wiki for more detail).
Other improvements:
- Now both paintball and capture will display the player names in their respective team colors.
Also some bug fixes:
- Fixed a bug in skywars that wasn't removing the scoreoard from the players eliminated.
- Fixed a bug where if duo-mode was enabled in speedbuilders, but the minimum players required wasn't reached, the console would print some errors.
- Fixed a bug related to entrance locations on paintball.
- Fixed a bug related to item colors on paintball;
- Added an option to give or not team selection items on paintball;
- Some messages now will be displayed correctly when minimessage is enabled.
- Added a timer on the bossbar for topkiller, quake and paintball, that will display the remaining time.
- Added two new options on the game files:
- play-music: whether to play or not a music during the event
- music: if play-music, is true, which music will be played.
Fixed a bug where players could still take damage even after being eliminated from spleef and spleeg.
Fixed a bug regarding the /events command not executing if a misconfiguration is present on the scheduler.
Backup files will no longer be deleted after using restoreinventory command
- New /events command that will display all the scheduled events. This command will display all the scheduled events, including its time and day of the week.
- Now you can set a minimum amount for players to join so the game will start a warmup, without the need to wait for all the anouncements for the game to begin.
- A bossbar was added to indicate the time left to start the game.
- Added a actionbar and some sounds for the blockparty game. Also some sounds were added for paintball, quake and topkiller.
Added some new values for gamefiles:
- display-name: The game display name.
- display-icon: the item displayed on the /events schedule
All the new values will be automatically added to their respective gamefiles.
- New placeholders (PlaceholderAPI required):
- %surfevents_current_game%: Shows the current game display name.
- %surfevents_players_playing%: Shows the current amount of people playing the current game.
- Some critical bug were fixed regarding inventory management.
- Also, a new backup system was created to store all players inventories, keeping their data saved even after the ending of the event, so if any problems occur, their inventories will still be accessible. A new command was added to restore their backup inventories (/event restoreinventory <playername>).
fixed an error related to giving the prizes to the players in some minigames.
- Now you can set specific days of the week for events to start (you can also let the current way so the events will keep running everyday)
- Now you can add the "command-on-join" option to set a list of commands to run every time a player joins an event. You can also use the %player% placeholder here.
- Fixed a bug related to spectator mode not being disabled
- Fixed a bug related to giving items via commands when a event finishes.
- Fixed an issue where the winner wasn't receiving his inventory back
- Fixed an issue where you couldn't disable bow in spleef
- Now on the speedbuilders game, the buildings wont repeat until all the buildings are used on the game.