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
I've got another bug now. When i have the name set to player, it works and shows their name and skin, but when the npc dies it doesn't drop its items. Possibly the npc is not even getting the items. It's ok for now because at least it punishes the logger by removing their items and killing them. I'm not sure if this bug applies to people who have the logger named something else, as I've only tested it with the name set to player in the config.
@LordKainzo
I have Heroes in the config. Was a typo on my part with the first one (Was looking at your signature, lol).
@cheddar262
I think you mean Heroes. Herocraft is the server :D
Thanks for adding the player name to the config, this is exactly what I needed!
Awesome!!
Expect 3.7 tomorrow! New features include: Projectiles registering correctly and ability to change the npc's name to whatever you want. (Beware: making the npc name just the player name will cause some compatibility issues with HeroCraft) Edit: Oh! Also update to 1.1-R4
@LordKainzo
This most likely will be fixed in 3.7 unless a bug in testing comes up
@JoneKone
Of course mobs do not... Why should they? This is a PvP plugin.
Currently Arrows DO NOT trikker tagging
neither do Mobs.
@cheddar262
Just set "allownoslashcommands" in factions to false, and add / to the disabled commands.
@cheddar262
Tracking as in combat tracking. Currently arrows/fireballs (Heroes Skills) do not track combat effectively. A user can be hit with a projectile and immediately log out without being flagged as a combat logger.
@cheddar262 Awesome, just changing the priority of onEntityDamage should do wonders and fix it. What are your thoughts on multiworld support and disabling CombatTag in certain worlds?
I think someone else mentioned it, but NPCs are staying online forever until they are killed, not for the assigned time.
@RustyDagger
I'll see what I can do. If you want to block all factions commands try blocking just "/f". At least if you haven't tried that already. It'll at least block with the / I think. I don't believe I can block just saying things. Edit: If that doesn't work I will definitely make sure everything is working correctly.
@cheddar262
I never give my self or others OP due to essentials being all derp and giving every permission to OP's i also never hand out '*' it just results in me spending hours removing perm's
I tried the commands with and with out the / I was still able to use the commands :/
the fact that factions can work with out a / is annoying however I can turn it off but it will annoy players. can't win :/
@RustyDagger
One quick thing I should mention. If you are an op on the server and you have not set up the combattag.ignore permission, then if you hit someone or they hit you, neither of you will be counted as being in combat. Therefore no NPC will spawn. The combattag.ignore is implemented in version 3.5 and beyond.
@cheddar262
Cheers, thanks for the quick reply. I'll get on it.
@SmashboxGaming
If you make a ticket for it as an enhancement, then I will. Sorry for any inconvenience caused by this, but I just don't want it lost in the comments.
@cheddar262
Would it be possible to add an option that would prevent players from placing or destroying blocks when in combat?
@Crayder
It will be fixed in the next version, so I marked it as fixed for the time being. It will be uploaded as soon as I work out another issue.
You put the / such as [/who,/help]
crayder, it was not