Module: kit
Overview
This module allows creating a set of item stacks as a kit and distributing the kit to players.
Color Boxes
◉ Claim a specific kit automatically for online players.
You can use command_scheduler module, to execute the kit claim command for online players automatically every minute.
◉ Give the new-bie player a kit.
You can use command_event module, to give a kit to the new-bie player.
◉ Make a GUI to display all available kits.
You can integrate with the command_menu module.
To create a menu to display available kits, making it easier to claim a kit.
◉ Attach the kit claim command to objects.
You can integrate with command_attachment module.
To attach the kit claim command to a block, entity or item.
◉ Create a kit.
Issue: /kit editor to create a new kit.
◉ Give a kit to a player.
Issue: /kit give Alice <kit-name> to give a kit to a player.
◉ Create a user-level command, for players to claim a kit.
The /kit give command is a admin-level command, you should NOT allow players to use it directly.
TIP: You need to use command_bundle module to create a new user-level command, for players to claim a kit.
◉ Associate a cooldown to a kit.
You can use command_cooldown module, to create a named cooldown for the kit claim command.
To create a named cooldown
Issue: /command-cooldown create example-kit-cooldown 60000
To test the cooldown, and give the kit if the cooldown is satisfied.
You need to configure the try-use section for the named cooldown, and use /command-cooldown try-use to use it.
Commands
-
Command Syntax:
/kit editor -
Document: Open the kit editor GUI.
-
Can be executed by console:
false -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/kit give <ServerPlayerEntity player> <KitName kit> -
Document: Give the kit to the player.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/kit preview <ServerPlayerEntity player> <KitName kit> -
Document: Open a GUI to pre-view the specified kit.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
Argument Types
- Argument Type Name:
[kit-name] - Argument Type Class:
[KitName]