CombatLogX - Historical

Applied By SirBlobman: Thursday at 7:09 PM

CombatLogX
Plugin Information
CombatLogX is a plugin that prevents players from logging out during combat. There are many expansions that add features and you can create your own expansions as well.

The author for this plugin is SirBlobman
The source code can be found here: GitHub Source


Feature Expansions

Cheat Prevention
Cheat Prevention is an expansion that prevents players from doing certain things during combat. The configuration file can be found at /plugins/CombatLogX/expansions/Cheat Prevention/cheat prevention.yml.

This expansion allows you to do the following things:
  • Prevent teleportation during combat
  • Allow specific teleports in combat (e.x: plugins, ender pearls)
  • Restart the combat timer when an ender pearl is thrown
  • Prevent flying during combat
  • Prevent elytra usage during combat
  • Re-enable flight after combat (with a permission)
  • Change the player's gamemode when they get tagged
  • Block or allow certain commands (can be switched to whitelist mode)
  • Block certain potion effects in combat
  • Close a player's inventory when they are tagged
  • Prevent players from opening chests/menus
  • Prevent players from sending chat messages
  • Prevent block breaking and placing
  • Prevent items from being picked up or dropped

This expansion does not prevent hackers from doing these things since they may bypass the checks.

NotCombatLogX
NotCombatLogX is an expansion that puts players into combat for non-combat damage. The configuration file found at /plugins/CombatLogX/expansions/not.yml lets you toggle what types of damage causes players to be tagged.

The following types of damage can be toggled:
  • All Damage
  • CONTACT: Damage from touching a cactus
  • SUFFOCATION: Getting stuck in a wall or inside of a block
  • FALL: Falling on the ground or from an enderpearl
  • FIRE: Touching a fire block
  • FIRE_TICK: Being on fire
  • LAVA: Swimming in lava
  • DROWNING: Staying under water too long
  • BLOCK_EXPLOSION: Explosions from tnt or plugins (not creepers)
  • STARVATION: Not eating enough food
  • POISON: Potion effect
  • MAGIC: Instant Damage Potion
  • WITHER: Wither Boss or Wither Skeleton potion effect
  • FALLING_BLOCK: Anvil falling on your head
  • CUSTOM: Damage caused by plugins or custom mods
  • FLY_INTO_WALL: Hitting a wall/mountain/tree while using elytra
  • HOT_FLOOR: Magma block damage
  • CRAMMING: Getting stuck with too many other entities


Notifier
Notifier is an expansion that shows the player their combat timer. This expansion requires the "Placeholder Compatibility" expansion to work properly. The configuration for this expansion can be found at /plugins/CombatLogX/expansions/Notifier/notifier.yml.

This expansion lets you do the following things:
  • Enable/Disable action bar timer information
  • Change the format of the action bar
  • Enable/Disable boss bar information (requires BossBarAPI in 1.8.8 or below)
  • Change the color, style, and format of the boss bar
  • Enable/Disable the scoreboard information
  • Enable/Disable FeatherBoard triggers for the scoreboard
  • Change the format and title of the scoreboard

Rewards
Rewards is an expansion that executes commands after a player kills a mob/player. The configuration for the Rewards expansion can be found at /plugins/CombatLogX/expansions/Rewards/rewards.yml.

This expansion lets you do the following things:
  • Create custom rewards
  • Each custom reward can be configured for a specific world
  • Each custom reward can have specific commands
  • The commands can have placeholders called {player} and {killed}


Compatibility Expansions

Citizens Compatibility
This expansion lets you spawn NPCs for players instead of killing them
Requirements: Citizens and Sentinel

You can do the following things:
  • Cancel or enable the other punishments (e.g. kill, commands, etc...)
  • Change the NPC type to any entity
  • Store the loggers inventory into the NPC (required PLAYER npc type)
  • Allow mobs to target combat NPCs
  • Change the amount of time an NPC survives before disappearing
  • Reset the survival time if an NPC takes damage or its enemy is still alive
  • Prevent the original player from logging in if the NPC is still alive
  • Retag players if their NPC was still alive when they joined

If you have Sentinel installed, you can also do these things:
  • Turn combat npcs into sentinels
  • Make the NPC attack first


Placeholder Compatibility
This expansion enables placeholders in Notifier and allows MVdWPlaceholderAPI and PlaceholderAPI to use placeholders from CombatLogX.

The following placeholders are available:
  • combatlogx_time_left: Get the time left in combat
  • combatlogx_enemy_name: The name of the enemy being fought
  • combatlogx_enemy_health: How much health the enemy has left
  • combatlogx_enemy_health_rounded: The health of the enemy rounded to the nearest integer
  • combatlogx_enemy_hearts: Hearts that the enemy has left (health / 2)
  • combatlogx_enemy_status: Fighting/Idle
  • combatlogx_enemy_in_combat: Is the player in combat? (Yes or No)

Factions Compatibility

Lands Compatibility

Parties Compatibility

Residence Compatibility

WorldGuard Compatibility
This expansion allows you to prevent players from entering certain regions during combat.

Region Flags:
pvp: deny - prevent players that are fighting each other from entering the region
mob-combat: deny - prevent players that are fighting mobs from entering the region

No Entry Modes:
CANCEL - Prevent the player from moving into the area.
TELEPORT - Teleport the player to their enemy.
KNOCKBACK - Gives the player a strong push backwards (knockback power configurable)
KILL - Instantly set the player's health to 0 if they try to enter the area
VULNERABLE - The fight can continue, even if the region is set to pvp deny

Force Field:
There is also an option for a force field (made by Olivo).
This option places fake blocks around the border of the region that prevents players from entering