Skip to content
This repository was archived by the owner on Sep 26, 2018. It is now read-only.
Benjamin Forrás edited this page May 28, 2017 · 2 revisions

All of the flags are explained here.

Index

visible flag

Type:

Boolean

Description:

Show the kit in the gui

Example:

/kit flag myFirstKit visible true

Default value:

true

Back to top

firstjoin flag

Type:

Boolean

Description:

Do the player recieve the kit when joining?

Example:

/kit flag myFirstKit firstjoin false

Default value:*

false

Back to top

autoequiparmor flag

Type:

Boolean

Description:

Autoequip armor when using the kit?

Example:

/kit flag myFirstKit autoequiparmor true

Default value:

false

Back to top

free flag

Type:

Boolean

Description:

Does the player have to buy the kit to use it?

Example:

/kit flag myFirstKit free true

Default value:

false

Back to top

useonbuy flag

Type:

Boolean

Description:

When buying the kit, force the player to automatically use it?

Example:

/kit flag myFirstKit useonbuy true

Default value:

false

Back to top

clearinventory flag

Type:

Boolean

Description:

When using the kit it clears the player's inventory

Example:

/kit flag myFirstKit clearinventory false

Default value:

false

Back to top

itemsincontainer flag

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

Back to top

spewitems flag

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

Back to top

displayname flag

Type:

String

Description:

The displayname of the kit. ( Color char: & )

Example:

/kit flag myFirstKit displayname &4My&6First&aKit

Default value:

The kit's name

Back to top

perusecost flag

Type:

Integer

Description:

Every time the player uses the kit it takes away money

Example:

/kit flag myFirstKit perusecost 15

Default value:

0

Back to top

cost flag

Type:

Integer

Description:

Kit cost.

Example:

/kit flag myFirstKit cost 30

Default value:

0

Back to top

maxuses flag

Type:

Integer

Description:

The maximum amount of uses before the kit is disabled for the player.

Example:

/kit flag myFirstKit 10

Default value:

0

Back to top

delay flag

Type:

Double

Description:

Delay between uses in seconds.

Example:

/kit flag myFirstKit delay 60

Default value:

0.0

Back to top

icon flag

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

Back to top

firework flag

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

Back to top

customdescription flag

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

Back to top

commands flag

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

Back to top

messages flag

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

Back to top

disabledworlds flag

Type:

List<String>

Description:

The kit will be disabled in these worlds.

Example:

/kit flag myFirstKit world_nether,world_the_end

Default value:

empty

Back to top

potioneffects flag

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:

Default value:

empty

Back to top

particleeffects flag

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

Back to top

soundeffects flag

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

Back to top

Clone this wiki locally