Defends loot from other players who dealt less damage than you

Supported Games
GameServerKingsGameServerKings
  1. The plugin is really useful for PVE projects (can be used for PVP I guess, I didn't try, it can be funny), because in PVE you cannot prevent other player from looting your "prey"
  2. Accounts damage dealt by players to helicopter/bradley/npc. Groups the damage by teams (if enabled)
  3. Shows damage report for all players involved into fight
  4. Allows player and allies who dealt minimum threshold damage to loot the crates/corpses
  5. Other players will not be allowed to loot
  6. Works for loot and gibs (mining is locked)
  7. Can disable fire on dropped crates (from heli and bradley)
  8. After configured timeout crates are unlocked for everyone

Functionality

Functionality has been redesigned to lock based on the first player or team to hit the minimum threshold set in the configuration file. Functionality to share loot based on top damage dealt has been removed.

Players cannot leave their team while fighting a bradley. They must destroy the bradley first. This prevents exploiting of the lockout mechanic.

Permissions

  • lootdefender.bypass.loot -- players with this permission will be allowed to loot anything
  • lootdefender.bypass.damage -- players with this permission will be allowed to damage anything
  • lootdefender.bypass.lockouts -- players with this permission will not receive a bradley lockout

Configuration

Bradley Settings

    • Messages
  • Broadcast Kill Notification To Chat (true)
  • Broadcast Kill Notification To Killer (true)
  • Broadcast Locked Notification To Chat (true)
  • Damage Lock Threshold (0.2)
  • Harvest Too Hot Until (0 = Never) (0.0)
  • Lock For X Seconds (0 = Forever) (30)
  • Remove Fire From Crates (true)
  • Lock Bradley From Personal Apc Plugin (true)

Helicopter Settings

    • Messages
  • Broadcast Kill Notification To Chat (true)
  • Broadcast Kill Notification To Killer (true)
  • Broadcast Locked Notification To Chat (true)
  • Damage Lock Threshold (0.2)
  • Harvest Too Hot Until (0 = Never) (0.0)
  • Lock For X Seconds (0 = Forever) (900)
  • Remove Fire From Crates (true)
  • Lock Heli From Personal Heli Plugin (true)

Hackable Crate Settings

  • Permissions (regular, elite, legend, vip defaults available with different hack times)Enabled (false)Lock For X Seconds (0 = Forever) (900)

Npc Settings

    • Messages
  • Broadcast Kill Notification To Chat (true)
  • Broadcast Kill Notification To Killer (true)
  • Enabled (true)
  • Damage Lock Threshold (0.2)
  • Lock For X Seconds (0 = Forever) (0)
  • Minimum Starting Health Requirement (0.0)
  • Block Looting Only (true)

Supply Drop Settings

  • Lock Supply Drops To Players (true)
  • Lock To Player For X Seconds (0 = Forever) (0.0)
  • Supply Drop Drag (1.0)
  • Show Thrown Notification In Chat (false)
  • Show Notification In Server Console (false)
  • Cargo Plane Speed (Meters Per Second) (40.0)
  • Bypass Spawning Cargo Plane (false)

Damage Report Settings

  • Use Teams (true)
  • Hex Color - Single Player (#6d88ff)
  • Hex Color - Team (#ff804f)
  • Hex Color - Ok (#88ff6d)
  • Hex Color - Not Ok (#ff5716)

Player Lockouts (0 = ignore)

  • Time Between Bradley In Minutes (0.0)
  • Lockout Entire Team (true)
  • Lockout Entire Clan (true)
  • Exclude Members Offline For More Than X Minutes (15.0)

Lockout UI

    • Bradley
  • Enabled (true)
  • Bradley Anchor Min (0.946 0.325)
  • Bradley Anchor Max (0.986 0.360)
  • Bradley Background Color (#A52A2A)
  • Bradley Text Color (#FFFF00)
  • Panel Alpha (1.0)
  • Font Size (18)

Discord Messages

  • Message - Webhook URL (https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
  • Message - Embed Color (DECIMAL) (3329330)
  • Embed_MessageTitle (Lockouts)
  • Embed_MessagePlayer (Player)
  • Embed_MessageMessage (Message)
  • Embed_MessageServer (Connect via Steam)
  • Chat ID (0)

Localization

Screenshots

Sorry, the screenshots are in Russian localization, but I hope you'll get the idea.

Credits

Egor Blagov - original authornivex - for maintaining the plugin

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.