If you're familiar with the game Rust, ClaimBlocks have a similar interface and mechanics as cupboards.
How it works
On the surface, ClaimBlocks allows players to protect a square radius of chunks. To pick up your ClaimBlock, simply right click it and select the remove button. If you own a ClaimBlock, you also have the ability to clear the authorization list.
Players can authorize themselves on another player's ClaimBlock by right clicking on the block and selecting the authorize button. The authorize button doubles as the indicator for whether or not a player is authorized.
Usage
Players can purchase ClaimBlocks of any tier using a simple command. Configuring a ClaimBlock is a simple as right clicking it. Players can use the same functionality to authorize themselves on another player’s ClaimBlock.
Installation
Simply drag and drop the jar file into your plugins folder.
Vault and an economy plugin are required for any economy features to function.
Requires Java 16
Configuration
ClaimBlocks is highly configurable, and includes the ability to change all text to your liking. Plugin configuration is simple and includes comments for easy interpretation.
Example config.yml
claimblock:
# block type
block: RED_WOOL
# Limit of claim blocks per player
# Permission claimblocks.admin to bypass
limit: 1
# Claim protection settings
protection:
# Players
block-break: true
block-burn: true
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/BlockFadeEvent.html
block-fade: true
# Players
block-place: true
# Prevent players to break claim blocks owned by other players
claimblock-break: true
# Block damage only
explosions: true
unauthorized-entity-damage: true
# Prevents player interaction
# Set to [] to disable
protected-blocks:
- CHEST
- DOOR
- LEVER
- BUTTON
# Requires vault and an economy plugin
economy:
# Allow the purchase of ClaimBlocks
enabled: true
# Max tiers supported: 2147483647
# Max cost is a tangible infinite
# Cost for every tier
cost:
- 1:1000.00
- 2:9000.00
- 3:27000.00
- 4:36000.00
- 5:45000.00
# Do not change
version: 0Commands
Player
/claimblocks - claimblocks.command
/claimblocks help - claimblocks.command
/claimblocks buy help - claimblocks.command.buy - List tiers and pricing
/claimblocks buy <tier> - claimblocks.command.buy
Admin
/claimblocks reload
/claimblocks give <player> <tier>
claimblocks.admin
claimblocks.*
Developer API
The plugin has various events you can use for your plugins. I will soon have gradle and maven support.
Possible future functionality
Upgrade tier
Leave suggestions in the discussion tab or in a review.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta