Combat Tag
This plugin is unsupported!!! Use CombatTagPlus instead.
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
Video Tutorial italiano: https://www.youtube.com/watch?v=kVixSdjBXvw
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/TechzoneMC/CombatTagLegacy/
Problems:
If you have any bugs or feature requests, go here!:
https://github.com/TechzoneMC/CombatTagLegacy/issues
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
https://github.com/TechzoneMC/CombatTagLegacy/wiki/Feature-ComparisonFeature Comparison
-
View User Profile
-
Send Message
Posted Feb 12, 2013@levisn1
Please post a ticket and make sure to include your settings file.
-
View User Profile
-
Send Message
Posted Feb 12, 2013@cheddar262
I see but trust me I'm not simply making this up ;) There were 500 entities on 1 spot. I killed the only thing on that chunk, in this case a PVP logger. He dropped 500 items and the entities were gone.
When I tried to recreate it, it was 1 entity as it should be so let's assume it was a fluke. I just wanted you to be aware of a potential bug.
-
View User Profile
-
Send Message
Posted Feb 11, 2013Im using the latest version at the moment, and my players still can do /fly or /vanish in pvp..please fix this.
-
View User Profile
-
Send Message
Posted Feb 11, 2013@Nikecow
It was possible, however with updates to my system breaking the functionality and lack of interest, I've removed that feature.
The items should be stored in the same way as would a normal player. Can I see what you are referring to, maybe a screenshot of entity counts or something?
Edit: Here's my findings:
http://i.imgur.com/jElMfH3.jpg
http://i.imgur.com/6aMypFK.jpg
As you can see, there is only a 1 entity difference between a player with a full inventory and an npc with a full inventory, if any. This one difference, if it exists, should have no effect on a server, even if it was highly populated.
-
View User Profile
-
Send Message
Posted Feb 11, 2013@matthiasvd2
Same here. And this is why.
IMPORTANT: My server had extreme lag lately. I figured out why. When a player pvplogs with a lot of items in his inventory an npc is created. However all the items in his inventory seemed to be counted (in that particular case!) as a seperate entity creating mega lag. We are talking about 500-2000 entities on a 1x1 spot! I don't know if this was normal but if it was, this should be changed as soon as possible.
This server is running CraftBukkit version git-Spigot-512 (MC: 1.4.7) (Implementing API version 1.4.7-R1.1-SNAPSHOT) Combattag: 5.7.0.
ps. Is is possible now to despawn an npc after a certain amount of time ? According to the config its not.
-
View User Profile
-
Send Message
Posted Feb 11, 2013It's a good plugin but it makes my server lagging as hell (if i have all the players online)
-
View User Profile
-
Send Message
Posted Feb 10, 2013Hey i have a plugin that spawns an Npc on death so in the Quit event i put npcm.despawnHumanByName(e.getPlayer().getName()); But i get a NPE how would i be able to fix it?
-
View User Profile
-
Send Message
Posted Feb 10, 2013@dotapurex1
disabledCommands=[/tp,/home,/f home]
-
View User Profile
-
Send Message
Posted Feb 10, 2013In what format do i use to disable commands? Like i want to disable /tp, /home, /f home etc? How would it look like in the config?
Thanks!
-
View User Profile
-
Send Message
Posted Feb 10, 2013@IvViral
I'll have to find a way to do that, but please submit a ticket and I would be happy to look into it.
-
View User Profile
-
Send Message
Posted Feb 10, 2013Perhaps, add an option for factions support, where if a player returns to safezone after being tagged, they are still damageable until the tag runs out, however the tag timer can't be "refreshed" once in a safezone?
I think this would be an excellent idea, and you could leave it as a toggle-able option.
-
View User Profile
-
Send Message
Posted Feb 10, 2013Currently uploading Combat Tag v5.7.1 [1.4.7 CB #2606 AND HIGHER]
New in 5.7.1: + Fixed NullPointerException in PlayerInteractEvent
From 5.7.0: + Added onlyDamagerTagged and blockEnderPearl as config options + Added to API the ability to tag players from other plugins + Updated and fixed some blocked command issues - Removed extraneous code
If you do have errors or bugs, please report them by submitting a ticket. The faster you do, the faster I can fix them.
Known issue: If a player logs off in a world other than the main world, the plugin will produce an error and not rename the npc. I'm working on fixing this issue, but it will probably take a while. This should not break main plugin functionality.
Direct download link: http://dev.bukkit.org/media/files/671/781/CombatTag.jar
-
View User Profile
-
Send Message
Posted Feb 10, 2013@deaddude22
I believe I've found a fix for this. The cause, I believe, is that while you are punching a block, you right click. I believe that throws the error and will reset the punching. I believe this is an error in bukkit code, but I have made a quick workaround that should have fixed the issue. I will be uploading the file in about an hour unless I find something else that is wrong that I can reproduce.
-
View User Profile
-
Send Message
Posted Feb 10, 2013@killerjezza
That's a new error to me. Thanks for reporting it. I'll take a look.
-
View User Profile
-
Send Message
Posted Feb 10, 2013PM CONSOLE: [SEVERE] at java.lang.Class.getDeclaredMethod(Unknown Source) 3:19:05 PM CONSOLE: [SEVERE] at com.topcat.npclib.NPCManager.rename(NPCManager.java:218) 3:19:05 PM CONSOLE: [SEVERE] at com.trc202.CombatTagListeners.NoPvpPlayerListener.onPlayerQuit(NoPvpPlayerListener.java:96) 3:19:05 PM CONSOLE: [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 3:19:05 PM CONSOLE: [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 3:19:05 PM CONSOLE: [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 3:19:05 PM CONSOLE: [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 3:19:05 PM CONSOLE: [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 3:19:05 PM CONSOLE: [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 3:19:05 PM CONSOLE: [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 3:19:05 PM CONSOLE: [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.PlayerList.disconnect(PlayerList.java:209) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:717) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:295) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) 3:19:05 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 3:19:09 PM NoCheatPlus: i_love_cake1 failed Relog: relogs too fast. VL 1. 3:19:09 PM CONSOLE: [INFO] Disconnecting i_love_cake1 [/86.186.50.140:53901]: Too fast re-login, try with a little delay. 3:19:21 PM CONSOLE: i_love_cake1 has logged in. 3:19:21 PM CONSOLE: [INFO] i_love_cake1[/86.186.50.140:53935] logged in with entity id 4212 at ([world_the_end] -19.28668850699514, 64.0, -15.176851617782926) 3:19:21 PM Server: Welcome back, i_love_cake1 3:19:21 PM CONSOLE->i_love_cake1: Hey there, i_love_cake1! 3:19:21 PM CONSOLE->i_love_cake1: Welcome to k1ll3rcraft pvp 3:19:23 PM K1LL3RCRAFTPVP: Check Out Our Site k1craftpvp.info 3:19:27 PM CONSOLE: [INFO] k1ll3rjezza issued server command: /svping 3:19:43 PM CONSOLE: [INFO] k1ll3rjezza issued server command: /spawn 3:19:53 PM CONSOLE: i_love_cake1 has left. 3:19:53 PM CONSOLE: [INFO] i_love_cake1 lost connection: disconnect.quitting 3:19:53 PM CONSOLE: [INFO] Connection reset 3:20:23 PM K1LL3RCRAFTPVP: You Will Find All Donation Info Here : k1craftpvp.info/donate 3:20:35 PM CONSOLE: [INFO] Connection reset 3:20:35 PM CONSOLE: [INFO] MC-Index Query [/198.27.83.157:36726] lost connection
-
View User Profile
-
Send Message
Posted Feb 9, 2013Im getting the same thing:
[SEVERE] Could not pass event PlayerInteractEvent to CombatTag v5.7.0
-
View User Profile
-
Send Message
Posted Feb 9, 2013Once again CombatTag strikes.
CONSOLE: [SEVERE] Could not pass event PlayerInteractEvent to CombatTag v5.7.0
Any idea? I'm using version 5.7.0 on the latest recommended 1.4.7 jar...
-
View User Profile
-
Send Message
Posted Feb 8, 2013@Nikecow
Yea, I get those same errors with spigot.
-
View User Profile
-
Send Message
Posted Feb 8, 2013@Maroseliss
I've done a little testing with this issue and I believe that the cause is reloading of plugins. I will attempt to remedy this issue as soon as I can. Thank you all for the response.
-
View User Profile
-
Send Message
Posted Feb 8, 2013@H8llfire
Same here, Spigot build 465. Works perfectly but once in a while that spams console.