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.
@FejminTV
That should not be happening. You have the clsas "net.minecraft.server.v1_8_R1.v1_8_R1.PlayerList", which should be "net.minecraft.server.v1_8_R1.PlayerList".
Try rebuilding spigot.
I have Spigot 1.8 and plugin doesn't work
@Frosty39801
@Nickshelton80
Update to the latest version
@MoejoeAw44
1. The armor is supposed to work, I am working on fixing it. I plan to prevent people from hitting npcs in the same faction.
2. I will think about adding that, maybe after I fix the armor bug. NPCS will stay until the player logs back on, even if his tag expires.
Please let me know if you are going to try to implement this. I asked you earlier, but I didn't get a real reply. ;c
-----------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?
@k3ldon
What is the conflict with factions? How is /f home wierd?
Please explain better.
@Techcable
hi! i have a issue... with last factions have conflict, some times dont work /f home is weird...
ty
@jenks1999
The npcs are fixed in version 1.0.12. I don't understand your scoreboard issue, how can you attach a command to a scoreboard. Do you use a special plugin?
combat npc doesn't spawn while in combat and if i have custom /h or /home commands attached to a scoreboard i need it able to also block those commands. Is there a way it can read scoreboards and manually typed commands as seperate commands?
Try the new development builds on my ci server.
@Nickshelton80
I don't think it has anything to do with worldguard.
The plugin is updated to 1.8, but the plugin still has a lot of bugs.
@Frosty39801
Same thing here. Funny part is I have all worldguard checks turned off so I don't see why It's throwing an error..
Got this error :/
http://pastebin.com/XSE3f8cR
Spigot 1.8 latest version
When will this plugin be updated to 1.8?
Does this plugin being updatet to 1.8? :)
@Techcable
I'm not worried about TPS, and to prevent lag, you could always just add an option to change from spawning an NPC, to maybe a villager?
My server network runs off of a cloud box, so TPS is not a problem. Sorry for the late reply, I was trying to get my developer to make it, but he bailed... :/
@Techcable
I can understand disabling when it see's an older version but to version check and disable on newer version is not so great. The check is assuming that the plugin MAY or MAY NOT work and just disables it with out knowing for sure. I would instead post a warning in console that says "This Plugin was not intended for your version of Bukkit/Spiggot and may not work correctly or even crash your server.". This would prevent the plugin from quickly becoming obsolete when it doesn't need to be, or prevent it from working on servers that are running custom, test or dev versions.
@VortexTeamZ
Only /ct to check your remaining tag time.
@Simo389
I am getting a build server for christmas. The version on github actually has a hilarious duplication glitch involving cloning. The new api only has static methods and can't be created with new. So instead of doing
you would do
. The second one is much simpler, and actually offers a slight performance gain, since you aren't constantly creating a new object.
I separate my non-combattag specific code into 2 different libraries, NPCLib: to spawn npcs TechUtils: to do velocity and caching (and anything else I want).
@NathanTheDragon
I think i will have to rewrite the onEntityDamage method for scoreboards.
@FourDowning
It is an issue with NPCLib.
Does this have any commands?
@Techcable
Can you please upload the latest version to either Bukkit or a build server of some sort, the current one on Bukkit doesn't have the standalone NPC support or WorldGuard 6 support. I've just tried compiling it myself, but the API always seems to break and you use an insane number of different libraries. :p
Also, can you please give an example on how to use the new API. I'm not sure how to actually load it up in my own plugins. For the previous one I used:
But the new one seems to work completely differently.
The scoreboard seems to bring errors when ever striking any sort of entity.
The only plugin that I feel like may be conflicting with CombatTag is ScoreBoardStats if it is a conflicting issue...
http://pastebin.com/mDM9Tizz
Otherwise, I recommend there should be a configuration option that allows enabling and disabling the scoreboard.
○ Nathan ○