HomeJavaModsCombatManager
CombatManager
[​IMG]

Note: You need Vault for this plugin to work!​

A simple combat managing plugin, players will drop their items if they leave during combat.

Spoiler: Config
Code (YAML):
configVersion : 1

settings
:
  worlds
: # What worlds will the plugin work in
    - world
    - world_nether
    - world_the_end
    - ALL # Enable in all worlds

  dropInventory
: true # Drop inventory on combat log.
  dropArmor
: true # Drop armor on combat log.
  dropEXP
: true # Drop EXP on combat log.
  killPlayer
: true # Kill player on combat log.

  deniedItems
:
   - ENDER_PEARL
  denyItem
: "&8[&cCombatManager&8] &cItem usage denied in combat!"
  denyItemTitle
: "&cItem Usage Denied"
  denyItemSubtitle
: "&fCan't use in combat!"

  fly
: true # Can players while while combat tagged.

  # 0.05% is percentage based.
  # 1-5 is range based.
  # 1 is int based.
  # Disabled by default.
  deathPlayerMoney
: 0 # Money transfered to the killer.
  deathMoney
: 0 # Money lost on general death (Drowning, Falling).
  death
: "&8[&cCombatManager&8] &fYou lost &c$$amount&f for dieing!"
  deathPlayer
: "&8[&cCombatManager&8] &c$killer &fstole &c$$amount &ffrom killing you!"
  deathKiller
: "&8[&cCombatManager&8] &fYou got &c$$amount&f for killing &c$player&f!"

  teleport
: false # This will deny all forms of teleportation.
  denyTeleport
: "&8[&cCombatManager&8] &cYou can not teleport while in combat!"
  denyTeleportTitle
: "&cTeleport Denied"
  denyTeleportSubtitle
: "&fYou are in combat!"

  gamemode
: # Only effect players in these gamemodes.
    - SURVIVAL
    - ADVENTURE

  combatEntities
: # Entities that can put the player in combat.
    - PLAYER
    # - ZOMBIE
    # - ALL

  combatTime
: 25 # Time is seconds.
  addCombat
: "&8[&cCombatManager&8] &cCombat Tagged! &fDo not logout for &c$time &fseconds!"
  addCombatTitle
: "&cCombat Tagged"
  addCombatSubtitle
: "&fDon't logout!"
  removeCombat
: "&8[&cCombatManager&8] &aCombat Untagged! &fYou are free to log out."
  removeCombatTitle
: "&aCombat Untagged"
  removeCombatSubtitle
: "&fYou can now logout!"
  logoutCombat
: "&8[&cCombatManager&8] &c$player &flogged out while in combat!"
  commandCombat
: "&8[&cCombatManager&8] &cYou cant run this command while in combat!"
  commandCombatTitle
: "&cCommand denied!"
  commandCombatSubtitle
: "&fYou are in combat!"
  commandWhitelist
: true # If true the list will be a whitelist, if false it will be a blacklist.
  commandList
:
   - msg
    - m
    - tell
    - reply
    - r
    - help

Dependencies:
Vault

Usage:
Enter combat with a player or a mob entity (if defined in config). Don't logout or you will drop your items!

[​IMG]

Commands:
/combatmanager - Plugin info
/combatmanager reload - Reload command (OP)

Permissions:
combatmanager.bypass (False)
combatmanager.reload (OP)

Extra:
This is a new plugin and may have some bugs, please report them in the discussion. You are also welcome to request features! :)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CombatManager is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15. Downloaded 5,621 times (via Spigot). Download it and open it directly in the game.

Explore more