NoRegionCamping

NoRegionCamping – 0.1.1.1 for Bukkit 1.7.2

Configurable commands & WorldGuard regions access blocking for PvP.

Logo-1

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

Installation

  1. Download and install ‘WorldGuard’ plugin
  2. Download and install ‘WorldGuard Region Events’ plugin
  3. Download and install (placing in /plugins directory) NoRegionCamping plugin
  4. 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

You must login to post a comment. Don't have an account? Register to get one!

  • 7 comments
  • Avatar of UltraMC UltraMC Apr 28, 2014 at 19:05 UTC - 0 likes

    @MrCleanIsDirty it works for 1.7.5, 1.7.8, 1.7.9, no problems other than already stated occur what so ever.

    BFAK:90627105,4afb69952c26858b8e680b8c9ad8ae6b1989a6d68778ecc8c67e798e4ba33c57

  • Avatar of MrCleanIsDirty MrCleanIsDirty Mar 29, 2014 at 06:05 UTC - 0 likes

    Hey, I don't think this works for 1.7.5, it just doesn't stop me from entering my safe region (spawn)

  • Avatar of MutantNoodles MutantNoodles Feb 27, 2014 at 02:50 UTC - 0 likes

    <<reply 2052188>>

    ah wait i saw that it is a planned feature, sorry i misread that as a current feature!

  • Avatar of MutantNoodles MutantNoodles Feb 27, 2014 at 02:49 UTC - 0 likes

    Hello, i would like to know the permissions for allowing admins to bypass the command cooldown.

  • Avatar of UltraMC UltraMC Feb 08, 2014 at 09:39 UTC - 0 likes

    @Jaybull1990: Go

    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/

    Last edited Feb 08, 2014 by UltraMC
  • Avatar of Jaybull1990 Jaybull1990 Feb 06, 2014 at 23:39 UTC - 0 likes

    @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?

    Last edited Feb 06, 2014 by Jaybull1990
  • Avatar of aburt aburt Jan 30, 2014 at 02:39 UTC - 0 likes

    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.

    Last edited Jan 30, 2014 by aburt
  • 7 comments

Facts

Date created
Jan 25, 2014
Categories
Last update
Jan 25, 2014
Development stage
Beta
Language
  • enUS
License
BSD License
Curse link
NoRegionCamping
Downloads
160
Recent files

Authors