[MECH] CombatTag v5.1 - Essential for PvP: penalties for PvPloggers.[BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Trc202, Jun 11, 2011.

  1. Offline

    Trc202

    Valdifer likes this.
  2. If the war arenas were in a different world, you could implement permission nodes to prevent it in that world.
    You could also look into some sort of region that can be set up to prevent the use of it within defined areas.
     
  3. Offline

    MojoManagement

    to CombatTag
    java.lang.ClassCastException: org.bukkit.event.entity.EntityDamageEvent cannot be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.WildAmazing.marinating.CombatTag.CombatTagEntityListener.onEntityDamage(CombatTagEntityListener.java:17)
    at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at com.herocraftonline.dev.heroes.skill.skills.SkillBlaze.use(SkillBlaze.java:47)
    at com.herocraftonline.dev.heroes.skill.ActiveSkill.execute(ActiveSkill.java:121)
    at com.herocraftonline.dev.heroes.command.CommandManager.dispatch(CommandManager.java:66)
    at com.herocraftonline.dev.heroes.Heroes.onCommand(Heroes.java:193)
    at com.herocraftonline.dev.heroes.HPlayerListener.onPlayerInteract(HPlayerListener.java:56)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-24 19:35:04 [SEVERE] Could not pass event ENTITY_DAMAGE to CombatTag
    java.lang.ClassCastException: org.bukkit.event.entity.EntityDamageEvent cannot be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.WildAmazing.marinating.CombatTag.CombatTagEntityListener.onEntityDamage(CombatTagEntityListener.java:17)
    at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at com.herocraftonline.dev.heroes.skill.skills.SkillBlaze.use(SkillBlaze.java:47)
    at com.herocraftonline.dev.heroes.skill.ActiveSkill.execute(ActiveSkill.java:121)
    at com.herocraftonline.dev.heroes.command.CommandManager.dispatch(CommandManager.java:66)
    at com.herocraftonline.dev.heroes.Heroes.onCommand(Heroes.java:193)
    at com.herocraftonline.dev.heroes.HPlayerListener.onPlayerInteract(HPlayerListener.java:56)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-24 19:35:04 [SEVERE] Could not pass event ENTITY_DAMAGE to CombatTag
    java.lang.ClassCastException: org.bukkit.event.entity.EntityDamageEvent cannot be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.WildAmazing.marinating.CombatTag.CombatTagEntityListener.onEntityDamage(CombatTagEntityListener.java:17)
    at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at com.herocraftonline.dev.heroes.skill.skills.SkillBlaze.use(SkillBlaze.java:47)
    at com.herocraftonline.dev.heroes.skill.ActiveSkill.execute(ActiveSkill.java:121)
    at com.herocraftonline.dev.heroes.command.CommandManager.dispatch(CommandManager.java:66)
    at com.herocraftonline.dev.heroes.Heroes.onCommand(Heroes.java:193)
    at com.herocraftonline.dev.heroes.HPlayerListener.onPlayerInteract(HPlayerListener.java:56)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Some cast errors...
    Thinking after set up Heroes..
     
  4. Offline

    sukosevato

    Great plugin!
     
  5. Offline

    imaxorz

    Yes, support for permissions would make things a lot more easier.

    We have both War and Mob arena plugins in our "fun" world, in which combat tag is not necessarily at all, so it would be awesome to have a permission node not to give to players in that world so it is simply disabled.
     
  6. Offline

    pwndupure

    How do we make non-pvp areas? I'm confused, doesnt show anywhere on how to :O
     
  7. Offline

    Lanuk

    I had a few questions...

    1. Does this support Factions safezones?
    2. Does this support WorldGuard properly now? When I used it before people could tag each other in WorldGuarded regions
    3. Does this support the Essentials Jail?
    4. Does this only work when people log out during battle? What about teleportation?
     
  8. Offline

    Oscarius

    What exactly does this mean/do?
     
  9. Offline

    Trc202

    Not sure why it would do that. Adding a check on the next version.
    This plugin does not handle no pvp areas. Check worldguard for that.
    I'll work on adding permissions support.

    1. It should. Anywhere you can't get damaged it will not tag you.
    2. Yes
    3. No
    4. you can stop people from tping by adding it to the disabled commands which will stop people from using those commands when tagged.
    The original version still allowed people to be tagged while godded. When I took over I fixed that.
     
  10. Offline

    Lanuk

    Perfect, thanks! I <3 this plugin :3
     
  11. Offline

    godgodgodgo

    Wait.... I kill a player and then disconnect and they still get my stuff.
     
  12. Offline

    iceguru

    Can PVP be off after a certain depth ? ... kinda lame to get killed while mining but I want pvp on the surface in the wild.
     
  13. Yeah, that way the other player will have a chance to kill you, otherwise you would be able to kill someone and teleport to a safe area/log out, preventing them from getting their stuff back at all.

    This plugin doesn't handle what area people can pvp in. However, you can use a plugin such as world guard to define a region above and below sea level to prevent pvp underground.
     
  14. Offline

    o0AzzA0o

    Fantastic plugin thanks for making this.
     
  15. Offline

    madmaid

    Does this plugin restrict using teleport commands while in combat/shortly after?
     
  16. Yes you can restrict commands while in combat :)
     
  17. Offline

    madmaid

    How do you set up the restricted commands? At the default it is

    DisabledCommands=/tp\:\:/warp

    How do I add more disabled commands such as /home, /tspawn etc?

    Also arrows wont tag people. Is there something in the config to fix that?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  18. DisabledCommands=/tp\:\:/pw\:\:/god\:\:/mvspawn\:\:/mvtp\:\:/groupspawn\:\:/f home\:\:/spawn
    As an example.

    So write them as you would normally with '\:\:' separating them
     
  19. Offline

    T4L_Goose

    Would it be possible to have an option just to keep the player's character in the server for a certain amount of time after they log off so they can still be damaged? Sort of like how WoW's disconnect system works. And also have it be a configurable time.
     
  20. Offline

    embty

    Thats a great Idea imo just set a timer on logging out or not to allow the logout option when tagged! love it :D
     
  21. Offline

    T4L_Goose

    Or just let the client log out, but still keep the character in the server for a certain amount of time.

    Only issue I could see is that the game wouldn't let the person log back in until the character has left the game, but this isn't a big deal since it's kind of a consiquence of logging out during battle anyway.

    And I think it would be better just to have this feature be on by default, meaning that you don't have to be tagged for it to happen. It would help convince people to log out in a safe place because they're still vulnerable for a certain amount of time.
     
  22. Offline

    MCCity

    so, i can make PVP-Zones and Non-PVP-Zones?
    how do i do this?
     
  23. Offline

    gameswereus

    This works fine with 1060 right?
     
  24. Offline

    Lanuk

    I think I may have asked this before, but how do I block players from using commands while in battle? My config looks like this, but it doesn't stop them. I am using 2.9.

    Code:
    Grace_period=10
    LogPlayers=false
    MessageToTagged=&d[CombatTag] &6Tagged by\:&c $tagger \:\:&6StdGracePeriod\: $graceperiod seconds \:\:&6/ct for more info.
    Extended_Grace_Period=60
    PvpMessage2plr=&d[CombatTag] &c $tagged &6 was executed for logging off while in combat with&c $tagger
    Version=2.9
    DisabledCommands=/tp\:\:/warp:/f:/spawn:/home:/f home
    UseJail=false
    Penalty=DEATH
    MsgToPvPLogger=
    JailTime=5
    DisableCommands=true
    DisabledMsg=&d[CombatTag] &6You can't do that while you are tagged
    MessageToTagger=&d[CombatTag] &6Tagged\:&c $tagged
    Lightning=false
    Debug=false
    MaxRelog=1
    ItemsDroppedMsg=&d[CombatTag] &c $tagged &6 has pvp logged. His/Her items drop at your feet
    TagTime=15
    
    As you can see, I was trying to disable certain commands, but the format confused me. Then I tried to disable all commands with DisableCommands=true, but it still didn't work. What am I doing wrong? Help would be appreciated, thanks. Oh, and im on cb1000.
     
  25. Offline

    raupy

    Does that work on CB 1185?
     
  26. Offline

    tremor

    Only one way to find out...

    --edit--

    I tested it with blind faith and yes!!! it Works with 1185 - atleast in my limited testing, seems to run just fine.
     
  27. Offline

    Trc202

    Updated to support 1185 (version 3.0). Completely rewritten. Check OP for link. Previous users will need to remove their combattag directory.
     
  28. Offline

    T4L_Goose

    "If a player logs out during pvp a NPC is spawned in their place. Once they log back in anything that happened to then npc is then transferred back to the player."

    Yes! You are awesome!

    Could you make an option to make this happen ALL the time? Like WoW?

    And will the npc drop the players inventory?

    Also, where is the download on BukkitDev?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
    Umbra likes this.
  29. Offline

    Trc202

    I wouldn't recommend it happening all the time, npcs can still be aggro-ed by mobs.

    Npc's drop all items that the player had also Any damage taken by the npc's armor is also transferred back to the player.

    I can be (or should be downloadable from the files page, not used to the BukkitDev system yet)
    Link
     
  30. Offline

    T4L_Goose

    There is nothing on the files page.
     
  31. Offline

    Trc202

Share This Page