SurfEvents 2.0.1.b
Add Speedbuilders, Skywars, Blockparty, HorseRace, Bomberman, and more to your survival server!
Added new option for sumo event:
"free-for-all: false"
If true, the game will be a free for all based game, instead of a round based game. Also, in that case, the location used to teleport the players when the game starts is the "entrance" location, and not "entrance1" and "entrance2".
Added two new placeholders:
- %surfevents_day_event_<index>%
Returns the indexed event name of the day (returns "---" if no event is found). Index starts with zero.
- %surfevents_day_event_time_<index>%
Returns the indexed event time of the day (returns "---" if no event is found). Index starts with zero.
Added an value to change the maximum distance for spectators for each event:
spectators-maximum-distance: 100
Change this value in the gamefile or through the in-game editor to modify the maximum distance a spectator can go far away from the spectators location.
Changed the way events are initialized to improve performance.
Now skywars will require a map saving setup before starting. You will have to do this process once, and then, after every skywars event, the map will be restored based on that map saving.
You will also be able to restore the map manually.
The map saving process will require two new values on the gamefile:
- corner1: first corner location for saving the map
- corner2: second corner location for saving the map
From now on, the arena checking will all be done using the corner1 and corner2 locations, the radius will still be used to check chest locations.
Depending on how large is your map, the saving process can take some time (the default schematic provided on discord takes something around 30 seconds to complete the saving process, while the restoration takes up to 5 seconds maximum, limiting the numbers of restored blocks per tick to avoid server overload).
Also, some improvements were made regarding blocks being removed incorrectly after the end of the skywars event (you will notice that some blocks will be removed even if they are a default part of the map, but they'll be restored by the end of the removing process).
- Fixed an issue where a message wasn't being correctly parsed on speedbuilders.
- Added a new value on speedbuilders:
maximum-distance: 10
It allows you to change the maximum distance a player can stay from its center building location.
Those who have downloaded the 1.9.1 or 1.9.2 version, please download this version to fix a bug related to the arena restoration.
Now when you shoot eggs on tnt on the spleeg event, it will destroy a 3x3x3 area.
For those who already have speed-builders builds already made:
The old files for the speed-builders mini-game will stop working starting from this version. Now the new files will store the blockdata, and not only the material.
Also, in the runner, skywars, spleef and spleeg events, the arena will restore the block data of destroyed blocks.
- Fixed an issue where for some events the pvp was being cancelled.
Added two new options in config.yml:
- use-custom-health: false
If true, will enable custom health for players in the events (you might have to disable any custom health plugins in the world where the events occur)
- health-value: 20.0
The custom value for health (if use-custom-health is set as true)
Fixed a bug where player info wasn't being restored when "spectator-mode" was set to false.
Added new values in the config.yml:
- command-prizes-delay: 5
Set the delay (in ticks) to execute the command-prizes commandas after the event ends.
- debug-messages: true
Display some debug messages on console (by now there are only messages regarding health management)
Fixed a wrong message being sent when a player uses /event while in game on starting phase.
- Changed the priority system of some events to avoid pvp being cancelled if group plugins are present.
- Made some changes on how the player health is handled if there's some custom health plugin present.
- Changed the way respawn is handled in horserace.
- Set PlaceholderAPI as a dependency.
- added a new option on config.yml:
remove-exp: false
if true, player exp will be removed and saved on a file when joining an event. If false, nothing will change regarding exp
- Fixed a bug where if the player left the event on sheepwars leting zero players on their team the game didnt ended.
- Fixed a bug regardin players leaving events at "starting" phase.
- Fixed some bugs regarding bossbar.
- Added color to team selection items.
- Now itemswap will also be cancelled on events that cancels moving inventory items.
- new values for some games (paintball, quake, topkiller and sheepwars):
tie-break-message: message displayed on the bossbar when there is a tie break on the event (for sheepwars it will be displayed on chat).
- Added a missing tie break for quake.
- Now tie breaks will have a delay, if the players dont score by the end of the tie break, the event will finish without winner.
Added new message on config.yml:
- no-permission-message-join: "You don't have permission to join the event."
Fixed issue regarding minimessage usage on team events.
Fixed issue on hotpotato minigame and on topkiller.
Changed the way the player info is saved. Added some log messages in case there is an exception.
Added new value for bossbar in some events, it works for paintball and topkiller:
- tie-break-message: "Next to score will be the winner"
- Fixed some wrong typos
- Fixed an issue on topkiller when the death cause wasnt by a player
- added missing entrance value to topkiller
- Changed the configuration for the sidebar to another section on the ingame editor (Scoreboard)
- Now team names for minigames like capture, paintball and sheepwars should not have color codes before the tag.
- Added some missing information about color codes usage on the in-game editor.
- In hot-potato, a random player will be selected to hold an potato, they must pass the potato to another player to avoid keep it when the timer reaches zero. The last player remaining will be the winner.
Also some bug fixes on fight and parkour.