[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

    Intelli

    I am considering different methods.
    However, the current method I use is extremely efficient. =]
     
  3. Offline

    roach

    my appologies, looks like my idiot brother put default program to controll .jar files to winrar. Thanks much for the bomb ass plugin btw
     
  4. Offline

    Luke3346

    I was wondering if you could add a feature where you could generate all the map within the border. This would make my server very much less laggy with less chunk generation and I don't want to have to walk everywhere to generate map
     
  5. Offline

    goldseed

    I love this plugin!!!!
     
  6. Offline

    pjt0620

    when someone on my server launches themselves out of the border then the plugin throws up an severe error (using mcmyadmin makes the server restart) and kicks the client can you fix this?
    running 3.0
    and bukkit 670
     
  7. Offline

    Intelli

    What is the error you are receiving?
     
  8. Offline

    some1

    why not create worldedit support? it would be fantastic
     
  9. Offline

    ZachBora

    May I suggest instead having multiple world? If you have existing buildings in both, you can probable MCEdit it.
     
  10. Offline

    LucidLethargy

    Got this right after I installed this, and tested the border... is this directly related to this plugin, perhaps?
    Kind of seems that way... it crashed the server completely.
    CB: 670 borderguard: 3.00
     
  11. Offline

    ZachBora

    It sounds like the player is already outside your protection border and the plugin doesn't know how to handle it.
    Perhaps it would be wise to modify the plugin so it moves players who are outside the limit back to /spawn or something similar... Both handle it when they login and when you activate the protection.
     
  12. Offline

    Exone

    erhm, Multiworlds works yes, but I'd rather not have a world for every building I need to be bordered in, so to speech.
     
  13. Offline

    Intelli

    This doesn't look like an issue with this plugin, although it may be. This issue usually happens when a player is already seen as "logged in" on the server.

    I'll still investigate, however.
     
  14. Offline

    Incendia

    this doesn't seem to work, my server has a bedrock wall around the world, 8192x8192, I /spawn, /setborder 8192 square, and people can pass over the wall.

    I thought my admin was allowing me to bypass, but its allowing everyone to bypass.
     
  15. Offline

    Intelli

    You should be doing /setborder 4096
     
  16. Offline

    Incendia

    That still doesn't work, I never hit the border
     
  17. Offline

    furyx639

    Are you certain that the spawn point is in the exact center of the wall?

    You might be better off getting the exact coordinates of the corners of the wall, and teleporting to the exact center.
     
  18. Offline

    rmb938

    I set a border at 5000 and its not working. My players can travel well over 5000 blocks.
     
  19. Offline

    Intelli

    Did you do /setborder 2500?
    Additionally, what if you do it at /setborder 5? I assume it works?

    Also, I've been thinking it over. Is anyone interested in me bringing back the option for physical borders?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  20. Offline

    woodzy

    simple question i set my map to 4000 how big is it really? 8000? or 16000?
     
  21. Offline

    RazMaTaz

    If I understand correctly, the area is 8000x8000 (4000 in each nwes direction from /setborder command)
     
  22. Offline

    Lacho

    Hello, when attempting to cross the border several times, it randomly disconnects with this error.

    :)
     
  23. Offline

    Onza40

    Nope, magical invisible ones are the neatest, perhaps the option of a single row of fence would also work if that wouldn't be too hard.
     
  24. Offline

    furyx639

    I think a border is useful just for if I want to build something within the border, and keep track of where the limits are.

    Border should be toggle-able.
     
  25. Offline

    MikeC2103

    Would it be possible to add support for an easy "Noob Area" border within the main border. Set to work with premissions.

    Id like to let them build but not leave the area. But I dont need all the complexity from the other plugins that do this.

    Maybe even allow them access to the rest of the server but only build in the noob area?
     
  26. Offline

    Jaxal

    I'm interested in physical border.
    if it's too work to save all the blocks on the border, maybe you can do a simpler version:
    make undestructible all the block on the border and transform the air blocks in another specified material,
    so, outside is visible the wall of the border, but don't have to save the data of original block (bocause you dot change them)


    (sorry if my english isn't so good)
     
  27. Offline

    Nelien

    How does BorderGuard check if a player is within the borders? On server ticks? On player move? Trying to make sure the negative performance impact is as low as possible.
     
  28. Offline

    MrCamping

    I have the same problem.
    I've tried setting a border at 10.
    My config file get correctly updated but the border seems to be active.

    Using bukkit 677 and border 3.0

    Edit:
    Just realised I had this in Console
    Code:
    19:11:14 [SEVERE] Exception in thread "Thread-20"
    19:11:14 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 6
    19:11:14 [SEVERE]       at com.minerealm.borderguard.BorderGuard$1bgthread.run(BorderGuard.java:96)
    19:11:14 [SEVERE]       at java.lang.Thread.run(Thread.java:636)
    19:11:15 [INFO] Loaded world: world
    19:11:33 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    19:14:46 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'setborder' in plugin BorderGuard v3.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:626)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:589)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
            at com.minerealm.borderguard.BorderGuard.onCommand(BorderGuard.java:244)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
     
  29. Offline

    ZachBora

    Sometimes if a player logged outside the border and logs in after I placed the border, he's propulsed inside the border but underground. I saw it happen the 1st time out of 3 attempts, hard to reproduce.

    Also getting this too like Lacho when trying to cross border too often.

    Code:
    22:10:12 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Fai
    led to add player. net.minecraft.server.EntityPlayer@3(ZachBora at 19.7916900495
    6771,74.0,-80.58125619103944) already is in chunk -7, -13
    java.lang.IllegalStateException: Failed to add player. net.minecraft.server.Enti
    tyPlayer@3(ZachBora at 19.79169004956771,74.0,-80.58125619103944) already is in
    chunk -7, -13
            at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:38)
            at net.minecraft.server.PlayerManager.c(PlayerManager.java:141)
            at net.minecraft.server.ServerConfigurationManager.b(ServerConfiguration
    Manager.java:111)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:268)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  30. is there anyway you can make it so some people can go past the border?
     
  31. Any chance to customize the message?
     

Share This Page