Kit Sharing & Profiles
Right click a player to see their profile, look at their kit layouts, and copy a layout with one click or a share code.
Player Profile
Right clicking another player in the lobby opens their profile. It has:
- Stats: PvP, match and kit stats.
- Public kits: their shared kit layouts.
- Send duel: opens the duel menu.
Players can also use /profile <player>. The menus are menus/profile.yml, menus/public-kits.yml and menus/kit-preview.yml (and dialog-menus/profile-stats.yml in dialog mode).
right-click:
enabled: true
action: profile # profile = open the profile, command = run the commands below
commands:
- "duel %clicked_player%"
Turning Sharing On
Each player chooses in /settings with Share Edited Kits. It is off by default (kit-sharing.default-enabled: false).
- On: other players can see and copy all your edited kits.
- Off: nobody can see or copy them, and your share codes stop working.
Share Codes
Every edited kit and every custom kit has its own 8 letter code, like 38RBJQ7P. The code stays the same. Make a new one with:
/kit regencode <kit>
Copying a Kit
# In the public kits menu: shift click a kit
# Or with a code:
/kit load <code>
Copying works only when the owner is online, has sharing on, the kit still exists, and it is not your own kit. The full layout is saved as your own layout of that kit.
kit-sharing:
default-enabled: false
strip-cosmetics-on-import: true # remove trims and banners if the player may not use them
import-cooldown-seconds: 30 # 0 = no wait between copies
Messages
All texts are in lang/messages.yml under kit-sharing:.
| When | Key |
|---|---|
| Copied | kit-sharing.import-success |
| Wrong code | kit-sharing.import-invalid-code |
| Owner offline | kit-sharing.import-owner-offline |
| Sharing off | kit-sharing.import-sharing-disabled |
| Kit deleted | kit-sharing.import-kit-removed |
| Own kit | kit-sharing.import-self |
| Too fast | kit-sharing.import-cooldown |
| No free custom kit slot | kit-sharing.import-no-slot |
| No kit found (regencode) | kit-sharing.no-kit-found, kit-sharing.no-edited-kit |