1. These forums are being retired. Please ask all questions and help threads and any other type of discussions on GitHub. During this time, new threads and user registrations have been disabled.

1.21 (obsolete) On Startup 1.0.0

Runs commands after the world has loaded

  1. Wight
    API Version:
    1.21
    TShock Version:
    4.3
    Source URL:
    https://github.com/WhiteXZ/OnStartup
    Runs commands after the world has loaded using TSPlayer.Server

    Commands:
    • runstartup - runs all defined commands
    • reloadstartup - reloads the plugin's configuration file

    The runstartup command is not required to make this work, it simply exists in case you want to re-run the startup commands at any point.


    Config format:
    File name: StartupCommands.json
    Code:
    {
      "StartupCommands": [
      "/command1 args args args",
      "/command2 args args args",
      "/etc"
      ]
    }
    
    '/' can be replaced by your custom command character or your silent command character, it doesn't really matter.

Recent Updates

  1. 1.21 API tick
  2. 1.20 API tick