-
Notifications
You must be signed in to change notification settings - Fork 4
Flags
All of the flags are explained here.
- visible flag
- firstjoin flag
- autoequiparmor flag
- free flag
- useonbuy flag
- clearinventory flag
- itemsincontainer flag
- spewitems flag
- displayname flag
- perusecost flag
- cost flag
- maxuses flag
- delay flag
- icon flag
- firework flag
- customdescription flag
- commands flag
- messages flag
- disabledworlds flag
- potioneffects flag
- particleeffects flag
- soundeffects flag
Type:
Boolean
Description:
Show the kit in the gui
Example:
/kit flag myFirstKit visible true
Default value:
true
Type:
Boolean
Description:
Do the player recieve the kit when joining?
Example:
/kit flag myFirstKit firstjoin false
Default value:*
false
Type:
Boolean
Description:
Autoequip armor when using the kit?
Example:
/kit flag myFirstKit autoequiparmor true
Default value:
false
Type:
Boolean
Description:
Does the player have to buy the kit to use it?
Example:
/kit flag myFirstKit free true
Default value:
false
Type:
Boolean
Description:
When buying the kit, force the player to automatically use it?
Example:
/kit flag myFirstKit useonbuy true
Default value:
false
Type:
Boolean
Description:
When using the kit it clears the player's inventory
Example:
/kit flag myFirstKit clearinventory false
Default value:
false
Type:
Boolean
Description:
When using the kit, the player will recieve a chest with the items.
Example:
/kit flag myFirstKit itemsincontainer true
Default value:
false
Type:
Boolean
Description:
When using the kit, if there's not enough space spew the items next to the player
Example:
/kit flag myFirstKit spewitems true
Default value:
false
Type:
String
Description:
The displayname of the kit. ( Color char: & )
Example:
/kit flag myFirstKit displayname &4My&6First&aKit
Default value:
The kit's name
Type:
Integer
Description:
Every time the player uses the kit it takes away money
Example:
/kit flag myFirstKit perusecost 15
Default value:
0
Type:
Integer
Description:
Kit cost.
Example:
/kit flag myFirstKit cost 30
Default value:
0
Type:
Integer
Description:
The maximum amount of uses before the kit is disabled for the player.
Example:
/kit flag myFirstKit 10
Default value:
0
Type:
Double
Description:
Delay between uses in seconds.
Example:
/kit flag myFirstKit delay 60
Default value:
0.0
Type:
ItemStack
Description:
Item to display in the gui
Example:
/kit flag myFirstKit icon hand
Note:
It will copy the item in your hand
Default value:
EMERALD_BLOCK
Type:
ItemStack
Description:
When using a kit, this firework will trigger.
Example:
/kit flag myFirstKit firework hand
Note:
It will copy the item in your hand.
Default value:
FIREWORK
Type:
List<String>
Description:
List of custom lore's in the gui when hovering over the kit.
Example:
/kit flag myFirstKit customdescription &6Custom lore,&7Player name: &a%player_name%
Default value:
empty
Type:
List<String>
Description:
List of commands which will run when the player used the kit
Example:
/kit flag myFirstKit commands heal %player_name%,give %player_name% gold_block 1
Default value:
empty
Type:
List<String>
Description:
List of messages which will be sent to the player.
Example:
/kit flag myFirstKit title:&6This is a title,&7actionbar:This is an actionbar
Note:
- Show title:
title:message - Show subtitle:
subtitle:message - Show actionbar:
actionbar:message - Simple chat message:
message
Default value:
empty
Type:
List<String>
Description:
The kit will be disabled in these worlds.
Example:
/kit flag myFirstKit world_nether,world_the_end
Default value:
empty
Type:
List<PotionEffects>
Description:
List of Potioneffects which will be added to the player.
Example:
/kit flag myFirstKit REGENERATION;1500;15,LUCK;1550;5
Note:
- Syntax: effect;duration;amplifierEffect:
- Effect: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
- Duration: in ticks
Default value:
empty
Type:
List<ParticleEffects>
Description:
List of ParticleEffects which will be shown the the player when using the kit.
Example:
/kit flag myFirstKit EXPLOSION_LARGE,FIREWORKS_SPARK
Note:
Available values: https://docs.inventivetalent.org/particleapi/
Default value:
empty
Type:
List<Sound>
Description:
List of Sounds which will be played for the player.
Example:
/kit flag myFirstKit UI_BUTTON_CLICK,BLOCK_WOOD_BREAK
Note:
Available values: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
Default value:
empty
Install (TODO) | Commands | Permissions | Flags