Creating and Managing Kits
Learn how to create, redeem and manage kits
This tutorial will help you create and manage kits
You will need
- A Sponge server, installed and running
See the Sponge quickstart guide if you require help creating a Sponge server.
If you have not yet installed or run Nucleus and need help with this, read the installation tutorial first.
These permissions can be found on the kits module page, but can be the nucleus.kit and nucleus.kits permissions for the purposes of this tutorial
Be very careful if you use the permissions suggested here. nucleus.kit includes the permission nucleus.kit.command.add.base , which allows you to create commands on kits that run as the server and can allow an attacker to take control of your server.
Creating and Managing Kits Learn how to create, redeem and manage kits This tutorial will help you create and manage kits You will need A Sponge server, installed and runningIf this tutorial does not answer all your questions about kits, you may find more information in the kit module pages
Creating and Managing Kits
Learn how to create, redeem and manage kits
Creating and Managing Kits – 4: Kit Commands
Commands in Kits
Viewing the commands in a kit
This requires you have the permission nucleus.kit.command.base
/kit command lists the commands, and if you have permission to remove commands, they can be removed from this list too.
Adding a command
Be VERY careful when allowing players to add commands to kits. Any command added to kits will be run as the SERVER, not the player. Such permissions can be misused and allow a rogue staff member to take over your server.
This requires you have the permission nucleus.kit.command.add.base .
The command to add a command to a kit is /kit command add , where the command should not start with a / , and anywhere you want to substitute the player’s name, you should add <
So, to broadcast a player’s name, you could write: broadcast <
Removing and clearing commands
This requires you have the permission nucleus.kit.command.remove.base .
To remove commands: /kit command remove To remove all commands: /kit command clear
We would normally recommend using the list to remove commands, but you can also type the full command to remove or use the (one-based) index from the /kit command list.
Creating and Managing Kits Learn how to create, redeem and manage kits Creating and Managing Kits – 4: Kit Commands Commands in Kits Viewing the commands in a kit This requires you ]]>