How to Use
Creating a Command
- Execute
/dkcmd create <name> - Configure in
commands.yml - Add actions
- Set permissions
- Reload plugin
Example Configuration
heal:
permission: "dkcmd.use.heal"
cooldown: 60
cost: 100
actions:
- "[COMMAND] heal %player%"
- "[MESSAGE] &aYou have been healed!"
- "[SOUND] ENTITY_PLAYER_LEVELUP"
Action Types
[COMMAND]- Execute command[MESSAGE]- Send message[SOUND]- Play sound[TITLE]- Show title[ACTIONBAR]- Show action bar