[MECH] BorderGuard v4.31: #1, Most Efficient Map Limiter [1.4.7]

Discussion in 'Plugin Releases' started by Intelli, Feb 1, 2011.

     
  1. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    BorderGuard 4.31

    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.31)
    (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.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+
    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!

    This post has been edited 3 times. It was last edited by Intelli Mar 4, 2012.
    AviciiPL, MrMag518, MiRROW and 23 others like this.
  2.  
  3. Offline

    Fireside

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi Intelli, thanks for your indispensable plugin. Small piece of feedback. We recently had someone drop a few thousand redstone torches in our map. In the subsequent lag people were able to push past the borderline by quite a long way. Sigh... Humans... Anyway, not a bug or or complaint. Just for your notes.
  4. Offline

    AskCharlie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just thought I'd share with you what I seen when loading this into build 405
  5. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can we get an update for this? Much appreciated!
  6. Offline

    27ace27

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, an update would be appreciated! We shouldn't let this awesome plugin die at 1.3
  7. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Intelli Noticed you were on today and did not share any comments.
  8. Offline

    MemoryThief

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Most likely busy reading the dev threads, give the programmers some room guys, if it was easy you would do it.
  9. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry I tend to be jumpy since the last person was tkelly who checked several times daily and did not make one post for over 2 weeks.
  10. Offline

    Latros

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    We need an update.
  11. Offline

    Daveyo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    any chance of developing this addon further? Would like it to respawn the outer ring with new resources and level it. Let me know if this is possible
  12. Offline

    Oh no

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    well it works fine on my server...dont know what youre complaining about guys...
  13. Offline

    Latros

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The pre 1.3 version in the initial post works with craftbukkit 429+?
  14. Offline

    Kayonesoft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm still using an old version, before multiworld support or even a physical barrier, after updating to Craftbukkit 432 and it still works. :confused:
    Granted I'm not using multiple worlds, so I don't know how that works out.
  15. Offline

    RustyDagger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well From what i can tell it works with multi worlds just fine still but there is that annoying bukkit error on start up that requires some rewriting to fix. But It would be nice if you could post an updated version and maybe some replys in your own topic Thx cya
  16. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry guys, I've been fairly busy lately.

    The plugin still works fine, just has the warning when starting your server.
    I'll be updating it once a more stable version of bukkit is released for 1.3
  17. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks looking forward to this.
  18. Offline

    Thijsbeer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you also look at this problem,please..???

    Or is there a way to shift your world coordinates? someone?
  19. Offline

    Daveyo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Another suggestion. If you allow multiple boarders to be created, and allow seperate (console: save-on or save-off) functions, we can make a world with renewable resources. As of right now I love this plugin, but everyone starts moaning after a couple weeks "everything is mined here" and I can't blame them. It eventually causes the world to be empty.
  20. Offline

    EdGruberman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    NAGNAGNAG <3
  21. Offline

    Kaseki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin does not work as advertised. Multi-world support is completely broken. Setting a border on one world seems to apply it to all. Disabling a border disables all of them as well.

    Edit: Rather, it does somewhat support multi-world, but it only supports 1 extra world. Adding a border on another world seems to set it to that size for all extra worlds, and disabling it also disables it for all extra worlds.
  22. Offline

    ThomasJ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Heads up

    This plugin will not be functional after tonight :(
  23. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It doesnt function. Working on a fix.
  24. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    2011-02-25 14:24:22 [WARNING] Using the stupidly long constructor com.bukkit.intelli.borderguard.BorderGuard(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of BorderGuard Lite (Square) to remove it! (Nothing is broken, we just like to keep code clean.)
  25. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  26. Offline

    EdGruberman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Purdy! Good job! Though the file name has a "3" and the console indicates "2" still.

    I also tested this on a multi-world setup with a normal and a nether, and it worked as expected.

    Thank you!

    P.S. Any chance of you releasing the source code on this? I'm trying to learn as much as I can about plugins and looking at plugins I use and interest me I find helps me a lot.
  27. Offline

    gchristopher

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Our server was set up using features of the hMod Borderlands plugin (to the point of having construction aligned with defined regions), so a version that supports groups and multiple regions (overlapping or not) in multiple worlds would be great.

    Any chance of adding that support or opening the source to allow a fork/clone of BorderGuard (or BGLite) that supports multiple regions and shapes?

    A few ways we've used that feature include:
    - remote, limited areas for strip mining, where the terrain is periodically re-generated
    - odd shaped world extrusions for aesthetic purposes while limiting map growth
    - remote areas with dramatically different terrain/design, kept separate by gaps between the border regions
    - guest, applicant and trial build areas, with empty space as a buffer

    Without this feature in one of the Border plugins, we have to hack it with region permissions or by taking what were regions and making them into entirely new worlds, which can sometimes be an improvement, but requires rework and can add complexity.

    It looks like BorderGuard is emerging as the popular option to fill the role left by Borderlands and it'd be nice to get those capabilities back somehow.
  28. Offline

    Taurondir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just some feedback:

    I'm spending as much time playing MC as I am with Bukkit and plug-in's (for testing and giggles mostly, not to run a server for lots of people)

    I put on your Borderguard Lite (circle) version 2.0 (on bukkit 440, MV 1.3_01) while underground, in a tunnel area. When I hit the limit, I was getting pushed into and through a wall (could see like in no-clip mode, straight through the world), I was getting the jerk-back elastic effect of hitting the border, AND I started taking damage (looked like 1/2 heart per "arrghh" sound), thought I'd mention it.
  29. Offline

    Fireside

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi all. Been putting ver3 through its paces and having complete success.
    Test is 3 worlds 2x750border and 1x250border

    And it all works as intended with the both the square and round borders.

    Sad discovery that it works fine when first configured.. however
    After a server reset or Restartall the border does not seem to work at all anymore.

    As far as I can tell all is in order. But I have one question.

    Previous versions of BG placed their properties and a data file in my server root folder. The present one only uses its own folder in the plugins folder. Not sure if its got anything to do with it, but wanted to confirm which files I should see where.

    Thanks again Intelli
  30. Offline

    silentdojo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    [WARNING] Using the stupidly long constructor com.bukkit.intelli.borderguard.BorderGuard(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of BorderGuard Lite (Square) to remove it! (Nothing is broken, we just like to keep code clean.)
    
    This breaks in bukkit builds above 450...
  31. Offline

    zettairyouiki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Using this build I've encountered a bug where occasionally when you hit the border it will snap you back to the center of the circle using the round plugin.
  32. Offline

    maxx_h

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

Share This Page