About Surprise Trap
This plugin give the possibility to spawn a bunch of trap randomly across the map to make it a bit hard for your players. The selected numbers of traps are consistent through the server life, so as soon as 1 is activated, a new will spawn somewhere else. Traps set up after 30 sec after restart/reload. It can work with and without TruePVE . It handle separably the trap trigger and trap damage, what is configurable. The traps can't be picked up, only activated or disarmed.
With the base setup it check for free location outside of monuments, radiation zones and ZoneManger zones. The traps dmg 50hp, can cause wounded effect with 50% for 5 second and TruePVE selected as to be used.
surprisetrap.admin - To use the 3 command
Chat: /show - Show all possible found spawn location (use it with care, it can cause lag until the floating numbers present on the map, see screenshots) /trap - Show all active trap on the map (use it with care, it can cause lag until the floating numbers present on the map, see screenshots) /setup <mine|bear> - set up a trap where the character look, only for test purpose. (the new position will behave as a new spawn location, but only until the next restart) Console: show - information about the additional free spawn locations trap - information about the available amount of traps setup - manually start trap setup in case of not enough trap on the map (compared to the configured amount)
"Bypass the distance limtiation on the trap and spawn location show command": false, "Enable/Disable Chat notification about player Death by any \"Random Trap\"": false, "If all originally set location occupied, then look for new position": true, "Minimum Distance From Building": 20.0, "Number of traps on the map": 500, "Prevent Traps To Be Respawn At Monuments": true, "Prevent Traps To Be Respawn At RadiationZone": true, "Prevent Traps To Be Respawn At ZoneManager": true, "Random knowdown duration": 5.0, "Retry to get a new location(the bigger the number, bigger the resource consumption to try a new free position)": 200, "The distance on the trap and spawn location show command (only if not bypassed)": 150, "Trap activation randomly knowdown": true, "Trapdamage default 50": 50.0, "Try to look free location this many times on server init (Not necesseary mean it will find this many free spot, bigger the number, bigger the resource consumption to try a new free position)": 2000, "Usage of Beartrap": true, "Usage of Landmine": true, "Usage of TruePVE": true
TrapDestroyedByPalyer(BaseTrap trap, BasePlayer player) can be used to catch triggen, when a player killed a trap (for example events or quest to destroy specificly spawned traps)