[ATLAS] AutoDecay [Anti-Autobreed][Grid Support][Combined Structures] 1.2

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:
  • 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, // Enable MySQL
    "ServerPrefix": "Unique", // Set a unique server prefix for each different server you got
    "SynchronizeOnCluster": false, // false = only update time on server where the player joins | true = update any connected server (grid)
    "MySQL": {
      "Host": "127.0.0.1",
      "Port": 3306,
      "User": "user",
      "Password": "secret",
      "Database": "database"
    }
  },
  "Decay": {

   "Commands": {
      "CheckCommandEnabled": true,
      "CommandLabel": "decaytime"
       },
    "AnnounceCheck": true,
    "AddAlreadyExisting": true, // Add already(before plugin have been installed) existing actors to Database
    "VIPGroup": "vip", // VIP Group for VIPTime
    "CheckSteps": 10, // Amount of actors getting processed per second (lower checksteps will give a performance improve)
    "UseInterval": true, // true = use CheckInterval
    "CheckInterval": {
      "GivenIn": "HOURS",
      "Value": 6
    },
    "ScheduledCheckTime": 22, // one check @22:00 each day
    "Structures": {
      "Enabled": true, // Enables decaying of structures
      "DecayTime": {
        "GivenIn": "HOURS",
        "Value": 48
      },
      "VIPDecayTime": {
        "GivenIn": "HOURS",
        "Value": 60
      }
    },
    "Dinos": {
      "Enabled": true, // Enables decaying of dinos
     "UnclaimDino": false,
      "DecayTime": {
        "GivenIn": "HOURS",
        "Value": 48
      },
      "VIPDecayTime": {
        "GivenIn": "HOURS",
        "Value": 60
      }
    }
  },
  "AutoBreed": { // Enables the automatic decaying / killing of unclaimed dinos so people don't throw 1000 eggs at once
    "Enabled": true, // Enables / Disables the feature
    "CheckInterval": {
      "GivenIn": "SECONDS",
      "Value": 10
    },
    "MaxUnclaimedTime": { // Maximum time beeing unclaimed before getting killed / decayed
      "GivenIn": "SECONDS",
      "Value": 60
    }
  },
  "SoloStructureOverrides": [ // If you want to disable that just leave the "[],"

    {
      "BlueprintPath": "Blueprint'/Game/Atlas/Structures/Pillars/Small/Stone/PrimalItemStructure_Pillar_S_Stone.PrimalItemStructure_Pillar_S_Stone'",
      "DecayTime": {
        "GivenIn": "HOURS",
        "Value": 36
      }
    }
  ],
  "DuoStructureOverrides": [ // If you want to disable that just leave the "[],"

    {
      "BlueprintPath": "Blueprint'/Game/Atlas/Structures/Ladders/Static/Wood/PrimalItemStructure_Ladder_Static_Wood.PrimalItemStructure_Ladder_Static_Wood'",
      "PlacedOn": "Blueprint'/Game/Atlas/Structures/Floors/Stone/PrimalItemStructure_Floor_Stone.PrimalItemStructure_Floor_Stone'",
      "DecayTime": {
        "GivenIn": "HOURS",
        "Value": 24
      }
    }
  ],
}
Supported TimeUnits:
JSON:
{
    "GivenIn": "SECONDS",
    "GivenIn": "MINUTES",
    "GivenIn": "HOURS",
    "GivenIn": "DAYS"
}



NOTE #1: Please ensure that you're the running the Atlas ServerAPI version 1.4 or newer!

NOTE #2: If you're getting errors from the Permission plugin on console, please make sure you're running the latest Version of Permission(now called Atlas Permissions

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 :)
Author
AdrianGaming
Downloads
8
Type
Digital product
License duration
Unlimited
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from AdrianGaming

Latest updates

  1. Added log file for ATLAS version

    Added log file for ATLAS version
  2. Fixed a crash

    Fixed a crash while checking
  3. Bugfix and cleanup

    Bugfix and cleanup

Latest reviews

Big thank you for creating this for Atlas!
Top