๐ข Queued Commands
Root command: /queuecommand, /logintp
Worlds: Spawn, Overworld, Underworld-A, Underworld-B, Pit
Access Level: Admin
Queued commands are commands which do not run until a later point in time. Primarily, these are used when a player is offline and we need to execute some kind of command that required them to be online.
LoginTP
One of the easiest commands for these situations can be used when you simply need a player to be teleported to the world spawn when they login. To do this, use the command:
/logintp <player>
QueueCommand
For other situations, when you need to teleport the player to another server or execute any command on login, you can use QueueCommand. While not tabbable in-game (thanks, Dakota), here is the proper syntax:
/queuecommand <servername> <player> <command to run>
For instance, let's say that you need to cuff the player AubsterLovesYou as soon as they enter the Underworld-A server. This would look like:
/queuecommand underworld-a AubsterLovesYou cuff AubsterLovesYou
Some important notes about the syntax here:
- The
<servername>parameter must be the exact server name of the server you are on. To see the proper name, use/serverand tab to see all server names. - The
<command to run>parameter does not need a slash and executes as console. Certain commands are only executable by players or may perform differently when run by console. Be careful and ensure that you know what the command will do.