3 DungeonSign Command
Daniel Saukel edited this page 2021-06-16 19:56:01 +02:00

WARNING: Do not use this feature to spawn mobs. Use mob signs and the custom mob provider registry in the main config instead.

The command sign runs a command script.

Line Input Example
1st [CMD] [CMD]
2nd {Script}
3rd {Delay in sec.},OP/CONSOLE/DEFAULT 3,OP
4th Trigger R

Command scripts are stored in the plugins/DungeonsXL/scripts/commands directory. It consists of a list of commands to perform:

commands:
  - version
  - help
  - deop %player%

The file name without the ".yml" extension is used in the second line.

The third line determines the delay between commands from the list and the executor. "DEFAULT" makes the players run the command with their own permissions, "OP" makes them execute the command as operators and if "CONSOLE" is used, the console runs the command.

If no player can be attributed to the trigger, placeholders involving a player will not work.