battlekits-config - Historical

Applied By LaxWasHere: Feb 2, 2018 at 3:11 AM

battlekits-config
Configuration Help
Code (Text):
#Global BattleKits settings
#Ignored if world-specific config exists
brand: "BattleKits"
settings:
  once-per-life: true
  auto-update: false #Ignored by world-specific config
  enable-restrictions: false #Ignored by world-specific config
  show-kit-info-on-respawn: true
  override-disable-respawn-kits: true
  instant-soup-drink: false
  clear-default: false
  converted: false #Is the kits.yml converted to Material enum
  locale: 'en' #Currently supports de. en. es. fr. it.
instant-soup-drink:
  type: 'MUSHROOM_SOUP' #MUSHROOM_STEW 1.13+
  replenish-type: hunger #Could be hunger/health
  remove-bowl: true #Should we remove the bowl after the soup is consumed
signs:
  enabled: true
  ignore-permissions: false
  ignore-costs: false
  ignore-world-restriction: false
  ignore-lives-restriction: false
  soupFillCost: 2.0
indirect:
  ignore-costs: false
  ignore-permissions: true
  ignore-world-restriction: false
  ignore-lives-restriction: false
killStreaks:
  enabled: true
  actionDefault: '!&c<player> has an amazing kill streak of &e<kills>&c!'
rewards:
  killCommands:
  - 'xp 1L <player>'
 
General Kit Format
The format for a kit is:

kits:
kitname: # Change to whatever name you'd like
items:
'0': 'item' # Item format below
'1': 'item' # Item format below
'2': 'item' # Item format below

All the way up to 35.

Item Format
When typing the items, type them like so:

'itemEnum:amount:durability enchantmentID:level'

The only section above that is required is the itemEnum. You may leave the amount and durability part out. If there is no amount, the default is 1.

If you want an enchantment, you must have both the Enchantment ID AND the level.

For potions, the format is itemNum:amount PotionType:duration:level

If you'd like an empty slot, just use a 0 or don't put the slot at all.

Armor
To add armor, all you need to do is type in the armor type!

For example:

kits:
kitname: # Change to whatever kit
items:
helmet: iron_helmet
chestplate: gold_chestplate
leggings: diamond_leggings
boots: leather_boots
offhand: SHIELD

The color codes for leather armor can be found here.

Slot Numbering

[​IMG]


Note: The plugin only handles slots 0-35.