Resource icon
Feel free to join my Discord Server!
Hey - you server administrator out there,
Are you fed up with players placing structures all over the map but not decaying ..?
Or even players who claim good spots (especially on PvP servers), but then just leaving for some reason?
Then you came to the right plugin!
This plugin allows you to set a specific time to remove structures from players who were not online in this time.
Lets say you configure 48h in the config file - this would mean that every player can be offline for 47 hours without loosing any structure. If the player exceed this time all structures on the map of the player / tribe will get removed.
This plugin will give you:
Please Note that the plugin only has been tested with MariaDB - Other DBMS can cause a malfunction of the whole plugin or even to a loss of all dinos / structures on the entire map!
Configuration:
Supported TimeUnits:
Since Update 4.0: You'll need to buy it once for each dedicated / root server you have (per IPv4!)
Please join my Discord *Click me* after buying it to clarify anything else
Special thanks to Ronnie who helped me testing it on a well visited server
Hey - you server administrator out there,
Are you fed up with players placing structures all over the map but not decaying ..?
Or even players who claim good spots (especially on PvP servers), but then just leaving for some reason?
Then you came to the right plugin!
This plugin allows you to set a specific time to remove structures from players who were not online in this time.
Lets say you configure 48h in the config file - this would mean that every player can be offline for 47 hours without loosing any structure. If the player exceed this time all structures on the map of the player / tribe will get removed.
This plugin will give you:
- better Performance
- more Players
- a balanced contrast for Protection Plugins / Mods
Please Note that the plugin only has been tested with MariaDB - Other DBMS can cause a malfunction of the whole plugin or even to a loss of all dinos / structures on the entire map!
Configuration:
JSON:
{
"Backend": {
"useMySQL": true, // true = use MySQL; false = use SQLite file(generated by plugin)
"ServerPrefix": "island", // Prefix for your server in the cluster
"SynchronizeOnCluster": true, // Synchronize times on entire cluster - if player is active on one server should the time be updated on another too?
"MySQL": { // MySQL Login credentials
"Host": "127.0.0.1",
"Port": 3306,
"User": "user",
"Password": "secret",
"Database": "database"
}
},
"Decay": {
"Commands": {
"CheckCommandEnabled": true, // enable command for viewing the remaining time on a target (command is /decaytime by default)
"CommandLabel": "decaytime" // The command label
},
"AnnounceCheck": true, // Display a message to all users on the server that a check has been started
"AddAlreadyExisting": true, // Take existing structures into account. Setting this to true will collect TribeID or SteamID of structures and put them into the database
"DecayGroups": [ // Permission groups
{
"GroupName": "vip", // Group name should be exact name from Permission plugin
"StructureDecayTime": { // Structure Decaytime
"GivenIn": "HOURS", // See valid formats below
"Value": 96 // 96 hours..
},
"DinoDecayTime": { // Dino Decaytime
"GivenIn": "HOURS",// See valid formats below
"Value": 96 // 96 hours..
}
},
{ // Another group that is beeing tracked by AutoDecay - in this case its a admin group that will not be affected by AutoDecay at all.
"GroupName": "admin",
"StructureDecayTime": {
"GivenIn": "HOURS",
"Value": 0 // Disable AutoDecay for this group. Grant immunity.
},
"DinoDecayTime": {
"GivenIn": "HOURS",
"Value": 0
}
}
],
"CheckSteps": 25, // Amount of structures, dinos etc that are beeing processed within a second (Please note that high numbers are not reliable and could cause lag on your populated server!)
"UseInterval": true, // Use the Interval time down below - this would check the entire map
"CheckInterval": {
"GivenIn": "HOURS",
"Value": 6
},
"ScheduledCheckTime": 16, // if "UseInterval" is set to false there will be one check every day; in this case it will be 16:00 (4pm)
"Structures": { // Default Structure settings
"Enabled": true, // true means that the plugin will check also for structures
"DecayTime": {
"GivenIn": "HOURS",
"Value": 48
}
},
"Dinos": { // Default Dino settings
"Enabled": true, // true means that the plugin will check also for dinos
"UnclaimDino": true, // true = unclaim dino, false = delete from map
"DecayTime": {
"GivenIn": "HOURS",
"Value": 48
}
}
},
"AutoBreed": { // Autobreed settings - this is designed to remove unclaimed dinos in given time. This is especially good for servers with high egg hatching rate
"Enabled": true, // Enable tracking of unclaimed dinos
"CheckInterval": { // Check the entire map every 60 seconds for unclaimed dinos
"GivenIn": "SECONDS",
"Value": 60
},
"MaxUnclaimedTime": { // Maximum amount of time a unclaimed dino can exist(Lifespan)
"GivenIn": "SECONDS",
"Value": 60
}
},
"Messages": { // You can edit these messages and adjust them to your language :)
"CheckStarted": "An automated check for decaying structures has been started",
"CheckFinished": "All structures of the inactive players were decayed",
"StructureRemainingTime": "The target structure decays in {} hours and {} minutes.",
"DinoRemainingTime": "The target dino decays in {} hours and {} minutes.",
"StructureCurrentlyDecaying": "The target structure is currently decaying",
"DinoCurrentlyDecaying": "The target dino is currently decaying",
"TargetNotDecaying": "The target is not affected by AutoDecay."
}
}
Supported TimeUnits:
JSON:
{
"GivenIn": "SECONDS",
"GivenIn": "MINUTES",
"GivenIn": "HOURS",
"GivenIn": "DAYS"
}
Since Update 4.0: You'll need to buy it once for each dedicated / root server you have (per IPv4!)
Please join my Discord *Click me* after buying it to clarify anything else
Special thanks to Ronnie who helped me testing it on a well visited server