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

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

  1. 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


    Permission nodes?
  3. 4.30 is now available, and will work with the new upcoming CraftBukkit versions.
    AS1LV3RN1NJA and khamseen_air like this.
  4. jayke2012 Wth is wrong with russia? That link sent me to a page with a fake virus scanner. Don't click it guys.
  5. Please update the BukkitDev page for users that rely on that for updates.
  6. Offline


    Hi! Wondering if I can use this with Multiverse, to limit my second world?
  7. Offline


    Okay I just tried it out and it works perfectly in multiverse ^^ Thanks :D
  8. Offline


    Getting this error:
    2012-03-03 16:26:49 [SEVERE] Could not pass event VehicleMoveEvent to BorderGuard
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at net.minecraft.server.EntityBoat.G_(EntityBoat.java:371)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1260)
    at net.minecraft.server.WorldServer.vehicleEnteredWorld(WorldServer.java:111)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:282)
    at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getVehicle()Lorg/bukkit/entity/Vehicle;
    at com.minerealm.borderguard.BorderGuardVehicleListener.onVehicleMove(BorderGuardVehicleListener.java:101)
    at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 13 more
  9. What version of CraftBukkit?
  10. Offline


    Code (Text):
    1. 2012-03-04 12:45:53 [SEVERE] Could not load 'plugins\BorderGuard.jar' in folder 'plugins'
    2. org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
    3. at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
    4. at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
    5. at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
    6. at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    7. at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    8. at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    9. at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    10. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    11. at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    12. Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
    13. at java.lang.ClassLoader.defineClass1(Native Method)
    14. at java.lang.ClassLoader.defineClassCond(Unknown Source)
    15. at java.lang.ClassLoader.defineClass(Unknown Source)
    16. at java.security.SecureClassLoader.defineClass(Unknown Source)
    17. at java.net.URLClassLoader.defineClass(Unknown Source)
    18. at java.net.URLClassLoader.access$000(Unknown Source)
    19. at java.net.URLClassLoader$1.run(Unknown Source)
    20. at java.security.AccessController.doPrivileged(Native Method)
    21. at java.net.URLClassLoader.findClass(Unknown Source)
    22. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    23. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    24. at java.lang.ClassLoader.loadClass(Unknown Source)
    25. at java.lang.ClassLoader.loadClass(Unknown Source)
    26. at com.minerealm.borderguard.BorderGuard.<init>(BorderGuard.java:23)
    27. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    28. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    29. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    30. at java.lang.reflect.Constructor.newInstance(Unknown Source)
    31. at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
    32. ... 8 more
    33. Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
    34. at java.net.URLClassLoader$1.run(Unknown Source)
    35. at java.security.AccessController.doPrivileged(Native Method)
    36. at java.net.URLClassLoader.findClass(Unknown Source)
    37. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    38. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    39. at java.lang.ClassLoader.loadClass(Unknown Source)
    40. at java.lang.ClassLoader.loadClass(Unknown Source)
    41. ... 27 more
    BETA build 1.2.3...
    Will there be an update? Today? I kinda need this plugin..
  11. Offline


    Same here, latest Beta release of 1.2.3
  12. Updated the plugin to 4.3.1 to work with the development build.
    xsolar66 and khamseen_air like this.
  13. Offline


    Nice! Slightly confused though as I didn't have a problem loading up the Beta Build 2034 using V4.30 of this. Still, shall update it. :)
  14. Offline


  15. It doesn't work. As in, the boarder is clearly set. [ X: 0 Z: 0 Radius: 5500]. But players can go outside the boarders. If another player tries to teleport to a player out of bounds, they will be teleported to the border, so it is working in that sense. But in the main function of it is not working.

    1.2.3 Minecraft
    4.3.1 Borderguard
    2037 Build of Bukkit
  16. Offline


    might be another plugin conflicting somehow? I have the exact same setup and it works for me.
  17. When I looked into it, it looks like the thread that checks the players crashed, restarting fixed the issue. But I am worried it will crash again
  18. Are you sure you're using BorderGuard? BorderGuard doesn't have a "thread that checks players".
  19. Offline


    Intelli the bukkit dev page is a bit out of date and marked inactive. Do you think you could/should change that.
    AS1LV3RN1NJA likes this.
  20. lol, if I set a border to round, does it be seen in dynmap as a round map?
  21. Offline


    I don't think it would, since chunks are square so even though you can't go past the border, the chunks which are visible beyond it would still show up on DynMap.
  22. Offline


    Are ops able to pass the border?
    Kieron Etherimgton likes this.
  23. A circle on Paint isn't perfectly round either!
  24. Offline



    Yes, but those are square pixels. Chunks are much larger.
  25. not if you have a big radius!
  26. Offline


    If you're not interested in the answer, why ask the question? Just do it yourself and find out then.
  27. Offline


    Update soon?
  28. Should be working fine on 1.2.4
  29. Offline


    It is.
  30. Offline


    could you add possibility of admin permission? In my opinion it would be good if admins could cross over border but normal players could not.

    Thx :)
  31. Offline


    A border wand would be pretty cool so you can mark the exit instead of extimating the size you want

Share This Page