[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


    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.

    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.


    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.

    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.
    AviciiPL, MrMag518, MiRROW and 23 others like this.
  2. Offline


    Could you post this fix of yours for those of us who don't know how to decompile/fix etc.?
  3. Offline


    I would rather not post modified versions of someone else's work without their permission. If the author says its OK, then I will.
  4. Offline


    FORK IT, go do it..... and offer it via PM or something fix it so it works with multiverse tp's and essentials tp etc.
    Dev no been here to do anything about it the same with that stupid mobcontrol plugin hes gone and ditched us as well.
  5. Offline


    This plugin works well for me. Although sometimes on a circular border, players can occasionally get through the edges, but is then teleported straight back to the spawn. But it still works well and is good for making sure the world does not get too big on slower servers :)
  6. Offline


    It works, Don't me wrong but have your tried teleport off that world onto another one or anything like that it really makes a mess of the teleportation. Other then that it does what it says on the tin but for us multiworld users kinda makes this not an option.
  7. Offline


    Intelli has been asked several times about the availability of his source, but he (sadly) doesn't appear to want anyone else to mess with it.
    That said, an update which works correctly with multiple worlds would be great. The author of rBorder has indicated he plans to update his plugin to support multiple worlds, so that might be a possible replacement in future. If nothing else, the author of rBorder has made his source available so that it could be updated by anyone.
  8. Offline


    :( :) I thought that bukkit had a manditory open source release requirement tho ?. Tho if rborder gets his working that will do I just need it to limit the max size of nether and guestworld.
  9. Offline


  10. Offline


    Hi Intelli, I've just run that one up on a local install and I'm stoked to report full functionality. Two worlds with borders, both borders intact after server restart. I will test it further and get it up to a hosted box in the next hour or so. But so far so good, and thanks again for your efforts.
  11. Offline


    No. However Bukkit will not endorse any plugins that is not open source once Fill is launched.
  12. Offline


    Request: Per-permissions-group borders. You will be my hero.
  13. Offline


    hmm I knew bukit required open source for something!, ah well thx for info.
  14. Offline


    round or square?
  15. Offline


    Hello, I have an issue to report:
    If somebody bumps into the border, there's a chance they're teleported to spawn. This seems to be happening particularly underground in tunnels, but it happens aboveground as well. It is a massive annoyance, and it would be great to get a fix for it.

    Great plugin, this is the only issue I have found!
  16. I'm using CB 556, and BGL 2.20, Square border, and when a user is underground, and they hit the border, it teleports them above ground, and some of my users are getting annoyed :S
    Is this purposeful, or a bug? Thx :)
  17. Offline


    If the point they were to be teleported back to was within a block (so they would suffocate and die), then it moves them upwards to the first "air" block, so the user does not suffocate.
  18. well, i've been inside of a massive cave, and just walk forward, and i am ported to teh surface... not too serious, but when my people are exploring caves near teh border, they get mad at me XD rofl
  19. Offline


    I have Permissions 2.4.5 rb 566

    I don't have access to /setborder as someone else made a border not even opping myself console gets me access to that command.

    Can you make a permission we can add for those that want to set the border?

    As at the moment if one person makes a border they have to make and change every border.

    As whoever is in the properties file on one border is locked in for all borders unless you manually change all the instances of there name to yours in the properties file.

    Then only you can change the borders.

    I would like to see it become more a permissions system where anyone with the borderguard.setborder property can change the border.
  20. Offline



    Hello, Just to let you know recommended is now 602 of this post :)


    Also I wanted to comment not sure if it's true but some other admins were saying that this plugin causes a lot of CPU usage the more players are online and I don't mean ramming into the border but just having it.

    My Border size is 8000x8000 I use the square version Is this possible?
  21. Offline


    Well, why not try running the server with the plugin enabled, then disabled, and compare the CPU usage (with the same # players online) yourself?
  22. Offline


    @Kane I'm interested in the result of your test ;)
  23. Offline


    I tried that some reason another plugin breaks the loading and unloading lol. I did resets but did not see much of a difference. Just going by random people on IRC when were trying track down CPU leaks. I blame chunks they blame plugins and yet no one seams to find the issue period with no plugins :p

    Just a damn mess so I wanted to ask hehe.

    Looking forward to 602 :)
  24. Offline


    I doubt BorderGuardLite would be causing all that much more CPU usage. Of course, without access to the source (harp harp harp ;)), it's hard to tell.
  25. Offline


    can't wait for 602 :D
  26. Offline


    yeah hopefully tonight :) I really want to get it done and over with before 1.4 comes out.
  27. Offline


    How exactly does this plugin check for users crossing the boarder btw? is it on player movement?
  28. Offline


  29. Offline


    Tested, works with Build 612.
  30. Offline


        if ((name.equalsIgnoreCase("Notch")) || (name.equalsIgnoreCase("Intelli")))
          event.getPlayer().sendMessage("§dHello Notch! Please check out www.minerealm.com");
    I see why you never posted the source. Not cool bro.
  31. Offline


    lmao I'm pretty sure he would not do that. lol. Though I think everyone should keep things open source even more with what people been doing these days.

Share This Page