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

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

     
  1. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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+

    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 4 times. It was last edited by Intelli Apr 13, 2014.
    AviciiPL, MrMag518, MiRROW and 23 others like this.
  2.  
  3. Offline

    M1sT3rM4n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you still not going to put in an oval shape feature?
  4. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Adding it shortly =]
  5. Offline

    M1sT3rM4n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  6. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Added a version of the "lite" plugin that uses round borders.
  7. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah BIG thanks *happy*
    Works with #207

    Request: Option to change the "you reached the border"-text and color
  8. Offline

    MemoryThief

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great this is awesome, thanks for making a lighter version borderguard. I never wanted physical walls, and I'm glad to hear round is an option too. :D

    Perhaps can there be a way to designate a group outside of the border? Like the OP can escape the border if he so chooses while keeping in others? [wheatseeds]
  9. Offline

    d3x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Very nice, hopefully it does not crash peoples clients and sometimes the server like the others!
  10. Offline

    mattekure

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hmm, I am able to walk past the borders. I previously had the full borderguard and it worked fine, but when I put the lite circular one I could go past. I still got the message about reaching the border, but went past it. I have the origin point set at -600,-100 with a radius of 2100, I was able to walk past -2800,-100
  11. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What build of bukkit are you using?
  12. Offline

    mattekure

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am using 188 198
  13. Offline

    QQCucumber

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Using the round border option, I get this with build 196.

    2011-02-02 08:41:19 [INFO] [PLAYER_COMMAND] QQCucumber: /setborder 2800
    2011-02-02 08:41:19 [INFO] QQCucumber issued server command: setborder 2800
    2011-02-02 08:41:19 [INFO] Unknown console command. Type "help" for help.
  14. Offline

    OkinKun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When you say this version doesn't have the extra "performance reducing features", what do you mean exactly?
  15. Offline

    MemoryThief

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This version doesn't have the whole code that makes physical borders, so if all you want is preventing people from crossing the line - this code is better suited for that, and the less code means preformance.

    I test (Square Border, v1.00) with build 210, works perfectly. Borders work great, just what I wanted, only thing that could be better is a handle allowing admin to go past borders.

    Thanks for the plugin!
  16. Offline

    d3x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have 2 servers running BorderGaurd Lite, here are their configs:

    Code:
    borderdata=d3x,587.5511203846444,69.0,50,6666,0,
    Code:
    borderdata=d3x,225.55990028532133,64.0,125.69999998807907,6666,
    I thought it made border from 0,0 and that's what I want, should I changed these numbers to 0 and reload bukkit?
  17. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It sets the border from the point where you're standing.
    Yes, you can change the numbers in the file to 0,(y val),0, which would put it at 0,0
  18. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Build #231

    Works perfekt, I see the text, and can't walk trough.
  19. Offline

    GameFAQsRolo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Would it be possible to store BorderGuard.properties in the plugins folder [inside a BorderGuard folder] instead of the root directory in a future release?
  20. Offline

    Planitia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I second this.

    It's the recommended way of doing it. And keeps everything tidy.
  21. Offline

    Phaedrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Agreed. That's my only complaint. Otherwise this plugin is perfect.
  22. Offline

    chibirubara

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any possibility of getting some multi-world support? I'd love to start adding some secondary worlds that aren't as large as our main one.
    uncovery likes this.
  23. Offline

    MrAdam

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Requesting the same feature.
  24. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated with multi-world support!

    Also, when teleporting you back now, it won't put you within a block - it'll always move you up to the top, so you don't get stuck within a block.

    Additionally, the configuration file is now within /plugins/BorderGuardLite/BorderGuard.properties
    Existing configuration files won't be read. If you want to use an existing configuration file, you'll need to put it there.
  25. Offline

    Cosmic Break

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if you combined these and gave up the option

    /setborder round|square <limit>

    would be awesome.
  26. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll consider it. May implement it in the "full" BorderGuard plugin (not yet updated) that has more configurable options.
  27. Offline

    QQCucumber

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Please do!
  28. Offline

    Intelli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Alright. However, are you looking for a round, physical border? Or are you just looking for a way to easily switch between a square/round invisible border in-game?
  29. Offline

    QQCucumber

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, honestly, I can't imagine the difference between BorderGuard and BorderGuard Lite being so drastically different in performance. If I were you I'd just ditch having a Lite completely and roll all the features into your main plugin. Plus it is pretty convenient I can't use the full version and the Lite version, because Lite is doing something the full can't right now (provide a round border).
  30. Offline

    Thijsbeer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I found a small problem when using 2 different border sizes and WormholeXTreme.
    When the gate of one of the worlds is set further then the border it will say "you have reached the border"
    and spits you out the other world at the coordinates of the portal you just left.
    World A portal at 0.0 border 150
    World B portal at 0.250 border 700
    When going from A to B youll end up on world B at 0.0
    It also breaks the portal at B. Even with the border removed it will spit you out at 0.0
    First you have to remove the border and the portal. Then you can make a new portal at B


    WormholeXTreme:
    http://forums.bukkit.org/threads/tp-wormhole-x-treme-v0-70-313.1782/page-20#post-56779

    NOT SOLVED:

    EDIT: Programmer of WormholeXTreme says:
    The issue I believe is because when you teleport you can't just use the teleport function - you have to actually first set the players "move" as having come from where you want to teleport to.

    The real issue is that the BorderGuard is ignoring the fact that i set the move to cancelled - talk to the dev of that plugin and make sure that he is properly handling cancelled moves and multiple worlds.
  31. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Intelli Tried bring this up before but can you try to block teleports outside the borders cords?

Share This Page