-
Notifications
You must be signed in to change notification settings - Fork 1
Kits
I dont think i have to really explain what this does. It adds kits. The commands you need for kits are:
Usercommands:
- /kit Admincommands:
- /geilokit
The first thing you probably want to do is create a kit. You can do that with /geilokit create.
Syntax: /geilokit create <NAME>
. Replace name with the name of the kit you want to create.
Of course you can also delete kits. Use /geilokit delete for that.
Syntax: /geilokit delete <NAME>
. Replace name with the name of the kit you want to delete.
The next thing you will need to do is adding items to the kit. There are two ways of doing so. The first one is /geilokit addItem.
Syntax: /geilokit addItem <KIT_NAME> <REGISTRY_NAME> <METADATA> <COUNT>
. Replace KIT_NAME with the name of the kit you want to add the item to, REGISTRY_NAME with the regitry name for the item (you can get it with google or put it in your hand and do /rn), METADATA with the metadata of the item (You can use /rn for that too) and count is the number of items the player should get.
The other way is too add every item in your inventory. You can do that by simply using /geilokit addInv.
Syntax: /geilokit addInv <KIT_NAME>
. Just replace KIT_NAME with the kit.
This command automatically gets the correct metadata and count for every item in your inventory.
If you want to remove an item, you can do /geilokits delItem.
Syntax: /geilokit delItem <KIT_NAME> <REGISTRY_NAME>
. Replace KIT_NAME with the name of the kit and REGISTRY_NAME with the registry name of the item (use /rn to get the registry name).
You may also want to set a cooldown if you dont want the kit do be a one-time kit. Just do /geilokit setCooldown.
Syntax: /geilokit setCooldown <KIT_NAME> <COOLDOWN>
. Replace KIT_NAME with the name of the kit and COOLDOWN with the time you have to wait in order to use the kit again. You have to enter it in milliseconds. By default you can only use each kit one time.
If you only want to give player with a special rank or permission to be able to use the kit there is also a command for that. To add a permission do /geilokit addPerm.
Syntax: /geiloperm addPerm <KIT_NAME> <PERMISSION_NAME>
. Replace KIT_NAME with the name of the kit and PERMISSION_NAME with the permission name.
NOTE: You have to create the permission first and assign it to a rank. Look at Permission & Ranks for more informations.
To unassign a permission from a kit simply do /geilokit delPerm.
Syntax: /geilokit delPerm <KIT_NAME> <PERMISSION_NAME>
. Replace KIT_NAME with the name of the kit and PERMISSION_NAME with the name of the permission you want to unassign.
Now everyone who has a rank that has one of the permissions in the list assigned will be able to get the kit.
List gives you a list of all kits available and info gives you a more detailed information about a kit (Name, Cooldown, Items, Permissions needed, etc.)
Syntax: /geilokit list
and /geilokit info <KIT_NAME>
. Replace KIT_NAME with the name of the kit.
There are two subcommands of /kit. /kit info and /kit list. They do the exact same thing as /geilokit list and info. If you dont use /kit info or /kit list and instead put in the name of a kit you will get that kit (if you have the permissions for it and no cooldown is active).
Syntax: /kit list
and /kit info <KIT_NAME>
and /kit <KIT_NAME>
. Replace KIT_NAME with the name of the kit.