AntiSpawnCamp

AntiSpawnCamp

This plugin stops two different types of spawn camping.

  • When a player hides next to the spawn of a server, and waits for another player to leave the spawn, so that they can kill them. Referred to as "SpawnType1"
  • When a player waits by a player's respawn point to kill them every time they respawn. Referred to as "SpawnType2"

Spawn camping can be one of the biggest problems on any server, whether its a hardcore PvP or server or simply a survival server. If your server contains too many spawn campers, then players (especially new ones) on your server may grow tired of being constantly killed at the main server spawn or their spawn point. This plugin aims to solve this problem and so make your server much more enjoyable and fair.

How It Works:

SpawnType1:

When a player leaves a defined area around your spawn (any number of areas of any size and location) a few changes are made to that player for a defined amount of time (time duration can be any length), these changes include:

  • They become invisible - This stops any spawn camper from following a player leaving spawn
  • They recieve the effect of a speed potion - This allows a player, who is leaving the spawn, to move away from the spawn faster
  • Other players cannot harm them (can still be harmed by mobs and anything else) - This stops other players killing them when they leave the safety of the PvP disabled spawn Configurable Message
  • They cannot harm other players - This stops a player, who is leaving spawn, from using their invisibility to have an advantage in PvP combat Configurable Message
  • They cannot teleport - This stops a player, who is leaving spawn, from mis-using their invisibility etc... Configurable Message
  • They are also sent a message which tells them how long they have to leave the spawn Configurable Message

When the defined amount of time runs out:

  • All these changes to the player are removed - Tthey become visible, can PvP, can teleport etc...
  • They are sent another message which tells them that this has happend Configurable Message

If a player re-enters a region when their time has not run out yet:

  • Changes to the player are removed - When they leave again, the changes will be made again.

SpawnType2:

When a player respawns anywhere (except a defined area) a few changes are made to that player for a defined amount of time (time duration can be any length, even different to SpawnType1's time length), these changes include:

  • They become invisible - This stops any spawn camper from following a player leaving spawn
  • They recieve the effect of a speed potion - This allows a player, who is leaving the spawn, to move away from the spawn faster
  • Other players cannot harm them (can still be harmed by mobs and anything else) - This stops other players killing them when they leave the safety of the PvP disabled spawn Configurable Message
  • They cannot harm other players - This stops a player, who is leaving spawn, from using their invisibility to have an advantage in PvP combat Configurable Message
  • They cannot teleport - This stops a player, who is leaving spawn, from mis-using their invisibility etc... Configurable Message
  • They are also sent a message when they respawn, which tells them how long they have the changes. Configurable Message

When the defined amount of time runs out:

  • All these changes to the player are removed - Tthey become visible, can PvP, can teleport etc...
  • They are sent another message which tells them that this has happend Configurable Message

If a player enters a region when their time has not run out yet:

  • Changes to the player are removed

How To Use It:

Download the most recent AntiSpawnCamp.jar then place that in your plugins folder and run/reload your server. The configuration files should be created.

  • Regions: This plugin uses WorldGuard for making the regions, simply create a WorldGuard region around your spawn and then add the name(s) of the region(s) to the configuration. Any region name not put in the configuration, will not be affected at all by AntiSpawnCamp, and so will be ignored.
  • Time: To change the length of time a player has the changes (such as invisibility), simply edit the configuration.
  • Messages: To change the messages for: when a player leaves a region, when their time runs out after leaving a region, when they repsawn, when their time runs out after respawning, if they try to teleport, if they try to harm another player and if another player is trying to harm them. (These support colour codes)

And thats It!

Permissions:

  • antispawncamp.exempt - give this to any player that you want AntiSpawnCamp to ignore.

Configuration:

Click Me for Config

Latest Update

1.4

Dependencys:

WorldGuard (This requires WorldEdit too) Also, make sure that you give anyone using a Vanish No Packet or similar, the antispawncamp.exempt permission

To Do:

???

Please leave a comment of support if you like the plugin or can think of anything else you think I should add.

Check Out My Other Plugins


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    44411
  • Created
    Sep 5, 2012
  • Last Released File
    Sep 13, 2012
  • Total Downloads
    5,749
  • License

Categories

Members

Recent Files