Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Scheduling

The Scheduler is a system that allows you to schedule commands to be run at certain times automatically. It can only be used via the GPORTAL | NITRADO console.

The following commands cannot be scheduled:

  • entity.spawn
  • inventory.givedrop
  • spawnitem

Setup

To create a Scheduler action, you must start the command with
CreateAction ConVarSchedulerAction

Then, there are several arguments you can adjust:

StartTime EndTime RepeatTime RepeatAmount Command CommandParams

πŸ“Ÿ

CreateAction ConvarSchedulerAction [0] [1] [2] [3] [4] [5]

This command creates a scheduled action with the following parameters:

#ArgumentDescriptionExample
[0]StartTimeWhen this command can run from"01/11/2024 10:30:00"
[1]EndTimeWhen this command will stop running"08/11/2024 10:30:00"
[2]RepeatTimeThe time interval between each time this command runs"01:00:00"
[3]RepeatAmountHow many times this command will run24
[4]CommandThe command you want to runsay
[5]CommandParamsThe parameters for your chosen command"Join our discord!"

Please note, all times used in The Scheduler commands are in UTC with date format DD/MM/YYYY and time format HH:MM:SS.

If you make the command repeat, the end time will automatically adjust to when the command will be done repeating

Example

πŸ“Ÿ

CreateAction ConVarSchedulerAction β€œ01/11/2024 10:30:00” β€œ15/06/2025 19:55:00” β€œ00:01:00” 10 say β€œWelcome”

This will run the β€œsay” command every minute (which will put the text β€œWelcome” in the game chat), 10 times, starting at 10:30 UTC on November 1st 2024.

listactions

The listactionscommand will return all created Scheduler actions with their IDs

removeaction

The removeaction command will delete the action whose ID you input

Example

πŸ“Ÿ

removeaction 3

This will delete the action with the ID 3