1.0.0
Compatibility
Changes
P_Terrenos
Plugin de terrenos avançado para servidores Spigot/Paper.
Focado em simplicidade para o jogador e controle total para o staff, com:
- Claim/expansão de terrenos por seleção (Pos1/Pos2)
- Sistema de economia flexível (P_Economia, Vault ou RoyaleEconomy)
- Cercas, placas e hologramas informativos
- Membros, CO-OP temporário e bloqueio de criação após convite
- Flags completas de proteção (PVP, explosões, água/lava, mob grief, etc.)
- Integração opcional com WorldGuard e PlaceholderAPI
- Menus GUI para gerenciamento de terrenos e flags
📦 Requisitos
- Servidor: Spigot/Paper 1.16+ (recomendado ou superior compatível)
- Java: 17+ (ou a mesma versão usada pelo seu servidor)
- Dependências (opcionais, mas recomendadas):
- [PlaceholderAPI] – para placeholders
- [Vault] – se quiser usar qualquer economia via Vault
- P_Economia ou RoyaleEconomy – economias nativas suportadas
💡 O plugin tenta se integrar automaticamente com P_Economia → Vault → RoyaleEconomy, nessa ordem, quando
economy.provider: AUTO.
⚙️ Instalação
- Baixe o P_Terrenos.jar.
- Coloque o arquivo em:
plugins/P_Terrenos.jar - Inicie o servidor para gerar a pasta e arquivos de configuração:
/plugins/P_Terrenos/ ├─ config.yml ├─ menu.yml └─ flags_menu.yml
🛡️ Flags de proteção
As flags são salvas por terreno e usadas nas verificações de permissão.
Algumas flags (nomes deduzidos do código):
Acesso geral
ALLOW_VISITORS_ENTRY – permite ou não entrada de visitantes.
PVP – ativa/desativa PvP no terreno.
Membros
MEMBERS_BUILD
MEMBERS_INTERACT
MEMBERS_CONTAINERS
MEMBERS_DOORS
CO-OP
COOP_BUILD
COOP_INTERACT
COOP_CONTAINERS
COOP_DOORS
Outras proteções
BLOCK_EXPLOSIONS
BLOCK_EXPLOSION_ENTITY_DAMAGE
BLOCK_MOB_GRIEF
BLOCK_FIRE_SPREAD
BLOCK_LAVA_FLOW
BLOCK_WATER_FLOW
BLOCK_MOB_SPAWN
Checagens principais
LandManager expõe os métodos:
canBuild(player, loc)
canInteract(player, loc)
canOpenContainer(player, loc)
canUseDoor(player, loc)
canEnter(player, loc)
isPvpAllowed(loc)
blockExplosions(loc)
blockExplosionDamage(loc)
blockMobGrief(loc)
blockFire(loc)
blockLavaFlow(loc)
blockWaterFlow(loc)
blockMobSpawn(loc)
Ordem de decisão típica:
P_Terrenos
Advanced land/claim plugin for Spigot/Paper servers.
Focused on simple gameplay for players and full control for staff, with:
- Claim/expand lands using a selection (Pos1/Pos2)
- Flexible economy system (P_Economia, Vault or RoyaleEconomy)
- Fences, signs and informative holograms
- Members, temporary CO-OP and creation lock after invite
- Full protection flags (PVP, explosions, water/lava, mob grief, etc.)
- Optional integration with WorldGuard and PlaceholderAPI
- GUI menus for land management and flags
📦 Requirements
- Server: Spigot/Paper 1.16+ (or newer compatible version)
- Java: 17+ (or the same version your server uses)
- Optional, but recommended:
- [PlaceholderAPI] – for placeholders
- [Vault] – if you want to use any Vault-compatible economy
- P_Economia or RoyaleEconomy – natively supported economy plugins
💡 When
economy.provider: AUTO, the plugin tries to hook in this order: P_Economia → Vault → RoyaleEconomy.
⚙️ Installation
- Download P_Terrenos.jar.
- Drop it into:
plugins/P_Terrenos.jar - Start the server to generate plugin folder and config files:
/plugins/P_Terrenos/ ├─ config.yml ├─ menu.yml └─ flags_menu.yml
🛡️ Protection flags
Flags are stored per land and used by all permission checks.
Examples (names inferred from code):
General
ALLOW_VISITORS_ENTRY – allow or deny entry for visitors.
PVP – enable/disable PvP inside the land.
Members
MEMBERS_BUILD
MEMBERS_INTERACT
MEMBERS_CONTAINERS
MEMBERS_DOORS
CO-OP
COOP_BUILD
COOP_INTERACT
COOP_CONTAINERS
COOP_DOORS
Other protections
BLOCK_EXPLOSIONS
BLOCK_EXPLOSION_ENTITY_DAMAGE
BLOCK_MOB_GRIEF
BLOCK_FIRE_SPREAD
BLOCK_LAVA_FLOW
BLOCK_WATER_FLOW
BLOCK_MOB_SPAWN
Main check methods
From LandManager:
canBuild(player, loc)
canInteract(player, loc)
canOpenContainer(player, loc)
canUseDoor(player, loc)
canEnter(player, loc)
isPvpAllowed(loc)
blockExplosions(loc)
blockExplosionDamage(loc)
blockMobGrief(loc)
blockFire(loc)
blockLavaFlow(loc)
blockWaterFlow(loc)
blockMobSpawn(loc)
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:nI0Pcy9r:g9Wstbyy"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:nI0Pcy9r:g9Wstbyy"
}

