
Lobby4PvP
Enables interactive PvP in your lobby by simply holding a sword — safe, visual, and fully customizable with VIP gear, stats, and PlaceholderAPI support.
- Загрузки
- 433
- Подписчики
- 2
- Обновлён
- 30 мая 2026 г.
- Лицензия
- All-Rights-Reserved
Опубликован 28 октября 2025 г.
⚔️ Lobby4PvP — Interactive Lobby PvP System
A modern and lightweight PvP system designed for hubs and lobbies.
Lobby4PvP lets players enable PvP simply by holding a sword — no commands, no menus, just pure interaction.
When the sword is held, players automatically enter PvP mode and receive configurable armor, sounds, and effects.
Once released, PvP disables safely after a short delay, returning the player to lobby mode.
Everything is handled cleanly, with no duplication issues, plugin conflicts, or item loss.
✨ Main Features
- Interactive activation: Enable PvP instantly by holding your sword.
- VIP profiles: Custom weapons and armor for VIP players.
- Anti-duplication: Fully protected against exploits and ghost items.
- Visual feedback: ActionBar, BossBar, and chat notifications perfectly synced.
- Persistent stats: Kills, deaths, hits, and KDR stored safely in
stats.yml. - Config reload:
/lobby4pvp reloadrefreshes all settings live — safely. - Conflict override: Works seamlessly with WorldGuard, Essentials, PvPManager, and CombatLogX.
- PlaceholderAPI support: Full integration for scoreboards and tablists.
- bStats metrics: Anonymous statistics (ID 27655).
🔌 PlaceholderAPI Integration
Lobby4PvP includes full support for PlaceholderAPI, allowing you to display player PvP data anywhere — in scoreboards, holograms, menus, or tablists.
All placeholders are automatically registered when the plugin detects PlaceholderAPI at startup.
Available Placeholders
| Placeholder | Description |
|---|---|
%lobby4pvp_status% |
Shows whether the player currently has PvP mode enabled or disabled. |
%lobby4pvp_cooldown% |
Displays the remaining cooldown time before PvP can be re-enabled. |
%lobby4pvp_kills% |
Shows the player’s total kills in the lobby. |
%lobby4pvp_deaths% |
Shows the player’s total deaths in the lobby. |
%lobby4pvp_hits% |
Displays how many successful hits the player has landed. |
%lobby4pvp_kdr% |
Displays the player’s kill/death ratio (KDR). |
%lobby4pvp_vip% |
Returns true or false depending on VIP status. |
%lobby4pvp_version% |
Displays the current Lobby4PvP plugin version. |
Example usage
If your scoreboard or hologram plugin supports PlaceholderAPI (such as TAB, AjLeaderboards, DecentHolograms, etc.), you can directly use these placeholders.
⚙️ Commands & Permissions
| Command | Description | Permission |
|---|---|---|
/lobby4pvp |
Display plugin info | lobby4pvp.info |
/lobby4pvp reload |
Reload the configuration | lobby4pvp.reload |
| (VIP gear) | Access VIP sword and armor | lobby4pvp.vip |
💻 Compatibility & Config
config.yml
# ╔══════════════════════════════════════════════════════════════════════╗
# ║ Lobby4PvP — v1.8.6 ║
# ║ Enable PvP in your lobby by holding a sword. Safe, robust, fast. ║
# ╚══════════════════════════════════════════════════════════════════════╝
#
# QUICK HELP:
# • Reload everything live: /lobby4pvp reload
# • Text supports both legacy '&' colors and MiniMessage
# • Hotbar slots are 0..8 (0 = far left, 8 = far right)
# • Java 17+ plugin build; latest Paper 26.1.x servers require Java 25 at runtime
# • Invalid sounds, particles, materials, enchantments or out-of-range values warn in console and use safe runtime fallbacks
# • Empty lore lines like "" are valid and kept as intentional spacing
#
# REFERENCES:
# • Materials → https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# • Sounds → https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# • Particles → https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
# • Enchantments → https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
#
# NOTE ABOUT STATS:
# • Player stats (kills, deaths, hits) are stored persistently in 'stats.yml'.
# • No configuration is required; the file is created and maintained automatically.
#
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Core & Safety │
# └──────────────────────────────────────────────────────────────────────┘
debug: false # Extra console logs (useful for diagnosing conflicts)
check-for-updates: true # Notify in console if a new version is available
keep-inventory-on-death: true # Prevent drops/exp on death in the lobby (safe duels)
# ┌──────────────────────────────────────────────────────────────────────┐
# │ PvP Policy (scope & override) │
# └──────────────────────────────────────────────────────────────────────┘
pvp:
override-others: true # If true, Lobby4PvP can un-cancel other plugins' PvP blocks
# when BOTH players are in Lobby4PvP mode.
worlds: ["*"] # Where this plugin applies. ["*"] = all worlds.
# Example: ["lobby", "hub1"]
blocked-message: "&cPvP is blocked here."
# Shown to the attacker when damage is denied by policy.
# Supports legacy '&' colors and MiniMessage.
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Timers (seconds) │
# └──────────────────────────────────────────────────────────────────────┘
timers:
activate-seconds: 5 # Hold the sword for X seconds to enter PvP mode
deactivate-seconds: 10 # After releasing the sword, PvP disables after X seconds
cooldown-seconds: 0 # Wait time before enabling again (0 = off)
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Display (all channels are consistent) │
# └──────────────────────────────────────────────────────────────────────┘
display:
actionbar: true # Show progress/status in the action bar
bossbar: false # Show progress/status in a BossBar
chat: true # Also print clean, non-spam chat messages
bossbar-color: GREEN # GREEN, BLUE, RED, PURPLE, PINK, WHITE, YELLOW
bossbar-style: SOLID # SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Default Sword (non-VIP profile) │
# └──────────────────────────────────────────────────────────────────────┘
sword:
give-on-join: true # Give players the lobby sword on join
slot: 2 # Desired hotbar slot (0..8)
material: IRON_SWORD # Any valid Bukkit material
display-name: "&aLobby Sword"
lore:
- ""
- "&8-----------------------"
- "&oHold to enable PvP"
- "&oFun & safe duels in the lobby!"
- "&8-----------------------"
lock: true # Prevent moving/dropping plugin items (anti-dup)
enchantments:
- SHARPNESS:4
- UNBREAKING:4
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Default Armor (auto-equipped while PvP is ACTIVE) │
# └──────────────────────────────────────────────────────────────────────┘
armor:
helmet:
material: IRON_HELMET
display-name: "&aLobby Helmet"
lore: []
enchantments: ["PROTECTION_ENVIRONMENTAL:3"]
chestplate:
material: IRON_CHESTPLATE
display-name: "&aLobby Chestplate"
lore: []
enchantments: ["PROTECTION_ENVIRONMENTAL:3"]
leggings:
material: IRON_LEGGINGS
display-name: "&aLobby Leggings"
lore: []
enchantments: ["PROTECTION_ENVIRONMENTAL:3"]
boots:
material: IRON_BOOTS
display-name: "&aLobby Boots"
lore: []
enchantments: ["PROTECTION_FALL:4"]
# ┌──────────────────────────────────────────────────────────────────────┐
# │ VIP Profile (permission: lobby4pvp.vip) │
# └──────────────────────────────────────────────────────────────────────┘
vip:
enabled: true
permission: lobby4pvp.vip
sword:
enabled: true # If false, VIPs use the default sword profile
slot: 2 # Desired slot for VIP sword (can differ from non-VIP)
material: DIAMOND_SWORD
display-name: "&bVIP Lobby Sword"
lore:
- ""
- "&8-----------------------"
- "&oExclusive VIP sword"
- "&oHold to enable PvP"
- "&8-----------------------"
enchantments:
- SHARPNESS:5
- UNBREAKING:3
armor:
helmet:
material: DIAMOND_HELMET
display-name: "&bVIP Helmet"
lore: []
enchantments: ["PROTECTION_ENVIRONMENTAL:4", "UNBREAKING:3"]
chestplate:
material: DIAMOND_CHESTPLATE
display-name: "&bVIP Chestplate"
lore: []
enchantments: ["PROTECTION_ENVIRONMENTAL:4"]
leggings:
material: DIAMOND_LEGGINGS
display-name: "&bVIP Leggings"
lore: []
enchantments: ["PROTECTION_ENVIRONMENTAL:4"]
boots:
material: DIAMOND_BOOTS
display-name: "&bVIP Boots"
lore: []
enchantments: ["PROTECTION_FALL:4", "DEPTH_STRIDER:3"]
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Item Flags │
# └──────────────────────────────────────────────────────────────────────┘
items:
unbreakable: true # Make all plugin items unbreakable
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Effects │
# └──────────────────────────────────────────────────────────────────────┘
fx:
sound: ENTITY_PLAYER_LEVELUP # Played when enabling PvP
particle: CRIT_MAGIC # Spawned around the player when enabling PvP
disable-sound: ENTITY_ITEM_PICKUP # Played when disabling PvP
disable-particle: CRIT # Spawned around the player when disabling PvP
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Kill Celebration │
# └──────────────────────────────────────────────────────────────────────┘
kill-firework:
enabled: true
power: 1 # 1..4 (higher = higher flight)
# Safe-state recovery applied when PvP is manually disabled
safe-state:
auto-heal:
enabled: true
health: 20.0 # Clamped to the player's max health
auto-feed:
enabled: true
food-level: 20 # 0..20
saturation: 0.0 # 0.0..20.0
# ┌──────────────────────────────────────────────────────────────────────┐
# │ Messages (supports '&' colors and MiniMessage) │
# │ {seconds} is dynamically replaced │
# └──────────────────────────────────────────────────────────────────────┘
messages:
prefix: "&aLobby4PvP &8» "
enable: "&a&lPvP mode enabled.&r &7Prepare for battle."
disable: "&7PvP mode disabled. You are now safe."
hold: "&7Hold your sword for &f{seconds}s &7to enable &aPvP mode&7."
already-active: "&7PvP mode is already active."
deactivate-progress: "&7PvP mode will disable in &f{seconds}s&7."
deactivate-cancelled: "&7Deactivation cancelled."
cooldown: "&7Wait &f{seconds}s &7before enabling &aPvP mode&7 again."
world-pvp-disabled: "&cWorld PvP is globally disabled here. Lobby4PvP cannot enable combat in this world."
# ┌──────────────────────────────────────────────────────────────────────┐
# │ PlaceholderAPI formatting │
# │ Optional visual wrappers for numeric stats (use {value}) │
# │ Supports legacy '&' colors and MiniMessage │
# └──────────────────────────────────────────────────────────────────────┘
placeholders:
status:
enabled: "&aenabled"
disabled: "&cdisabled"
vip:
true: "&btrue"
false: "&7false"
stats:
kills: "&6⚔ {value}"
deaths: "&c✖ {value}"
hits: "&e☄ {value}"
kdr: "&aKDR: {value}"
- Minecraft: 1.18 → 26.1+
- Java: 17 or higher
- Supported Loaders: Paper, Spigot, Purpur, Bukkit (partial)
- Dependencies: PlaceholderAPI (necessary), bStats (included)
❤️ Designed for performance
Lobby4PvP was built to deliver a clean, lag-free lobby PvP experience.
It runs efficiently on modern Paper servers, automatically detects PvP conflicts, and adapts smoothly to configuration changes.
Simple to install, safe to use, and ready for your next network. ⚔️
Ченджлог
1.8.6Релиз26.1, 26.1.1, 26.1.2 · 30 мая 2026 г.
Update v1.8.6 — Compatibility, Stability & Hotfix Polish • Improved backward compatibility with older config files through safer auto-repair and validation. • Reduced false-positive config warnings, especially for valid sounds, particles, lore lines, and cross-version aliases. • Improved overall lobby PvP stability across joins, respawns, teleports, world changes, reloads, and external plugin interactions. • Refined managed sword, armor, and PvP-state handling to avoid stuck or inconsistent states. • Improved compatibility with both older Paper versions and the latest modern Paper API line. • Verified build compatibility across 1.18, 1.18.1, 1.18.2, 1.19.4, 1.20.6, 1.21.11, and source compatibility with Paper 26.1.x. • Focused entirely on hotfixes, polishing, compatibility, and safer release quality with no new gameplay features added.
1.8.5Релиз1.21.9, 1.21.10, 1.21.11 · 4 мая 2026 г.
Update v1.8.5 — Hotfix • Hotfix Update: focused on stability, compatibility, and final release polish without changing the core gameplay flow. • Better Plugin Compatibility: improved coexistence with DeluxeHub, WorldGuard, PvPManager, CombatLogX, Essentials, CMI, Multiverse-Core, Citizens, Duels, and major anti-cheats such as GrimAC, Vulcan, and Matrix. • Smarter PvP Handling: refined damage override behavior, external protection checks, and managed-state cleanup for safer lobby combat. • Multiworld Reliability: better handling when entering, leaving, or teleporting across managed and unmanaged worlds. • Inventory & State Safety: improved sword, armor, and external takeover handling to avoid stuck states or incorrect restores. • Config Auto-Repair: missing config paths are restored automatically with console warnings. • Config Validation: invalid values now warn clearly in console and use safe runtime fallbacks. • False Positive Cleanup: reduced unnecessary config warnings, including support for valid empty lore lines and cross-version particle aliases. • Safer Knockback Compatibility: more conservative compatibility knockback when strict anti-cheats are present. • Better Console Guidance: improved conflict-scan messages to help server owners configure common lobby plugin combinations correctly.
1.8Релиз1.21.9, 1.21.10, 1.21.11 · 2 мая 2026 г.
Update v1.8 — Compatibility, Polish & Message Modernization • Compatibility Expansion: full build support across Paper/Spigot 1.18-1.21.11 with a safer Java 17 baseline. • PvP Flow Polish: join, death, respawn, teleport, reload, and world-change handling refined for more consistent end-to-end behavior. • Inventory & Armor Safety: lobby sword and PvP armor handling hardened to prevent overwrites, bad restores, and state leaks. • Combat Accuracy: kills, deaths, hits, fireworks, and keep-inventory logic now apply only to valid Lobby4PvP combat. • Firework Fix: kill fireworks now launch upward correctly before detonating instead of exploding instantly on the victim. • Performance Hardening: reduced unnecessary inventory updates and moved stats saving to safer batched disk writes for busy servers. • Plugin Compatibility: improved coexistence with WorldGuard, PvPManager, CombatLogX, Essentials, and Duels-style plugins. • Smarter State Ownership: Lobby4PvP now yields managed lobby loadout state more safely when another plugin clearly takes control. • Update Checker Fix: version comparison is now accurate, and update notices are shown as warning-level console messages. • MiniMessage Support: configurable texts now support MiniMessage, hex colors, and legacy '&' formatting without breaking old configs. • Config Polish: BossBar is now disabled by default, and formatting support is documented more clearly in the config.
1.7Релиз1.21.9, 1.21.10, 1.21.11 · 8 января 2026 г.
Update v1.7 — Stability & Safety Hardening • VIP Sword Fix: players can no longer keep both normal and VIP swords — inventory state is always correct. • Anti-Duplication Hardening: full protection against item duplication via containers, hoppers, creative mode, crafting stations, armor stands, and pickups. • Reload Stability: /lobby4pvp reload is now fully safe — no ghost PvP states, no stuck BossBars, no orphaned tasks. • Timer & State Reliability: activation, deactivation, and cooldown logic refined for maximum consistency under heavy event spam. • Compatibility Expansion: improved coexistence with major protection and PvP plugins across large and small lobby servers. • Full support for Java 21 and Paper/Spigot 1.20.6–1.21+.
1.6.7Релиз1.21.8, 1.21.9, 1.21.10 · 28 октября 2025 г.
🛠️ Update v1.6.7 — Stable Override & Cooldown Fixes
• Cooldown Fix: cooldowns no longer reset when hitting or switching slots — fully stable timers. • Safer BossBar: improved cross-version compatibility (1.20.6–1.21+). • Improved PvP Override: stronger and faster control over WorldGuard, Essentials, PvPManager, and CombatLogX. • Reload++: /lobby4pvp reload now refreshes all timers, BossBars, and configs instantly with no ghost tasks. • Conflict Detection 3.0: clearer console logs for PvP plugin conflicts. • Polish: smoother activation/deactivation flow, cleaner debug output, and full Java 21 optimization. • Full support for Java 21 and Paper/Spigot 1.20.6–1.21+.
Комментарии
Загружаем…
