Combat Tag Reloaded
Combat Tag Reloaded
Do you hate it when you are winning a fight and your opponent logs out, or when someone runs in to a safezone? Then use Combat Tag Reloaded, a plugin that stops PvP logging and entering a safezone in combat.
Features
- Marks someone in combat if they are fighting and unmarks them when they aren't
-
Applies a punishment if someone logs off in combat to discourage combat-logging
- Spawn an npc with armor to take the player's place until they log on again
- Instantly Kill them when they log off
- Prevents you from entering a worldedit no-pvp region when in combat to prevent safezoning
Requirements
- Java 7
Optional
- Citizens2 if you want to spawn npcs
- WorldGuard to check for worldedit no-pvp zone
Jenkins
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Issues
If you have a problem follow these steps. 1. Check the FAQ 2. If your question isn't there ask a question in the comments 3. If you are told it is a bug check the issue tracker 4. If the bug is not there file an issue on the issue tracker
Metrics
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- If you use instakill or npc spawning
Source Code
Combat Tag Reloaded is an open source fork of cheddar262's Combat Tag licensed under the CC0 License. The source code is available on github.
Auto Updater
This plugin uses gravity updater to automatically download updates from bukkit dev. If you want to disable auto updating set autoUpdate to false in the config file.
Run good with version 1.8 but with a lot of errors with WorldGuard 6.0.0
Doesn't seem to work on the latest spigot 1.8 version.
https://gist.githubusercontent.com/FourDown/42dffe926b2f8ecf34f4/raw/96020245f772658276cc4688b907954d2379d723/gistfile1.txt
@FourDowning
It don't require citizens, I can spawn npcs without it, but the plugin version checking code is broken. The problem with the old version is it only supported 1 version of minecraft per version. So plugin version 6.20 would only support 1.0.10 but not 1.0.9 (just an example). Combat Tag Reloaded works with 1.8, 1.7.10, 1.7.9, and citizens.
Why is Citizens required to spawn NPCs in the version of Combat Tag?
What was wrong with the method in the official version?
@Intangir
Citizens is not required if you don't want npcs to spawn.
@qVotka
Known issue, I hope to fix soon.
@live4redline
The version checking code is currently broken. I will fix it soon.
I will not remove it, because I access certain code that changes every minecraft version. If I removed it the plugin would crash your server (and potentially cause data loss) when you use the wrong minecraft version.
@MoejoeAw44
Names and armor should be shown. I will fix this soon. (Notice a pattern?)
I like your idea of preventing people from attacking npcs that are in the same faction.
Spawning npcs is an expensive operation (could hurt TPS a lot), if you are worried about this I would suggest increasing the combat tag time in the configuration file. Increasing the combat tag time to 20 seconds would keep the players from combat tag just as well as keeping the npc combat tagged.
I am going on chirstmas vacation this friday, I hope to fix some bugs. Thanks for your support for this project, please remember not to use this on a production server.
~ Techcable
I have a request I really think you should add, and I think this would give people / servers using this a better way to stop PvP Logging, and sorts of mishaps.
1 - An option to make the players armor, and username show up. A players armor should show up on the PvP Logged players body, so people know what kind of armor they are in (obviously), how strong they are, and an idea of what they have.
The username to show up, I've used this plugin on my server for a while, and I have death-bans, so players would see a PvP Logged player, and kill them, not knowing who they are, if they are team or not, or even if they are in their faction (Maybe keep the players name in tab list so Factions denies the pvp between the players in the current faction).
2 - Making the players NPC stay online for an additional 10 seconds, stopping the player from logging out right after his tag is over (Usually how people still end up PvP logging). To clarify, when the player is NOT in combat, his / her NPC will stay online for 10 second (configurable).
If the player IS on combat, same as always, the NPC will stay online, and then once the tag is over, for the other 10 additional seconds, (So the player can't just log off at 1 second left).
I really hope you consider adding these, as I think they could come in very handy. If you don't want these features permanent if you ever consider adding them, you can always add a togglable feature, could you not?
Could you remove this check... "This version of minecraft is not supported." and then its DISABLED.? Seems a little silly as there's plenty of outdated plugins that still work, and a check like this would ruin a perfectly good plugin in the future. A warning instead of a disable would be a lot more appropriate.
Plus, I don't care if its not supported, I'd like to know if it will work anyways with out someone assuming it wont.
Also, I thought you added support for 1.8... so why is it not supported on 1.8?
Other then that, thanks and I'm looking forward to adding this plugin back to my servers.
http://pastebin.com/192B28ja I get this error when I hit an entity.
any wiki or details about the spawning of npcs?
i have citizens but it doesn't seem to do any good, what exactly is citizens for?
i tried to use this in place of combat tag and it just crashes alot on 1.8