Rcon Scheduler

Rcon Scheduler 1.36

No permission to download

This plugin allows you to schedule RCON commands to run exactly when you need them to.
You can set them to run when the server starts, every X minutes, every X hours or at an exact time during the day.
Schedules are based on real world time (not in game time).

Installing and/or updates for the DLL must be performed while the server is offline.

Dependencies:
Command:
  • RconScheduler.Reload
    • This will reload the config and restart the schedules as if the server was just started.
    • This command only works from RCON
Configuration:
JSON:
{
  "DisplayCommandLog": false,
  "PlayerJoin": {
    "Enabled": true,
    "Message": "This appears about 15 seconds after player joins!",
    "Color": "Green",
    "DisplayTime": 10.0,
    "DisplayScale": 1.3
  },
  "Commands": [
    {
      "Command": "serverchat test message on Sunday's 2:41pm!",
      "Type": "Cron",
      "Schedule": "41 14 * * 0"
    },
    {
      "Command": "serverchat test message at 2:41pm!",
      "Type": "Exact",
      "Schedule": "14:41:00"
    },
    {
      "Command": "serverchat test message at 2:40:02pm!",
      "Type": "Exact",
      "Schedule": "14:40:02"
    },
    {
      "Command": "serverchat test message at 7:40am!",
      "Type": "Exact",
      "Schedule": "7:40:00"
    },
    {
      "Command": "broadcast hello world every 1 minute!",
      "Type": "Minutes",
      "Schedule": 1
    },
    {
      "Command": "broadcast hello world every 1 hour!",
      "Type": "Hours",
      "Schedule": 1
    },
    {
      "Command": "DestroyAll BeeHive_C",
      "Type": "Minutes",
      "Schedule": 5
    },
    {
      "Command": "serverchat test message every 3 minutes",
      "Type": "Minutes",
      "Schedule": 3
    },
    {
      "Command": "destroyall droppeditemgeneric_fertilizedegg_nophysicsdeinonychus_c",
      "Type": "Startup"
    },
    {
      "Command": "destroyall droppeditemgeneric_fertilizedegg_nophysicswyvern_c",
      "Type": "Startup"
    },
    {
      "Command": "destroyall droppeditemgeneric_fertilizedegg_nophysicscherufe_c",
      "Type": "Startup"
    },
    {
      "Command": "destroyall droppeditemgeneric_fertilizedegg_rockdrake_nophysics_c",
      "Type": "Startup"
    },
    {
      "Command": "serverchat",
      "Type": "Minutes",
      "Schedule": 5,
      "Sender": "Test",
      "Message": "This appears every 5 minutes enjoy!"
    },
    {
      "Command": "notification",
      "Type": "Minutes",
      "Schedule": 3,
      "Message": "This appears every 3 minutes enjoy!",
      "Color": "Green",
      "DisplayTime": 10.0,
      "DisplayScale": 1.3
    }
  ]
}

Detailed Configuration Info:
Commands:
  • Command = RCON command example "DestroyAll BeeHive_C"
  • Type = What type of schedule
    • "Exact" will run at the specified time in the "Schedule" setting. If the time is already past this command will execute the next day at the specified time.
    • "Hours" will run every X hours from the time the server started until the server shutsdown.
    • "Minutes" will run every X minutes from the time the server started until the server shutsdown.
    • "Startup" will run once when the server is started.
  • Schedule = This is dependent on the "Type" setting.
    • Exact Example = "14:22:00" this would run at 2:22pm it must be in this format including the seconds.
    • Hours and Minutes you would just set a number like 5
    • Startup does not use this.
Added 2 new messaging commands:
  • "notification" - Displays notification style popup message at the top of the screen.
    • JSON:
              {
      "Command":"notification",
      "Type":"Minutes",
      "Schedule":3,
      "Message":"This appears every 3 minutes enjoy!",
      "Color":[0,1,1,1],
      "DisplayTime":10.0,
      "DisplayScale":1.3
              }
  • "serverchat" - Using this command alone (not specifying a message in the command) opens up additional options.
    • JSON:
      {
      "Command":"serverchat",
      "Type":"Minutes",
      "Schedule":5,
      "Sender":"Test",
      "Message":"This appears every 5 minutes enjoy!"
              }
I provided many examples in the default config which you need to update or you will spam your server with test messages.

NOTES: This plugin does not support plugins.unload feature in the API. RCON commands are executed one at a time in a single file line so be aware if you put many commands in a short time span.

Buy me a coffee 🙂 <http://bit.ly/3sutgAE-Dono>

Author
Lethal
Downloads
464
Views
7,721
First release
Last update
Rating
5.00 star(s) 6 ratings

More resources from Lethal

  • Lethal Decay
    Lethal Decay
    Goal is to make a highly efficient lag free decay plugin that is easy to configure
  • Server Events
    Server Events
    Create various events using different in game bosses/dinos.
  • Tribe Enforcer
    Tribe Enforcer
    Tribe Enforcer aims to provide consistent tribe members across a cluster including the same Tribe ID
  • Items+
    Items+
    Full DC Protection, Tribute Uploads, Item Weight and Limited Blueprint Crafts
  • Tribe Log Relay
    Tribe Log Relay
    Tribe Logs can be sent to a Tribes Discord and Admins can receive all Tribe Logs for auditing.

Latest updates

  1. 1.36

  2. v1.35 (pretty much v1.34 but works properly)

    Added code to prevent hot-loading the plugin. (Plugin must be started with the server) RCON...
  3. 1.34

    Added code to prevent hot-loading the plugin. (Plugin must be started with the server) RCON...

Latest reviews

when i add this plugin my server keep restarting :(
Works perfectly
excellent plugin, very useful on my servers.
but there would be possibility to add a serverchat message when connecting the player, as an example to give him an available command list, welcome message and other ?
Great plugin, thank you Lethal.
GOOD
good work
Top