
SurfEvents 1.9.9.e
Add Speedbuilders, Skywars, Blockparty, HorseRace, Bomberman, and more to your survival server!
Fixed a bug where you could leave the event even after being eliminated.
- Fixed a bug on capture event where the player wasn't being properly eliminated while leaving the event while being captured.
Fixed a bug where the winners inventory wasn't being cleared after the end of a fight duo mode match.
Now you can edit the entire config.yml using the in-game editor through the /event menu command.
- Made some changes to fix a bug in fight duo mode.
Implemented a new menu that will allow admins to check player stats, create events and access the event list. To open the menu, you can either type:
- /event menu
- /surfevents menu
- Also, some bugs were fixed on topkiller and fight.
- Now attached blocks will also be moved to your inventory when its attachment is destroyed in speedbuilders.
- Fixed an issue where an error message was being written on the log system even without any error happening.
A new log system was now implemented. With that, you have the option to save information about the events, like when it started, players that have joined, items saved, players eliminated, winners, etc.
The option to enable is is in the config.yml:
log-system:
enabled: true
delete-after: 7
You can also check the default config.yml values here.
- Now every event will contain an option to avoid it being initialized through
the random event schedule system.
"enable-random: false"
- Made some changes in how the player info is restored when he disconnects while in a event to try to fix some teleportation issues.
Also, some typos were fixed in the /event stats check command.
Now you can add a finishing phase stage for the events, here's how it works:
- Every time an event ends, if finishing-phase is enabled, the players will be teleported to an area to stay there an amount of time (which you can modify), and after that period, they will be teleported back to their locations (or to exit-location if you have teleport-back set as false).
- While in this finishing phase, you can set up firework locations, firework colors and custom music to play.
- You will also be able to run global and per player commands when this phase is called.
The finishing phase can be setup in the config.yml file, if you want to check the default config.yml values, access this link.
- Now you can edit/check players wins amount in-game with the /event stats command:
You can use one of the following options:
- /event stats check (player-name): Check some information about a player statistics.
- /event stats add/remove wins (player-name) (amount): Add/remove an specific amount of wins for a player.
- Added /surfevents command, which will for now just return a message showing the main commands.
- Now if an event name is typed wrong, its name will appear on the console output
- Now you can set the Custom Model Data for weapons on quake, paintball and spleeg
- Added two new placeholders:
%surfevents_red_score% and %surfevents_blue_score%, which will return the respective team score for games like capture, paintball and sheepwars.
made some changes on the placeholderapi expansion to fix some issues regarding use of another plugins that hook into the plugin player stats.
- Fixed a bug on speedbuilders game
- Fixed a bug with tab plugin
- Fixed issue where player last location wasn't being saved correctly
- Fixed a bug where the team selection items were removing some of the player inventory items.
Now the capture, fight and sheepwars events will have two kit setups (one for each team/player).
- Added new argument for /event forcejoin command (/event forcejoin -all), which will try to force all the players to join the event.
- Added "surfevents.bypass.forcejoin" permission to let players bypass forcejoin command.
- Fixed some small issues regarding the new player stats system.
Now the stats for each player will be saved in a single file for each player. Also, some new data will be added to the player stats, the file structure is going to look something like this:
{
"name": "Dadaray_",
"wins": 1,
"totalPlays": 10,
"gameWins": {
"parkour1": 0,
"blockparty1": 1
},
"gamePlays": {
"parkour1": 7,
"blockparty1": 3
},
"typeWins": {
"parkour": 0,
"blockparty": 1
},
"typePlays": {
"blockparty": 3,
"parkour": 2
}
}
These files will be saved in data/wins.
The placeholders to access these values are:
%surfevents_wins% - Returns the player wins amount.
%surfevents_plays% - Returns the amount of games played by that player.
%surfevents_wins_game_(game-name)% - Returns the player wins amount on that specific game.
%surfevents_plays_game_(game-name)% - Returns the amount of games played by that player on that specific game.
%surfevents_wins_type_(game-type)% - Returns the player wins amount on that specific game type.
%surfevents_plays_type_(game-type)% - Returns the amount of games played by that player on that specific game type.