General Settings
This page covers the general settings for items in the AdvancedItems plugin. These settings control various aspects of item behavior, such as stacking, usage limits, and world restrictions.
settings:
# Should items be stackable
disabledStacking: true
# Should item be used by owner only
# Owner is the person which receives item when given with commands
ownerOnly: false
# Usage limit
# Set to -1 to disable
usageLimit: -1
# Worlds in which this item cannot be used
restrictedWorlds:
- 'example_world'
# Should interactions be disabled? E.g. placing
disableInteractions: true
# Should inventory interactions with this item be disabled?
# If set to true, player won't be able to move this item in inventory
disableInventoryInteractions: falsedisabledStacking
disabledStackingDetermines whether items should be stackable or not.
Set to
trueto disable stacking, andfalseto enable stacking.
ownerOnly
ownerOnlyDetermines if the item should be usable by the owner only.
The owner is the person who receives the item when given with commands.
Set to
truefor owner-only usage, andfalseto allow anyone to use the item.
usageLimit
usageLimitSets a limit on the number of times the item can be used.
Set to
-1to disable usage limits.
restrictedWorlds
restrictedWorldsLists the worlds in which the item cannot be used.
Add world names to the list to restrict usage in those worlds.
disableInteractions
disableInteractionsDetermines whether interactions with the item should be disabled (e.g., placing).
Set to
trueto disable interactions, andfalseto enable them.
disableInventoryInteractions
disableInventoryInteractionsDetermines whether inventory interactions with the item should be disabled.
If set to
true, the player won't be able to move the item in their inventory.Set to
falseto allow inventory interactions.
Last updated
Was this helpful?