Kit Setup
Make kits, change them, give them a kit room, and sort them into categories.
Make a Kit
- Put the items in your inventory and hotbar, wear the armor and put an item in your offhand.
- Run
/kit create NoDebuff. Your inventory, armor, offhand and potion effects are saved. - Hold the item that should show the kit in menus and run
/kit seticon NoDebuff. - Optional: give it a menu name with
/kit setdisplayname NoDebuff <red>No Debuff.
<smallcaps> in a display name for small capital letters, or turn on small-caps.kit-names.
Change a Kit
/kit setinv NoDebuff # save your current inventory as the kit
/kit seticon NoDebuff # use the item in your hand as the icon
/kit setitem NoDebuff # use the item in your hand as icon and name
/kit load NoDebuff # put the kit in your inventory to edit it
/kit info NoDebuff # see the kit's settings
When you change a kit, players keep their own layouts. Run /kit deleteeditedkits NoDebuff to reset every player's layout to the new kit.
/kit delete removes the kit, all player layouts of it, and its arena links.
Kit Rules
Kits have rules like building, no fall damage, double jump, hunger and more. Kits can also be set to only show in ranked, duels or FFA. All of this is on its own page: Match Rules & Limits.
- Build kits need build arenas. See Build Arenas.
- Limit items and enchants players may take: Kit Limits.
- Rounds for queue matches:
/kit queuerounds NoDebuff 3. - Starting saturation:
/kit setsaturation NoDebuff 20. - Crafting table button in the kit editor:
/kit crafttable NoDebuff.
Potions at match start
The kit's splash potions (like Speed or Fire Resistance) can be thrown on the player when the match starts.
/kit matchstartpots NoDebuff scan # find the potions in the kit
/kit matchstartpots NoDebuff enable
/kit matchstartpots NoDebuff list
/kit matchstartpots NoDebuff disable
match-start-potions:
enabled: true
delay_seconds: 1
take-from-inventory: true # use the potion from the inventory
blocked-effects: [poison, slowness, weakness, instant_damage, ...]
TNT and creepers
/kit autoignite <kit> lights TNT right when it is placed, and makes creepers from spawn eggs explode right away. The player who placed them gets the kill. If a build kit's block list has flint and steel, fire charge, fire or TNT, players may also light fires.
BedFight kits
/kit bedwars <kit> turns a kit into BedFight. It also turns build on.
- Each team has a bed near its spawn. You cannot break your own bed. Explosions do not break beds.
- While your bed is alive, you come back after
bedfight.respawn-countdown-timeseconds. After it is broken, dying means you are out. - Right click fireballs to throw them. Placed TNT lights by itself when
bedfight.tnt.auto-igniteis true. - Settings are under
bedfight:inconfig.yml.
Bridge kits
/kit bridge <kit> turns a kit into Bridge.
- Jump into the other team's portal to score. The round ends and everyone goes back to their spawn.
- After a death, players wait
bridge.respawn-countdown-timeseconds in a cage at their spawn. - Bows have a cooldown (
bridge.bow-cooldown-seconds) shown on the XP bar. - Settings are under
bridge:inconfig.yml.
Kit Editor (for Players)
Players can move items around in their own copy of a kit. This does not change your kit.
/kiteditor # pick a kit
/kiteditor NoDebuff # edit NoDebuff right away
Players save with the save button or /kiteditor save. You can set a separate place for the editor with /sd setkiteditor. Editor settings are under kiteditor: in config.yml.
VIP players also get these tools in the editor and kit room:
- Armor trimmer:
shyamduels.practice.armortrimmer.use - Shield customizer:
shyamduels.practice.shieldcustomizer.use - Shulker box editor:
shyamduels.practice.shulkereditor.use - Enchant table:
shyamduels.practice.enchanttable.use
shyamduels.vip gives all four.
Kit Rooms
A kit room is a menu full of items. In the kit editor, players can take items from it to build their layout. You can make more than one kit room, so each kit can have its own items.
- Turn the kit room on for a kit:
/kit kitroom NoDebuff true. It opens thedefaultroom. - Fill the default room:
/sd edit-kitroom. Put items in the menu and close it. - To give a kit its own room, make one:
/sd kitroom create crystal. Add a room name at the end to copy it:/sd kitroom create crystal default. - Fill it:
/sd kitroom edit crystal - Link the kit to it:
/kit kitroom Crystal crystal
| Command | What it does |
|---|---|
/kit kitroom <kit> [true|false] | Turns the kit room on or off for a kit. |
/kit kitroom <kit> <room> | Turns it on and picks which room the kit opens. |
/sd edit-kitroom [room] | Edits a room. Without a name, the default room. |
/sd kitroom create <name> [copy-from] | Makes a room, empty or copied. |
/sd kitroom edit <room> | Edits a room. |
/sd kitroom delete <room> | Deletes a room. Its kits go back to the default room. The default room cannot be deleted. |
/sd kitroom list | Lists rooms and their kits. |
The default room is saved in menus/kitroom_items.yml. Other rooms are in menus/kitrooms/<room>.yml. The menu layout is menus/kitroom.yml. Kit limits also apply to items taken from a kit room.
Custom Kits
Players can build their own kits from items you pick.
/kitcreatoropens the builder./customkitsopens their custom kits, to play or edit.- You choose the items with
/sd edit-customkits. - You choose which match rules players may turn on: Custom Kit Rules.
custom-kits:
enabled: true
base-kit-name: custom
default-unlocked-kits: 3 # slots every player has
hide-from-public-menus: false
More slots need customkits.unlock.<slot> or customkits.unlock.all.
Kit Categories
With many kits, you can sort them into categories, like PotPvP or Sword. The menu then shows the categories first. A click on a category opens its kits. Kits not in a category still show in the main menu.
Categories work in the queue menu, the /duel kit menu, the kit editor and party menus. With no categories, menus look normal.
Make a category
- Make it:
/kit category create potpvp <red>PotPvP - Hold an item and set the icon:
/kit category seticon potpvp - Add kits:
/kit category addkit potpvp NoDebuff - Optional: put it in a fixed slot:
/kit category setslot potpvp 11(-1= automatic) - Optional: only show it to some players:
/kit category setpermission potpvp shyamduels.category.potpvp
To move your old kit order into a category, run /kit category importorder ranked Ranked Kits. It reads data/order.yml.
Category files
Each category has its own file in plugins/ShyamDuels/categories/<id>.yml. Edit it and run /kit category reload.
id: "potpvp"
display-name: "<gradient:#FF1D54:#FF7B00><b>PotPvP</b></gradient>"
slot: 11
permission: "" # empty = everyone can see it
icon:
material: SPLASH_POTION
# custom-model-data: 1001
# nexo: "potpvp_icon"
lore:
- "&7Potion fighting modes."
- ""
- "&fKits: &e<kits_count>"
- "&fQueued: &a<queued> &7| &fPlaying: &b<playing>"
kits: # this order is the order in the menu
- "NoDebuff"
- "Debuff"
# Optional own layout for this category's menu. Leave out to use menus/queue-kit.yml.
sub-menu:
enabled: true
title: "PotPvP Queue"
size: 54
border: RED_STAINED_GLASS_PANE
kit-slots: [10, 12, 14, 16] # skipped slots stay glass
An old single categories.yml file is still read.
Category lore placeholders
| Placeholder | Shows |
|---|---|
<category_name>, <name> | Category name |
<category_id>, <id> | Category id |
<kits_count>, <count> | Number of kits |
<queued> | Players queued in its kits |
<playing> | Players fighting in its kits |
<opponent>, <rounds> | Opponent and rounds, in the /duel menu |
Kit Commands
See Commands for every /kit and /kit category command.