-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Justin_SGD edited this page Feb 1, 2026
·
19 revisions
JuByteCase generates these files inside plugins/CaseOpening/:
-
config.yml– general settings (timing, sounds, rarities, particles) -
cases.yml– cases and reward items -
inventory.yml– GUI layout for all menus (choose case, preview, animation, editor, ...) -
messages.yml– all messages & permissions keys -
commands.yml– command registration -
database.yml– database connection (H2Portable / MySQL / MariaDB) -
rarities.yml– optional rarity system
Tip: Most case content can now be managed via /case edit and /case rarity.
CaseLog: true
# Animation timing
Delay: 0.025
AddedDelay: 0.05
ChestGeneralTime: 14
# Item pool limits
MaxItems: 30
MinItems: 2
# Sounds
ChestSound1: ENTITY_ENDER_DRAGON_FLAP
ChestSound2: UI_BUTTON_CLICK
WinSound: ENTITY_PLAYER_LEVELUP
ForceCloseChestAfterWin: false
Rarities:
Enabled: false
PreviewLore:
- '&8&m----------------'
- '&7Seltenheit: {rarity}'
- '&7Chance: {chance}%'
CaseParticles:
Enabled: true
Particle: FLAME
Count: 1.5
Radius: 0.7
Height: 1.0
IntervalTicks: 1
RotationStep: 0.12-
Rarities.Enabledtoggles the rarity system - If enabled and a CaseItem has a
raritykey, the item’s chance will be taken fromrarities.yml -
PreviewLoreadds extra lines to preview items- placeholders:
{rarity},{chance}
- placeholders:
If enabled, particles are displayed around configured CaseBlocks.
-
Particlemust be a valid Bukkit particle -
IntervalTickscontrols the update speed -
Radius/Height/RotationStepshape the effect
rarities:
common:
displayName: '&aGewöhnlich'
chance: 70.0
rare:
displayName: '&9Selten'
chance: 25.0
legendary:
displayName: '&6Legendär'
chance: 5.0Rarity keys (e.g. common) can be assigned to a CaseItem as rarity: common.
inventory.yml controls all GUIs, including:
- ChooseCase (case menu)
- CasePreview (preview menu)
- MyCases (hidden cases)
- CaseAnimation (opening animation)
- Case Editor inventories (
/case edit) - Rarity Editor inventories (
/case rarity)
Because this file can be large, the recommended workflow is:
- change titles / sizes / filler items
- then adjust item slots and icons per menu
Contains:
- Prefix / general messages
- Command usage & permission nodes
- Announce/win messages
- Log messages & pagination
Placeholders used in messages can include:
{player}{case_amount}{caseDisplayName}-
{winItem}(Depends on message context.)