Plugin for automatic WorldGuard region.
When you enter the /rg claim command, a region with your nickname will be automatically created region with the same name already exists, then _1 _2 will be added at the end, and so on, automatic region is created in 7x7 chunks and from -64 height to 320, can be changed in the config.
Плагин для автоматического создания региона WorldGuard. Когда вы введете команду /rg claim, автоматически будет создан регион с вашим ником, если регион с таким же именем уже существует, в конце будет добавлено _1 _2 и так далее, автоматический регион создается размером 7x7 чанков и высотой от -64 до 320, можно изменять в конфигурации.
config.yml
# Claim settings
claim:
# Radius in chunks around the player's central chunk.
# 3 means 3 chunks in each direction + the central one = 7x7 chunks.
# Total size = (radius * 2 + 1) chunks.
radius: 3
# Claim height
min_y: -64
max_y: 320
# Plugin messages (supports & for colors)
messages:
no_permission: "&cYou do not have permission to create a claim."
world_not_supported: "&cRegions are not supported in this world."
overlap_error: "&cFailed to create claim: territory overlaps with other regions."
success: "&aRegion &e{region} &asuccessfully created!"
size_info: "&7Size: {size}x{size} chunks (from Y {min_y} to {max_y})."
only_players: "This command is only available to players."
save_error: "&cError saving region: {error}"