-
Notifications
You must be signed in to change notification settings - Fork 83
DungeonSign Command
Daniel Saukel edited this page Jun 16, 2021
·
3 revisions
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.
Wiki: © 2015-2021 Daniel Saukel and contributors, licensed under CC BY-SA (only unless otherwise stated)
- General information
- General setup and usage
- Dungeon setup
- Signs
- Game rules
- Linked dungeon configuration
- Dungeon world configuration
- Details
- Examples (WIP)
- Simple dungeon
- Bedwars TODO
- PVP arena TODO
- Mob arena TODO
- Tutorial TODO
- Data structure guide
- FAQ