[MECH] BorderGuard v4.40: #1, Most Efficient Map Limiter [1.7.8]

Discussion in 'Archived: Plugin Releases' started by Intelli, Jan 31, 2011.

  1. Offline

    Intelli

    BorderGuard 4.40

    BorderGuard is the MOST efficient Border plugin available!
    100,000+ downloads! Thank you for your support!

    This plugin prevents people from exploring beyond a defined border. This plugin checks for all movement, including vehicle movement, and will keep you within the border even if you remain within a vehicle.

    Downloads:
    http://minerealm.com/plugins/borderguard/BorderGuard.jar (v4.40)
    (If you appreciate this plugin, please feel free to leave a comment below. =])

    To set an invisible border:
    /setborder <distance> <square|round> - Set the border, and the distance of the border from your current point. Optionally, also specify if the border is to be square or round.

    To disable the border:
    /disableborder - Remove the border.

    ---

    Only the person who first uses the /setborder command can use it again, or remove the border.

    The plugin has multi-world support. When setting a border, you're only setting the border for the world you're presently situated in. You'll need to set a border for each separate world.

    [​IMG]

    Version History:
    V4.40 - Fixed vehicle teleportation & added Material data support.
    V4.31 - Added a quick fix so that it'll work with the CraftBukkit development build.
    V4.30 - Updated to work with the new Bukkit API (#1846) R5+
    Older Versions (open)

    V4.20 - Fixed it so the save-file no longer becomes corrupted with multiple worlds. Code cleanup.
    V4.11 - Changed getDisplayName() checks to getName().
    V4.10 - Major performance enhancements. Using version 4 is highly discouraged.
    V4.00 - Modified to work with the latest craftbukkit version (953). Older versions no longer work.
    V3.10 - Removed the multi-threading, was causing accuracy issues.
    V3.00 - BorderGuard Turbo! Now works with bukkit 670, and has completely overhauled the base BorderGuard "engine", resulting in a huge performance boost.
    V2.40 - Updated to work with the latest version of bukkit. (602)
    V2.30 - Resolved multi-world issues. Now properly handles multiple worlds.
    V2.20 - Updated to work with the latest version of bukkit. Existing configuration files will no longer work. (Borders must be re-defined).
    V2.10 - Updated to work with the latest version of bukkit. Fixed movement issues with the "round" version.
    V2.00 - Multi-world support, better teleporting, no duplicate warning messages, configuration file now within folder.
    V1.00 - Released plugin.

    Notes:
    1. Using, for example, "/setborder 5", will set the border 5 blocks away from the location you are standing. This would create a border that is 10x10 in size.
    2. For the full plugin, with physical borders and more, take a look here: http://forums.bukkit.org/threads/mech-borderguard-v2-00-limit-your-map.656/

    Let me know if you have any questions, or find any problems.
    Enjoy!
     
    AviciiPL, MrMag518, MiRROW and 23 others like this.
  2. Offline

    fffizzz

    roll back to 444 for now.
     
  3. Offline

    KiloWhiskey

    Not the response I was looking for... I have to say I'm a fan of the 447 update and a namespace fix on a plugin shouldn't be what stops me from keeping my server up to date.
     
  4. Offline

    fffizzz

    We can win them all, the author said he'd update soon. If you want borders you unfortunately dont have a choice :)
     
  5. Offline

    KiloWhiskey

    Yeah, I knew that...was just hoping a little poke my speed the process. :p
     
  6. Offline

    broonie

    Its quick fix, and I'm useless at Java, but it does work when you walk into the border.
    I've had to disable /disableborder since I got a bit confused at a strange error output.
    http://www.crazy-fools.co.uk/mirror/BorderGuardLite.jar
    I hope the author doesn't mind I've done this, its just this plugin is essential to my server, and I would like to share the fix with others.
     
  7. Offline

    KimKandor

    thank you!
     
  8. Offline

    broonie

    No problem.
     
  9. Offline

    DanDaMan

    @broonie Thank You Very Much!!!
     
  10. Offline

    Intelli

  11. Offline

    bandit6789

    I'm using Borderguard right now, had physical border, but do not anymore. If I switch from Borderguard to Borderguardlite am I going to have to re do my border, or will it keep my old border?
     
  12. Offline

    _Oni_

    With CraftBukkit #456 and this version, I have this error on startup :
    Code:
    04:53:09 [GRAVE] PLAYER_COMMAND (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
            at com.bukkit.intelli.borderguard.BorderGuard.onEnable(BorderGuard.java:69)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  13. Offline

    Kane

    =( I guess this is dead too? What the heck are people suppose to use. So many plugins breaking.
     
  14. Offline

    _Oni_

    Don't update CraftBukkit until plugins was update?
     
  15. Offline

    Kane

    Code:
    00:29:21 [SEVERE] PLAYER_COMMAND (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
            at com.bukkit.intelli.borderguard.BorderGuard.onEnable(BorderGuard.java:
    69)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:414)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  16. Offline

    lostaris

    Run the recomended build and this works :)
     
  17. Offline

    Brettflan

    Confirmed that it's broken for the latest dev builds. They've removed the PLAYER_COMMAND event; apparently PLAYER_COMMAND_PREPROCESS should be used instead.

    Yes, people should generally be sticking to the recommended builds, but this is fair warning for the next recommended build which will have this problem.

    Is the source available anywhere?
     
  18. Offline

    Goblox

    I suppose this might be a little beyond the scope of this plugin but it seems like an appropriate place to ask:

    Is there a smart way to remove the chunks out side of my, now, borderguard restricted world? I would like to get a little more breathing room on my RAMdisk and I had some people Columbusing this map for a while so I would like to just delete chunks beyond a certain range.

    Also, I was wondering, does a chunk increase in size as it is modified or only as blocks that weren't present are added or neither?

    Untitledw.png
     
  19. Offline

    Kainzo

    I'll be putting in a fix for this when I get time if the plugin dev doesnt in a few days.
     
  20. Offline

    GameFAQsRolo

    I find 2D editing to be the easiest way (MCEdit and WorldEdit aren't simple enough for me for chunk deleting).

    Download the conversion utility, regiontool.jar, from the McRegion topic on the minecraft forums.
    Backing up your map probably doesn't need to be mentioned.
    Convert the map back to the old format.
    Download MapDeleter from the minecraft forum.
    Once you're done editing, just run CraftBukkit to convert back to the new format.

    If anyone has an easier way, I'd like to know it, too.
     
  21. Offline

    Intelli

    Plugin updated to work with Bukkit #456
     
    flames likes this.
  22. Offline

    DIENER

    Thanks for the update, works great.
     
  23. Offline

    Kainzo

    Very nice :) thanks for the fix
     
  24. Offline

    skawke

    Apparently when I restart, all the borders are disabled..
     
  25. Offline

    Intelli

    This has been tested, and I have yet to see this happen.
    I also use the plugin on a server that reaches 100+ players, and have absolutely no issues.
     
  26. Offline

    KimKandor

    just one question, will borderguard stop erroneous things like a portal from the nether getting created in the normal world outside the set border?
     
  27. Offline

    Lunar Delta

    Uh, yeah, MCEdit is a hell of a lot easier than that.

    1. Select as much of world as you want or need.
    2. Click "Chunk Control"
    3. Click "Prune"

    Done. No converting, no mess.
     
  28. Offline

    EdGruberman Retired Staff

    Not from my experience, no. And I think once you teleport, then move, BorderGuard will pull you back into the bordered region abruptly (maybe to spawn? I'm not sure actually...).

    You could put a border in the nether also though. But this will be highly dependent to coordinate with how your particular nether plugin works. I'm using the simple plugin made by @SpaceManiac for nether access and it maps straight 8:1 about the X=0,Z=0 point. I made borders in my normal world at 0,0 for 2200 then in the nether at 0,0 for 275 (=2200/8). I might reduce the 275 down to maybe 250 or something "safer" to help make sure the farthest portals still get created safely within my normal world border.
     
  29. Offline

    suhy

    Can you add comand for delete chunks outside border. I have 2GB of map :(
     
  30. Offline

    Jdbye

    Yes, I would like this too... my map is 1GB now.
     
  31. Offline

    uncovery

    How does this work with nether worlds?

    If my normal world is limited to let's say 1000 x 1000 blocks, and someone travels in the nether and jumps back into the world, he is ported to spawn and/or dies.

    How large to I have to set my nether world to make sure that does not happen? 1/8th of the normal world?
     

Share This Page