Skip to content

Commands

The Lootbags plugin provides two commands: one for players and one for admins.


Aliases: /lb, /lootbag

Shows the help message listing available subcommands. No permission required.

View your personal lootbag statistics. Displays:

  • Total lootbags opened
  • Breakdown by rarity (Common, Uncommon, Rare, Epic, Legendary)
  • Total items received

Toggle the lootbag reveal page animation.

ArgumentValueDescription
animationon / trueEnable the animated reveal page when opening lootbags
animationoff / falseDisable animation — items go directly to inventory with a chat summary

Alias: /lbadmin

Shows the admin help message. Requires admin permissions.

Opens the in-game admin panel UI with tabs for Catalog, Give, Drops, Statistics, and Settings.

Give a lootbag item to yourself. To give to other players, use the admin panel’s Give tab.

ArgumentTypeRequiredDescription
itemIdStringYesThe lootbag item ID (e.g. Default_Lootbag, Golden_Lootbag_Legendary)
amountIntegerNoStack size. Defaults to 1.

Example:

/lbadmin give Golden_Lootbag_Legendary
/lbadmin give Shadow_Lootbag_Epic 5

/kslootbagsadmin edit <id> <property> <value>

Section titled “/kslootbagsadmin edit <id> <property> <value>”

Edit a lootbag definition via command. Changes are auto-saved to custom/custom_lootbags.json.

PropertyValueDescription
raritycommon / uncommon / rare / epic / legendaryChange the rarity tier
dupestrue / falseAllow duplicate pool picks
nameString (can contain spaces)Change the display name
picksIntegerSet the number of random pool picks
gadd<itemId> [amount]Add a guaranteed item
padd<itemId> [amount] [weight]Add a pool item (default weight: 10)
gdelRemove the last guaranteed item
pdelRemove the last pool item

Examples:

/lbadmin edit Default_Lootbag rarity rare
/lbadmin edit Default_Lootbag name My Custom Lootbag
/lbadmin edit Default_Lootbag picks 3
/lbadmin edit Default_Lootbag dupes true
/lbadmin edit Default_Lootbag gadd Food_Bread 5
/lbadmin edit Default_Lootbag padd Sword_Iron 1 25
/lbadmin edit Default_Lootbag gdel
/lbadmin edit Default_Lootbag pdel

Reload all lootbag configurations from disk. This reloads:

  • config.json — global settings
  • configs/lootbags.json — standard lootbag definitions
  • custom/custom_lootbags.json — custom overrides
  • configs/drop_tables.json — mob and block drop tables

List all registered lootbag definitions with rarity (color-coded) and display name.

Preview the contents of a lootbag definition. Shows rarity, type (Fixed/Random/Hybrid), and a simulated opening with resolved items.

The preview performs a simulated roll. Random pool results will vary each time.

Set the language for lootbag UI and messages. Works independently of Core.

ArgumentDescription
en-USEnglish
de-DEGerman
autoReset to auto-detect (client language)

Without arguments, shows the current language and available options.


CommandAliasPermissionDescription
/kslootbags/lb, /lootbagNoneShow help
/kslootbags statsNoneView personal stats
/kslootbags settings animation on|offNoneToggle reveal animation
/kslootbagsadmin panel/lbadmin panelAdminOpen admin panel
/kslootbagsadmin give <id> [amt]/lbadmin giveAdminGive lootbag to self
/kslootbagsadmin edit <id> <prop> <val>/lbadmin editAdminEdit lootbag definition
/kslootbagsadmin reload/lbadmin reloadAdminReload configs
/kslootbagsadmin list/lbadmin listAdminList all lootbags
/kslootbagsadmin preview <id>/lbadmin previewAdminPreview contents
/kslootbagsadmin lang <code>/lbadmin langAdminSet language