Inactive [SEC] AntiSpawnKill 1.1 - Prevents PvP Damage in spawn protection zone [1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by nickrak, Jun 10, 2011.

  1. Offline


    AntiSpawnKill - Prevents PvP Damage in spawn protection zone
    Version: 1.1

    Adds PvP damage protection for all players within the spawn-protection area.

    • Blocks PvP damage to players who are in the spawn protection area.
    • Multi-world support.
    Download Jar(Source Code included in Jar)

    Licensed under: Creative Commons 3.0: Attribution, Non-commercial, Share-Alike

    Version 1.1
    • Now 1.2.x compatible (new bukkit event system)
    Version 1.0.4
    • Updated to use bukkit internal functions instead of reading file to determine spawn-protection area (Stability / Readability Fix).
    Older Versions:
    Show Spoiler
    Version 1.0.3
    • Updated Bukkit dependency to the same version that CB935 uses.
    • Changed read location of spawn-protection radius to the bukkit.yml file instead of the file.
    • NOTE: Server admins do not need to move the spawn protection numbers to the bukkit.yml, the CB version update will do that for you automatically.
    Version 1.0.2
    • Stopped blocking non-PvP damage. (ex. Player->Pig)
    Version 1.0.1
    • Build for CB 860
    Version 1.0
    • Initial Release
    • Blocks PvP Damage to players inside the spawn-protection area
    • Blocks PvP Damage from players inside the spawn-protection area (to be fair)
  2. Offline


    Configureable spawn radius?
    Over-ride for ranks to still kill or be killed in spawn?
    Multiworld support?
    Am I asking too many questions?
    Kitkat16 and bobjoetom2 like this.
  3. Offline


    Spawn radius is pulled from the file.
    It does support multi world. (However it does not support different protection radius per world)

    I may add overrides for op or permissions if there's a demand for it.
  4. Offline


    how does this work
  5. Offline


    This plugin is self explanatory
  6. Offline


    The plugin reads your file and extracts the "spawn-protection" property.
    Then is listens to all entity-to-player damage events. If the entity is another player, then it checks the how far away they are from the spawn point. If the distance is less than the "spawn-protection" property, than it cancels the damage event.
  7. Offline


    This doesn't disable pvp, it disables all damage that one entity inflicts on another. This plugin is a great idea, but it would be nice if I could kill pigs and what inside the zone. :p
  8. Offline


  9. Offline


    Updated for CB934.
  10. Offline


    it doesnt work :(

    2011-06-28 18:46:17 [SEVERE] Could not pass event ENTITY_DAMAGE to AntiSpawnKill java.lang.NoSuchMethodError: org.bukkit.Server.getSpawnRadius()I at nickrak.AntiSpawnKill.AntiSpawnKill$1.onEntityDamage( at$51.execute( at org.bukkit.plugin.RegisteredListener.callEvent( at org.bukkit.plugin.SimplePluginManager.callEvent( at net.minecraft.server.EntityHuman.damageEntity( at net.minecraft.server.EntityPlayer.damageEntity( at net.minecraft.server.Explosion.a( at net.minecraft.server.World.createExplosion( at net.minecraft.server.WorldServer.createExplosion( at net.minecraft.server.EntityCreeper.a( at net.minecraft.server.EntityCreature.c_( at net.minecraft.server.EntityLiving.u( at net.minecraft.server.EntityMonster.u( at net.minecraft.server.EntityLiving.o_( at net.minecraft.server.EntityMonster.o_( at net.minecraft.server.EntityCreeper.o_( at net.minecraft.server.World.entityJoinedWorld( at net.minecraft.server.WorldServer.entityJoinedWorld( at net.minecraft.server.World.playerJoinedWorld( at net.minecraft.server.World.cleanUp( at net.minecraft.server.MinecraftServer.h( at at
  11. Offline


    The getSpawnRadius() method is new to Bukkit, make sure you're running the newest version of CraftBukkit.
  12. Offline


    Only PVP damage?

    Because sometimes my user are spawned inside a block and then .. xD
  13. Offline


    yes, thank you :D
    it works.
  14. Offline


    Find a new spawn, or maybe use a plugin that supports exact spawn locations.
    wassilij likes this.
  15. Offline


    you should add an option where if someone attacks somebody in the spawn protection zone they get sent to jail
  16. Offline


    I have a deadchest plugin .. and sometimes a player use /kill, and then there is a chest in the spawn .. when they /spawn they are spawned in the chest and die .. die .. and die .. so can you deactivate ALL damage in the spawn?
  17. Offline


    There is no standardized jail function, if that ever gets implemented, I'll add it.

    This issue would still exist without this plugin, and damage by suffocation due to being inside a block isn't exactly PvP damage. That's outside the intended scope of this plugin. If chests are killing your players because they are spawning in the chest, you should report that as a bug to whatever plugin you use that handles spawning; unless your chest plugin is moving the chest to wherever the player is spawned, at which point you should report that to the deadchest plugin developer.
  18. Offline


    I just wanted to suggest that it would be cewl if u could make it compatible with worldedit.
  19. Offline


    There's really no part of this plugin that is capable of being a part of WorldEdit. WorldEdit is for editing the world and has nothing to do with spawn protection. If you're looking for a PvP off-switch for a region, take a look at Regios.
  20. Offline


    Yeah i found it right after i posted my comment but thanks for the suggestion.
  21. Offline


    Confirmed working with cb1000
  22. Offline


    Is it work in 'set spawn' plugins?
  23. Offline


    It works using the built-in Bukkit spawn mechanism, if the set spawn plugin uses that, then it will work.
  24. Offline


  25. Offline


    i like the mod but how do i change how far the protection should go because when i download it with winrar i have to extract it and it makes a permission thing but with java it doesnt make a permission thing cuz if u extract it it wont work
  26. Offline


    This plugin doesn't use permissions. To change the spawn protection radius, check the server configuration file.

    Also, you don't extract anything, just place the jar in the plugins folder.
  27. Offline


    ok so i installed the plugin and put it in my plugins file but how do i set the non pvp zones? im new to bukkit and u didnt say anything on how to set the zone help me
  28. Offline


    The no-PvP area, is a circle around the spawn the same size as the "settings.spawn-radius" from the bukkit.yml file.
  29. Offline


    is this inactive?
  30. Offline


    Depends on your definition of "inactive".

    I do not actively maintain this plugin because there are no reported issues. This plugin uses parts of Bukkit that don't/shouldn't be changing so there's no reason to update when it's not broken.

Share This Page