File Details
jakesworldguard-1.1.14.jar
- R
- Feb 24, 2026
- 303.37 KB
- 266
- 1.20.1
- Forge
File Name
jakesworldguard-1.1.14.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Updates for 1.1.14 Update
New Features
Default Currency Item (ITEM Price Type)
- Config: Added two new options under the
plotPricesection inconfig.toml:defaultItemSnbt— Stores the full default currency item as an SNBT string (supports NBT data). Managed via command, not manually edited.defaultItemOnly— Iftrue, ALL plots are forced to use the default item for payment; per-plot item overrides inchangepriceare ignored. ⚠ Server restart required when toggling this setting — it controls which command arguments are registered at startup.
- Command:
/wg plots manage setdefaultitem(OP only)- Hold any item in your main hand (including custom-named items, enchanted books, or any item with NBT data) and run this command to set it as the server-wide default currency item.
- The full NBT data of the item is captured and stored, enabling NBT-specific currency (e.g. only a specific custom-named diamond can be used).
- Running
/wg plots manage setdefaultitem clearremoves the default item. - The config file is automatically saved and reloaded after the command runs.
- Fallback: If a plot has no specific item set (via
changeprice) but a default item is configured, the default item is automatically used for payment. - NBT-Aware Payment: When claiming a plot, the system counts and deducts items using NBT-aware matching — the player must have the exact item (matching all NBT tags set on the default item).
changeprice — Quantity-Only Mode
- When
defaultItemOnly = true, the/wg plots manage changepricecommand no longer asks for an item — only a quantity.- Old syntax (normal mode):
/wg plots manage changeprice <plotId> <itemId> <amount>or... hand - New syntax (defaultItemOnly mode):
/wg plots manage changeprice <plotId> <amount>
- Old syntax (normal mode):
- The confirmation message shows the global default item's ID with a
(global default item)label so the OP can see exactly what players will need to pay with. - If
defaultItemOnlyisfalse, the command behaves exactly as before (item + amount, orhand).
Item-Based Rent and Bank
- Requirement: Item-based rent and bank features only activate if
priceType = "ITEM"ANDdefaultItemOnly = true. IfdefaultItemOnlyisfalse, the bank and rent system will continue to use money/SDMShop even if the price type is ITEM. - Plot Bank:
- When active,
/wg plots bank deposit <qty>and/wg plots bank withdraw <qty>handle the default currency item instead of money. - Deposits are NBT-aware; players must have the exact matching default item in their inventory.
- Withdrawals provide the exact item (including NBT) configured in the default settings.
/wg plots bank balanceshows the current item quantity in the plot's bank.
- When active,
- Rent Processing:
- Rent is deducted from the plot's item bank.
- Collected items are credited to the parent zone's item bank.
- Plot locking and owner notification work as before, but are based on item balance.
- Rent Info:
/wg plots rent infodisplays price and bank balance in items (e.g.,5 x minecraft:diamond) when in item mode.
- Rent Reset:
/wg plots manage rent reset [plotId](OP/Manager only): Fully resets a plot's rent status. It sets the rent amount to 0, unlocks the plot if it was locked, and resets the due date timer to a full period from now./wg plots manage rent reset-date [plotId](OP/Manager only): Resets only the due date timer and unlocks the plot, preserving the current rent amount.

