Every 12 hours (or with a config to change the time) a Purge starts lasting 30 minutes, during the Purge full loot will be turned on, meaning players will drop everything. When a Purge begins a server message is displayed such as
Purge will begin in 5 minutes. During this time you will drop all of your gear if you are killed!
Purge Starting in 4 minutes
Purge Starting in 3 minutes
Purge Starting in 2 minutes
Purge Starting in 1 minute
Server wide Purge has begun!
And also if you could, disable Teleportation during the purge meaning TPR and Home permissions get automatically turned off for default group.
Hurtworld Purge event
Discussion in 'Plugin Requests' started by Enclave, Feb 12, 2016.
-
Yes these are both possible.
You'd have to edit the teleportation plugin itself though if you wish to modify the way it works.
A simple Boolean on the commands if(!Purge){do tpr stuff} would work fine. -
Sweet, now I just gotta learn how to code
-
Hey mate,
If you need to help with the code to change the loot ode I recently updated the Vote plugin to temporarily change the loot mode which should give you what you need.
If you want to make it a scripted event you can use System.Datetime.Now then either use .Day or .Hour
I would help you more accurately but in hospital at the moment -
Oh alright thanks I'll take a look, and hope ya get better soon man!
-
Enclave how did you go with the Purge Event? If you need help just let me know mate
-