Prevent looting containers in certain events
Fixed being able to loot corpses/bags when youre not supposed to be able to
Disable weapon/tool pickup in OITC and Gungame
Fixed TeamSurvival calculating scores backwards
Don't count team kills towards score in TDM
Event teleporters check event permissions before teleporting players, if they don't have the permission send them a message
Added config options for automatic health regeneration (disabled by default)
JavaScript:
"Automatic Health Restore Options": {
"Enable automatic health restoration": false,
"Start restoring if no damage taken for x seconds": 5.0,
"Amount of health to restore every second": 2.5
}
Event teleporters check event permissions before teleporting players, if they don't have the permission send them a message
Added config options for automatic health regeneration (disabled by default)
JavaScript:
"Automatic Health Restore Options": {
"Enable automatic health restoration": false,
"Start restoring if no damage taken for x seconds": 5.0,
"Amount of health to restore every second": 2.5
}
Disable /lobby usage if player is in a event
Changed event teleporter to cancel action if the player is in a event, instead of destroying the player and recreating them for the new event
Added command /leave to leave a event
Added config option "Disable events after a match has been played (event name, seconds to disable)" which when a event is added to this it will be temporarily disabled for the specified amount of time once the event has concluded (more info on the overview)
Changed a few things around in event menu regarding current event status to make it look nicer
Fixed event player -> regular player damage regression
NPCs forget target when they have been killed and target someone else in NPC Survival
Added permission "arena.blacklisted" which will prevent players from accessing the arena menu