Fixes
• Fixed compilation error in ClaimBorderEffect (local variables in inner class must be final/effectively final).
• Fixed claim limit message: now uses effective limit (config + admin bonus) everywhere.
• Campfire block: listener now respects configured claim-tool material when checking placed block type.
Language & config
• Default server language can be set in
under
Code (Text):
language.default
(e.g.
for French). Use
Code (Text):
/terraguard reload
to apply. Clearer comments in config.
Admin commands
•
Code (Text):
/claim admin
or
Code (Text):
/claim admin menu
– opens the admin GUI (wilderness flags, reload, bypass). Permission:
Code (Text):
terraguard.admin.menu
.
•
Code (Text):
/claim admin give [player] [amount]
– gives claim block
items (placeable) to a player. Permission:
Code (Text):
terraguard.admin.give.claimblocks
.
Claim blocks (items)
• Claim blocks are now items you place to claim a chunk. By default players have 0 in stock.
• New config option
Code (Text):
claim-tool.give-on-command
(default:
): if
,
does not give a free item (players get claim blocks only via admin give or other means).
• Admins give placeable claim blocks with
Code (Text):
/claim admin give [player] [amount]
.
Claim create & campfire
• New command
Code (Text):
/claim create [name]
– creates a claim on your current chunk with the given name and gives you one Claim Campfire to place. Place the campfire in your claim to set the center and display the hologram.
• Breaking the claim’s campfire (the one with the hologram): you recover the campfire item, the hologram is removed, and the claim center is cleared. You can place the campfire again later to restore the center.
Technical
•
Code (Text):
BonusClaimsManager
and
Code (Text):
bonus-claims.yml
for optional admin bonus claim limit (if you use both item give and bonus limit in the future).
•
Code (Text):
createClaimCampfireItem()
in main plugin class for consistent campfire item creation (give + recovery on break).
-------------------------------------------
Short version (for small changelog box):
Fixes: ClaimBorderEffect compile fix, limit messages, campfire material from config. Language: default in config. Admin: /claim admin menu, /claim admin give (items). Claim blocks: stock 0 by default, give-on-command option. New: /claim create [name] + campfire; break campfire to recover item and remove hologram.