Combat Tag

Combat Tag Logo

The essential PvP plugin that prevents hit-n-quit players. No longer will the fun of killing other players be ruined!

Combat tag is a plugin that can prevent your players from pvp logging, period.
Reason why we developed this:
When your players are in the heat of battle, sometimes someone gets cold feet, and logs out while in combat!
This means that the player can no longer be harmed, because they are offline.
This can be EXTREMELY irritating to other players, because the person they were attacking, is now safe and keeps all of their items.

How it works:
Combat tag makes it impossible to pvp log!
When a player is struck by another player, combat tag logs it in its log.
If one of the players logs off within 10 seconds (time can be changed) of being struck, combat tag comes to play.
Combat tag makes it so that if the player logs off within the ten second field, he spawns an NPC with the same inventory/health as him.
The player that was attacking then can attack the NPC, and the same is done to the logged off player.
If the player kills the NPC, the player that logged off in combat is also killed, and drops everything in their inventory.
If the player causes damage to the NPC, the player that is logged off also takes the damage (including armor).

Video Demonstration: http://www.youtube.com/watch?v=g4G5MZmHA9A

Video tutorial español: http://www.youtube.com/watch?v=EXLi4vgJ-uc

Features:

  • Tracks players in combat
  • Custom tag time
  • Supports disabling in specified worlds
  • Supports disabling commands while in combat
  • Use /ct or /combattag to keep track of how long until combat is over

How to install:
Everything that is needed for an install should be located here:
http://dev.bukkit.org/server-mods/combat-tag/pages/setup/

Config:
Explanation of the config file options:
http://dev.bukkit.org/server-mods/combat-tag/pages/config-file/

Commands:
There are five commands:
All "ct" can be replaced with "combattag"

/ct = Check your remaining tag time
/ct reload = Reload Combat Tag's configuration file
/ct wipe = Wipes all npcs on the map
/ct command add /<command> = Adds command to blocked commands list
/ct command remove /<command> = Removes command from blocked commands list

Permissions:
There are currently four permission nodes:
Note: Ops automatically get permissions

combattag.ignore = Player does not get tagged and doesn't spawn npcs
combattag.ignore.pvplog = Player does get tagged, but doesn't spawn npcs
combattag.reload = Allow player to reload the Combat Tag configuration file
combattag.wipe = Allow player to wipe all npcs on the map
combattag.command = Allow player to modify disabled commands from in game
combattag.alert = Alert people with this permission of a person logging out while in pvp

Source:
https://github.com/cheddar262/Combat-Tag

Problems:
If you have any bugs or feature requests, go here!:
http://dev.bukkit.org/server-mods/combat-tag/tickets/

API:
If you wish to use the Combat Tag API:
http://dev.bukkit.org/server-mods/combat-tag/pages/using-the-api/

About Incompatibilities:
As with any plugin where fake players exist, there will be places where other plugins do not take into account the possibility of fake players and may have unexpected results. I can't change how other plugins handle these NPCs, so probably a good bet if you're getting random PvPLogger files is to change the npc name to "player." That way the player and the NPC will share the same files.

Known Incompatibilities:

  • Heroes in both instakill and NPC mode - No duplication of items, but players will respawn in their old location with the health they logged out at
  • ModifyWorld - Npcs will not take damage

Please put all bugs and feature requests here: http://dev.bukkit.org/bukkit-plugins/combat-tag/tickets/

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Techcable Techcable Jan 20, 2015 at 14:49 UTC - 0 likes

    @FejminTV: Go

    This is the wrong place to put questions about combat tag reloaded.

    Last edited Jan 20, 2015 by Techcable

    BFAK:90878902,1fcd60f130a6b9ead7175a27d35137146747bd9375fa7b95f513bb740aa0863e

  • Avatar of FejminTV FejminTV Jan 20, 2015 at 12:28 UTC - 0 likes

    I have spigot 1.8 and plugin doesn't work

    [13:21:00 ERROR]: Could not pass event PlayerQuitEvent to CombatTagReloaded v1.0.12
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:297) ~[craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.PlayerList.disconnect(PlayerList.java:299) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.PlayerConnection.a(PlayerConnection.java:801) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.NetworkManager.l(NetworkManager.java:229) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.ServerConnection.c(SourceFile:148) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.MinecraftServer.z(MinecraftServer.java:718) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.DedicatedServer.z(DedicatedServer.java:284) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.MinecraftServer.y(MinecraftServer.java:598) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at net.minecraft.server.v1_8_R1.v1_8_R1.MinecraftServer.run(MinecraftServer.java:506) [craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71]
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_8_R1/entity/CraftEntity
    at techcable.minecraft.combattag.libs.techcable.minecraft.npclib.nms.versions.v1_8_R1.NMS.getHandle(NMS.java:87) ~[?:?]
    at techcable.minecraft.combattag.libs.techcable.minecraft.npclib.nms.versions.v1_8_R1.NMS.getAsNPC(NMS.java:132) ~[?:?]
    at techcable.minecraft.combattag.libs.techcable.minecraft.npclib.nms.NMSRegistry.isNPC(NMSRegistry.java:79) ~[?:?]
    at techcable.minecraft.combattag.entity.CombatTagNPC.isNPC(CombatTagNPC.java:117) ~[?:?]
    at techcable.minecraft.combattag.CombatTagAPI.isNPC(CombatTagAPI.java:74) ~[?:?]
    at techcable.minecraft.combattag.listeners.PlayerListener.onQuit(PlayerListener.java:79) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_71]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_71]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:295) ~[craftbukkit-1.8-R0.1-SNAPSHOT.jar:git-Bukkit-96d09e3]
    ... 12 more
    
    Last edited Jan 20, 2015 by FejminTV
  • Avatar of cheddar262 cheddar262 Jan 20, 2015 at 09:52 UTC - 0 likes

    @c0wg0d: Go

    Combat Tag 6.1.4 would be the version that should work with 1.7.9, though there may be a change I don't know about within 1.7.9 itself. From what I can tell, it should function correctly.

    Creator of RedstoneJukeboxTrig Maintainer of Combat Tag BFAK:48921,667fbf1e43ddd4b663dc6af354e0421cbb6ae3b0a8a43d3189d22c73489f9080

  • Avatar of c0wg0d c0wg0d Jan 19, 2015 at 21:03 UTC - 0 likes

    Thank you for supporting version 1.8, but is there still a version we can get for 1.7.9?

  • Avatar of stelaar stelaar Jan 14, 2015 at 16:51 UTC - 1 like

    Thanks for Update!

  • Avatar of Techcable Techcable Jan 14, 2015 at 06:58 UTC - 0 likes

    Version 3.6.0 adds support for minecraft 1.8.

    I will be providing support for this update because cheddar262 is inactive.

  • Avatar of Techcable Techcable Jan 08, 2015 at 18:11 UTC - 0 likes

    @cheddar262: Go

    Combat tag reloaded isn't ready for use so I have updated combat tag to 1.8. Unlike combat tag reloaded, this is just update and adds no new features.

    See pull request #42

    I have a version available on my ci server here

    I am willing to update combat tag to the newest bukkit version until I get combat tag reloaded ready for use.

    Last edited Jan 08, 2015 by Techcable
  • Avatar of cheddar262 cheddar262 Jan 03, 2015 at 04:58 UTC - 0 likes

    As an official post, I will be porting Combat Tag to Sponge as it is released. I quite enjoy coding in it at the moment. Hopefully it continues to be that way and maybe I'll see some of you over there in the future.

  • Avatar of KevinEssence KevinEssence Dec 15, 2014 at 01:26 UTC - 0 likes

    @cheddar262: Go

    Thanks for the response, I hope to see you return, maybe even on spigot ;)

    KevinEssence Server owner at hub.prxcraft.com

    Kevin

  • Avatar of cheddar262 cheddar262 Dec 15, 2014 at 01:10 UTC - 0 likes

    As a final comment, I may attempt to switch over to Sponge when it is finally released in a fuller version, but that is yet to be decided.

Facts

Date created
Sep 25, 2011
Categories
Last update
Jan 14, 2015
Development stage
Release
Language
  • enUS
License
CC0
Curse link
Combat Tag
Downloads
155,462
Recent files

Authors