NoRegionCamping
NoRegionCamping – 0.1.1.1 for Bukkit 1.7.2
Configurable commands & WorldGuard regions access blocking for PvP.
Description
Are you tired of PvP camping in spawn and killing new users? Do you want to stop people from running back to WorldGuard pvp-free regions while fighting? Have all other plugins fail to meet your expectations, gone forgotten or not updated?
I was! After shortcomings of similar plugins like CombatTag, CombatLog and others I’ve decided to write my own plugin to reward players of my Survival server with high quality PvP experience free of campers, runners and loggers.
Features
- PvP fighting players can’t run back to WorldGuard region (configurable regions!)
- PvP fighting players get warning message when starting and finishing a fight (configurable messages!)
- PvP fighting players can’t use given commands ex. /spawn, /home, /tp (add your own in config!)
- Adjustable PvP fight time (configurable in seconds!)
- Players logging off while PvP fighting getting killed and whole server get’s broadcasted message that they’re lame (configurable!)
- Language support
- Configurable messages colours
Commands
/amifighting | Tells are you at PvP fight and is it safe to log off
/af | Shorthand for /amifighting
Requirements
- Bukkit 1.7.2+
- WorldGuard 5.8+ http://dev.bukkit.org/bukkit-plugins/worldguard/
- WorldGuard Region Events 1.2+ http://dev.bukkit.org/bukkit-plugins/worldguard-region-events/
Installation
- Download and install ‘WorldGuard’ plugin
- Download and install ‘WorldGuard Region Events’ plugin
- Download and install (placing in /plugins directory) NoRegionCamping plugin
- Restart server or load plugin from console (using your favourite plugin manager) to generate default config
Configuration
PluginNoRegionCamping: # is this plugin enabled enabled: true # time of PvP fight in seconds (1 second = ~20 server ticks) fightTime: 20 # kill if player during PvP fight leaves game killLoggers: false # if player is logged out from PvP fight do we want to broadcast that to all other players? (works only if ‘killLoggers: true’ broadcastThatPlayerIsPvPLogger: true # list of regions that PvP fighting players can’t access fightFreeRegions: - spawn - creative # list of commands that will be blocked for PvP fighting players blockedCommands: - /s - /spawn - /tp - /tpa - /w - /warp - /v - /vanish messages: # color code for all plugin’s messages, default ‘d’ is for Light Purple. Find all color-codes at http://minecraft.gamepedia.com/Formatting_codes#Color_codes – ex. 6 = gold, c = red color: d # should players fighting between each other get message about fight start stillFighting: true # should players fighting between each other get message about fight finish endOfFight: true # messages, pretty straight forward language: stillFighting: You're fighting, can't let you in fight-free region! endOfFight: Fight is finished, you're now free to visit fight-free regions. commandCanceled: You're fighting, can't let you use that command! amIFightingTrueKillLoggersOff: You're fighting right now! amIFightingTrueKillLoggersOn: You're fighting right now! Don't log off or you'll die! amIFightingFalse: You're not fighting and can log off safely. # %s is for player name and is required broadcastPvPLogger: '%s logged out while PvP fighting and he will wake up dead.'
Found a bug? Want to request a new feature?
Report it here
Planned features
(in no order)
- configurable /af command alias (/a for even shorter usage? Or maybe /ct - players wount even notice switching from CobatTag :-))
- real language support (language files)
- multiple colors in messages
- permissions for admins, as now they are hooked to fight even on vanish and can die on logout like any other player
- permissions for players, like confiugrable fighting time for each group/user
- Factions, PreciousStones, GriefPrevention, Towny support
Want to contribute or look at code?
NoRegionCamping on GitHub
Code and solutions under BSD Licence. Originally developed for Polish Survival server SerweryMinecraft24.pl
@MrCleanIsDirty it works for 1.7.5, 1.7.8, 1.7.9, no problems other than already stated occur what so ever.
Hey, I don't think this works for 1.7.5, it just doesn't stop me from entering my safe region (spawn)
@MutantNoodles
ah wait i saw that it is a planned feature, sorry i misread that as a current feature!
Hello, i would like to know the permissions for allowing admins to bypass the command cooldown.
@Jaybull1990
It was adressed @ http://dev.bukkit.org/bukkit-plugins/noregioncamping/files/2-noregion-camping-0-1-1-1/ , but having same issues at my own server, so I will have to investigate this. That issue is the priority now.
To temporary resolve this, players should be warned to respawn after seeing fight-timer off.
Please report it @ http://dev.bukkit.org/bukkit-plugins/noregioncamping/tickets/
@UltraMC Im having an issue with this plugin, where when you die, it re spawns you back to where you died.
Ive looked in to Essentials thinking it was that, but its the plugin itself, because when you die naturally, it will THEN re spawn you to spawn.
Any advice?
This is awesome. I hope there are updates. Definitely going to try on my server.
One suggestion would be to add &# support. So you could add multiple colors to the same line. Other than that, it works great.