Compatibility
Minecraft: Java Edition
26.1
1.21.10–1.21.11
1.21.8
1.21–1.21.4
1.20.4
1.20.1
1.19.4
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published yesterday
LeraTrap
LeraTrap is a modern, feature-rich Minecraft trap plugin! Protect your base, manage your trap, party up with friends, and more!
Features
- Trap Management: Create, buy, and manage traps for your chunks!
- Trap Protection: Protect your trap from other players!
- TNT Damage System: TNT deals damage to traps!
- Trap Shop GUI: Buy available traps with in-game currency!
- Trap Balance: Deposit and withdraw money from your trap!
- Trap Settings GUI: Configure PVP, block placing/breaking, member taxes!
- Party System: Create parties, invite friends, teleport to party members!
- Friendly Fire Control: Toggle friendly fire in your party!
- PlaceholderAPI Support: Use placeholders for scoreboards, chat, etc.!
- Multilingual Support: Turkish (tr) and English (en) language packs!
- SQLite & MySQL Database Support: Save your trap data!
Commands
Trap Commands
| Command | Description | Permission |
|---|---|---|
/trap |
Open trap main menu | leratrap.use |
/trap toggle |
Open trap settings GUI | leratrap.use |
/trap deposit <amount> |
Deposit money to your trap | leratrap.use |
/trap withdraw <amount> |
Withdraw money from your trap | leratrap.use (Requires high rank) |
/trap info |
Show trap information | leratrap.use |
/trap leave |
Leave your current trap | leratrap.use |
/trap fly |
Toggle fly mode in your trap | leratrap.fly |
/trap kick <player> |
Kick a player from your trap | leratrap.use (Requires high rank) |
/trap rank <player> <rank> |
Set a player's trap rank | leratrap.use (Requires high rank) |
/trap trust add <player> |
Add a player to your trap | leratrap.use |
/trap trust remove <player> |
Remove a player from your trap | leratrap.use |
Party Commands
| Command | Description | Permission |
|---|---|---|
/party create or /parti create |
Create a party | leratrap.party |
/party setpassword <password> or /parti setpassword <password> |
Set party password | leratrap.party |
/party join <player> <password> or /parti join <player> <password> |
Join a party | leratrap.party |
/party tp <player> or /parti tp <player> or /ptp <player> |
Teleport to a party member (3-second countdown, cancelled if moved) | leratrap.party |
/party delete or /parti delete |
Delete your party | leratrap.party |
/party toggle friendly-fire or /parti toggle friendly-fire |
Toggle party friendly fire | leratrap.party |
Admin Commands
| Command | Description | Permission |
|---|---|---|
/trapadmin reload |
Reload the plugin | leratrap.admin |
/trapadmin list |
List all traps | leratrap.admin |
/trapadmin create |
Create a new sellable trap in the current chunk | leratrap.admin |
| `/trapadmin delete <trap_id | player>` | Delete a trap (either by ID or by player name) |
/trapadmin remove |
Remove the trap in the current chunk | leratrap.admin |
/trapadmin removeall |
Delete ALL traps on the server | leratrap.admin |
/trapadmin healty <trap_id> <amount> |
Set a trap's health | leratrap.admin |
/trapadmin chunkadd <trap_id> |
Add the current chunk to a trap | leratrap.admin |
/trapadmin chunkremove <trap_id> |
Remove the current chunk from a trap | leratrap.admin |
Permissions
| Permission | Description | Default |
|---|---|---|
leratrap.use |
Use basic trap commands | true |
leratrap.party |
Use party commands | true |
leratrap.admin |
Use admin commands | op |
leratrap.bypass |
Bypass trap protections | op |
leratrap.fly |
Fly in your own trap | op (change as needed for ranks) |
Installation
- Download the latest version of LeraTrap
- Put the
.jarfile in your server'spluginsfolder - Required Plugins:
- Vault (for economy support)
- An economy plugin (e.g., EssentialsX, CMI, etc.)
- Optional Plugins:
- PlaceholderAPI (for placeholders)
- Start or restart your server!
- Configure
plugins/LeraTrap/config.ymland language files inplugins/LeraTrap/lang/!
Configuration
config.yml
# Language: tr or en
language: tr
trap:
health_system_enabled: true
default_health: 15000.0
max_health: 15000.0
creation_cost: 10000.0
chunk:
max_chunks_per_trap: 3
pvp:
enabled_in_trap_areas: true
protect_trap_owner: false
allow_non_owner_pvp: true
friendly_fire: false
interaction:
allow_food_consumption: true
allow_consumables: true
restrict_specific_blocks_only: true
crafting_table_restricted: true
tnt_break_blocks: false
tnt_damage:
min: 50.0
max: 150.0
actionbar:
enabled: true
health_upgrades:
1000:
material: "REDSTONE_BLOCK"
cost: 10000.0
2000:
material: "DIAMOND_BLOCK"
cost: 20000.0
full:
material: "EMERALD_BLOCK"
cost: 50000.0
placeholders:
enabled: true
owner_format: "%owner%"
database:
type: "sqlite"
sqlite_file: "traps.db"
mysql:
host: "localhost"
port: 3306
database: "leratrap"
username: "root"
password: "password"
use_ssl: false
debug: false
Placeholders (PlaceholderAPI)
| Placeholder | Description |
|---|---|
%leratrap_trap_name% or %leratrap_name% |
Name of the trap you own/member of or "Trap Yok!" if none |
%leratrap_trap_healty% or %leratrap_health% or %leratrap_healty% |
Current health of your trap |
%leratrap_max_health% |
Maximum health of your trap |
%leratrap_owner% |
Owner of your trap |
%leratrap_chunk_count% |
Number of chunks in your trap |
Trapper Ranks
| Rank | Permissions |
|---|---|
| Leader (Owner) | All permissions, withdraw money, kick, set ranks, change settings |
| Assistant | Change settings, kick, add/remove members, set ranks (Assistant and below) |
| Chief | Add/remove members |
| Member | Basic access to trap |


