OtherBounds
OtherBounds creates a circular "soft" border. When a player walks across the border they will start to lose health until they cross back.
Features
- Circular, square (coming soon) or WorldGuard region based boundaries
- "Realistic" boundaries - players are not blocked but discouraged by:
- Warning messages
- Custom damage
- (latest dev build) Potion effects
- (latest dev build) Sounds (any of 150 via the Bukkit API)
- (latest dev build) Any command (as player or OP override)
- (latest dev build) Lightning, explosions and more (note: currently this overrides normal damage, explosions are "coming soon")
- Multiworld support
- Exceptions by player-name or permission
- Detects players regardless of how they leave the area (vehicles, tp, etc)
- Multiple boundaries support (experimental, let me know how this goes)
Planned Features
- inverted boundaries (damage done inside a boundary)
- conditions similar to OtherDrops (eg. boundary only hurts during the night, etc)
- damagerate - easier way to specify damage vs time
Documentation
Installation
Just put the jar file in your plugins folder - it will create an example config on the first run (with a border radius of 200 but no damage).
Example config
"config.yml"
verbosity: normal # controls how many debug messages are sent to console (low, normal, high, highest) ticks: 40 # "OB cycle" - how often we check (& damage) players outside the boundary safeinsideboundary: false # if you have concentric boundaries set to false, if you have non-concentric set to true
"boundaries.yml"
boundaries: main_boundary_1: radius: 200 centre-x: 0 centre-z: 0 world: ALL damage: 1 # 1 half-heart per OB cycle except: [Xyzzy] # optional list of player names, eg. [plugh, xarqn, fred] exceptpermissions: [mainBoundary1Override] # give players otherbounds.custom.mainBoundary1Override (note, cannot include _ characters) messagedanger: "Warning - radiation detected." messagesafe: "You have returned to safer lands." main_boundary_2: radius: 400 centre-x: 0 centre-z: 0 world: ALL damage: 4 # 4 half-hearts per OB cycle except: [Xyzzy] # optional list of player names, eg. [plugh, xarqn, fred] exceptpermissions: [mainBoundary2Override] # give players otherbounds.custom.mainBoundary2Override (note, cannot include _ characters) messagedanger: "Warning - high radiation level detected, turn back." messagesafe: "The radiation is lower here but still dangerous."
Commands
/ob reload - reloads the config file (requires otherbounds.admin.reloadconfig permission) /ob (on|off) - turns OtherBounds on or off until next restart/reload (requires otherbounds.admin.enabledisable permission)
Setting a region type
- If there's a "region" parameter it will set that boundary to a WorldGuard region
- If there's a "radius" parameter it will set that boundary to a circular one
- Otherwise the default is a rectangular boundary defined by "length" and "width" parameters (*not yet supported)
Considerations
- you probably want to put delay rate down to around 5 ticks (that's the minimum at the moment) - I left it at 40 for testing (checks the boundary every 2 seconds)
Changelog
0.1 Release, fixed config file not writing on first startup. 0.1-beta First release
Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Thanks
The plugin is inspired by croxis' BoundaryKill.
Many long nights are spent improving my plugins so if you like it please consider a donation to my coffee fund :)
OtherBounds uses Metrics for anonymous usage stats (learn more). From 0.1 only (0.1-beta1 does not include metrics).
Hi I currently have a 500x500 bound setup and I was wondering how I could get it to damage OP'ed players, it doesn't seem to be currently and it's a bit of a hassle deopping everyone to play, any help appreciated!
want to come on my server and test it with me skype: callmetheboss3 -.-
yes, I am it still not working....
@ummbobee98
Just tested it - works fine. Where are you putting the config? I believe the newest version uses boundary.yml and config.yml rather than the old otherbounds-config file.
@ummbobee98
I'll check it out when I'm back at my computer.
it's broken. I sued that config you gave me and it still hits people even @ 0,0
@o0Julia0o
Yeah :) Shouldn't be a problem with any future version, unless something significant changes (doesn't hook into any version specific code).
@ 0.1.115 does it work with 1.5.2?
@ummbobee98
This should do 1 damage per sec outside of 10,000 radius.
do you have skype? add me: callmetheboss3 and if you could just make me a config that damages players 1 damage a second if the're outside 10,000 that would be awesome.
@ummbobee98
Will look into it: I assume it should be 3 damage per 3 seconds outside the boundary?
whats wrong with this config trying to make a 10,000 block boundary around 0,0 inside the boundary you take no damage outside you take 2 a second.
http://pastebin.com/pbTBXxqk
@Abnormal_Zombie
I believe it's otherbounds.admin.reload. There were problems with reload in 1.5.1 though ( damage doubling, etc), I'll have to check with 1.5.2.
What permission do I need to use /ob reload?
Is there a way to increase mob spawns outside the boundaries?
Example of actions from new dev build:
@Abnormal_Zombie
Glad you like it :) That's my preference too, a more realistic border - just make sure that players don't have the ability to continuously heal faster than the border damage. Multiple boundaries can help with that - I'll be updating the page to show an example.
Yes, you should be able to set worldguard regions as an "inverted" boundary to do damage inside it.
This is extremely useful, and much better than the traditional boundary which continuously jumps you back thus creating a laggy effect.
It'll be nice knowing I can now grab that diamond ore I see just on the other side of the world boundary... if I'm quick enough :D
This could even be used for things not intended to be boundaries at all, but just dangerous/radioactive areas.
@JordiAB
Steelsouls is correct - OtherBounds only damages players that go out of the boundary, it doesn't effect blockbreaking or mob killing at all.
If you want to stop blocks being broken and/or mobs being killed look for WorldGuard, ModifyWorld (part of PermissionsEx) or I think Essentials even does some of that.
@JordiAB
Stopping players from breaking/attacking is not a feature of this plugin. It will damage them but so far I believe that is it.