Wipe Protection prevents raiding after wipe with option to refund explosives at raid attempt.
At wipe, when new map is made plugin should automagically start the wipe block... Since I don't trust the hook that is supposed to do all that I added the command below to do it in case it fails
Permissions
wipeprotection.use - To allow for chat command executions
Chat Commands
/wp start - Use this command if you don't get notified by plugin that it has detected a wipe
/wp stop - Makes all raiding possible
Console Commands
wp start - Use this command if you don't get notified by plugin that it has detected a wipe
wp stop - Makes all raiding possible
Configuration
{
"Settings": {
"Broadcast to chat when raid block has ended": true,
"Message admins on connection with info on when the raid block is ending": true,
"Wipe protection time (hours)": 24.0,
"Refunding Options": {
"Allow Refunding of Explosives & Rockets": true,
"Enable notifican on refunding of ammo types": true,
"Enable notifican on denial of refunding of ammo types": true
}
},
"Version": {
"Major": 2,
"Minor": 1,
"Patch": 6
}
}
Localization
{
"adminmsg": "Wipe protection ending at <color=orange>{0} ({1})</color>",
"console_manual": "Manually setting {0} as wipe time and {1} as time after which raiding is possible",
"console_auto": "Detected wipe, setting {0} as wipe time and {1} as time after which raiding is possible",
"console_stopped": "Everything is now raidable",
"raidprotection_ended": "<size=20>Wipe protection is now over.</size>",
"dataFileWiped": "Data file successfully wiped",
"permission": "<color=#ff0000>You don't have permission to use that!</color>",
"refunded": "Your '{0}' was refunded.",
"refundedNot": "Your Ammo or Explosives are <color=red>not being refunded</color> and has been lost due to trying to raid before the time allowed.",
"wipe_blocked": "This entity cannot be destroyed because all raiding is currently blocked."
}
MIT License
Copyright (c) 2021 FastBurst
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

