Bugs Fixed
- You could withdraw till death.
- The config commands were not working at all.
- A bug, where the player deaths were recorded and when the
NaturalDeath
config was altered, all players would get negative effects.
Changes // Additions
- Now using the reviver won't get cleared when there is no dead player. (+warning message)
- You can't withdraw if you don't have any negative effects, this is added to stop dupe and abuse of effects. (but you can change this, by using
toggleWithdrawBelowZero
config command) - A new config command is added:
/trigger toggleWithdrawBelowZero set {value}
, Default value is 0, Value 0: You can't withdraw if you don't have any negative effects. Value 1: You can withdraw even if you have negative effects. - Made so players with lots of negative effects can still play without difficulties, as previously player dieing two time grants them weakness and slowness making them very very weak for fighting, this was changed!
Others
- The wrong grammer of the info, after using a config command is changed.
- Code Optimization
-
New lore and colour for the Withdrawn Bottle effect.
-
New Config options:
/trigger toggleEffectParticles set {value}
: Toggles if you want to show the particles of the effects the players get. Value (1) for showing particle, (0) for not showing particle, 1 is by default./trigger toggleNaturalDeath set {value}
: Toggles if you want to allow natural death or not, if it is allowed then you lose effect if you die to a mob or by nature, if it is not permitted you only lose effect to player kill. Value (1) for allowing Natural Death, (0) for disabling Natural death, 0 is by default.- Info: If you want to change the config, you must be in creative mode.
-
New Function:
/function infuse:reseteffect
Used to restart the effects of all players in a server. -
Code Optimization