Rcon Scheduler

Rcon Scheduler 1.32

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.

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:
{
    "RCON":{
        "IP":"127.0.0.1",
        "PORT":32000,
        "PASS":"yourpass"
    },
 "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 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 2:40pm!",
            "Type":"Exact",
            "Schedule":"14: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":[0,1,1,1],
            "DisplayTime":10.0,
            "DisplayScale":1.3
        }
    ]
}

Detailed Configuration Info:
RCON:
  • IP = Server IP you should be able to leave this at 127.0.0.1
  • PORT = The port you have RCON running for this server
  • PASS = Your server admin password
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.

Donations: If you feel like donating for my time please use the button below.



Author
Lethal
Downloads
282
Views
3,783
First release
Last update
Rating
5.00 star(s) 5 ratings

More resources from Lethal

  • Name Control+
    Name Control+
    Control Player, Dino and Tribe Names
  • Auto Crafter
    Auto Crafter
    Auto Craft Items and Change Structure Settings
  • ATLAS: Tribe Log Relay
    ATLAS: Tribe Log Relay
    Company Logs can be sent to a Company Discord and Admins can receive all Company Logs for auditing.
  • Creatures+
    Creatures+
    Flyer Speed, Stat Capping and Rebalancing Per Dino
  • Lethal ORP
    Lethal ORP
    Lethal's Offline Raid Protection

Latest updates

  1. Rcon Scheduler v1.32

    Fix for 1114 loading error.
  2. Rcon Scheduler v1.31

  3. Rcon Scheduler v1.3 - Reupload

    Fixed config for the new option.

Latest reviews

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