[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

    sbeex

    Hello Intelli,
    first of all I would like to say Thank you for your plugins developpement. It's very usefull for a lot of servers.

    I just have a question about your plugin Borderguard. I need more than one square. (I have some "teams" and I want to make team A is blocked in squareA , teamB in squareB etc.) Is it possible to add a feature to create multiple borderguard square ? Thank you !
     
  3. Offline

    w000rm

    I think WorldGuard would do the job for this. I never tried it, though.
     
  4. Offline

    jake5434

    Is there any Permission Nodes
     
  5. Offline

    thorncrown

    What happens when I create in the nether a portal, which would be outside of the border i set at the mainmap? Is this a possibility to get behind the borderguard-border?
     
  6. Offline

    Intelli

    Thank you.
     
  7. Offline

    joshworx

    Do you think you could add in an option to make only SOME people have a border, with permissions?

    For example: I want my new members to only have access to a certain amount of the map, but I want to be able to go everywhere freely, as I am an admin.
     
  8. Offline

    Intelli

    Well, to be honest, that defeats the point of the plugin. The point is to prevent new chunks from being generated, which causes server lag, and such. It also keeps the save-file size down, and such.

    If you really want this though, send me a PM, and I'll send you a copy that doesn't restrict OPs.
     
  9. Offline

    ProjectInfinity

    I would really like to use this plugin for adventure maps and so on for my server, but one thing is annoying me. The lack of permission nodes for being able to use the command at all.
    Are you able to make a version that simply checks if the user has a node like borderguard.setborder ? If not, is the source code available anywhere?
     
  10. Offline

    KermMartian

    Thanks for this plugin; we find it to be invaluable. Unfortunately, recently users have been reporting an issue near the border set with BorderGuard, wherein being within 10 blocks or so of the border causes extreme lag to that user. I was wondering if anyone had encountered this sort of thing before, and if there might happen to be a way to repair it. Thanks in advance.
     
  11. Offline

    DemonCraft

    I have made a simple and easy to follow video guide for this Plugin.


    Watch my video about the Permissions, it'll explain everything to you.

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

    ProjectInfinity

    Your video did not help at all. I already knew all of this, issue is we are more than one person that needs to be doing this.
     
  13. Offline

    Kane

  14. Offline

    Dagumboss

    @Intelli I don't know if this has been suggested, but it would be cool if you could make smaller borders inside other borders. So you could make pvp zones and events closed in.
     
  15. Offline

    desron gaming

    Killer mod sir, thanks for the simple design and functionality!
     
  16. Thanks for this plug in.

    For all those people asking for extra features (for example Dagumboss), you probably want world guard or some other region setting plug in. I'm extremely happy with the simplicity and 'light weight' of this plug in, it is absolutely perfect for what I need and I'd hate to see it -and so my server- weighed down any more than it needs to be.
     
  17. Offline

    Scheb

    Will rectangle borders be supported in the near future?

    The reason, why I ask, is the upcoming 1.8 release. We want to extend our map-border to generate new 1.8-chunks in our 1.7-world, but instead of extending it in every direction, we want to extend it in only one direction. This will create a big area of 1.8-chucks instead of small stripes of 1.8-chunks at each border. I have a little picture to show you, what I mean:

    http://img705.imageshack.us/img705/3262/maperweiterung.jpg

    The problem is: this can only be done with a rectangular border and we prefer not switching our border-plugin, because we're very happy with this one. By the way: many thanks to the author, we love it :)

    (Yes, we know this plugin, but it seems kind of young and we're not sure how long it will be up to date. BorderGuard is the more future-safe solution.)
     
    fromgate and Nemo_The_Pirate like this.
  18. Offline

    Joggal

    @Intelli
    Maybe can you add an config entry with the shown message if you cross the border??
     
  19. Offline

    Intelli

    I can certainly add that, although I'm on vacation for about a week and a half. I'll add an option once I'm back at home - even if I make it so you need to manually edit the config file, that should be fine for your needs.
    It's on my to-do list :)
     
  20. Offline

    Scheb

    Sounds great, thank you. We're totally fine that. 1.8 will take a while until it's safe to use, so you don't need to hurry that much ;)
     
  21. Offline

    Intelli

    Just curious, should I change it so that instead of the first player who sets the border is the only one who can modify it, should I change it so only players in ops.txt can modify the border?

    Is there anyone who doesn't want this?
     
  22. Offline

    ProjectInfinity

    Do want! Even if it doesn't have permissions support, this would be enough for me to consider using BorderGuard.
    The fact that anyone could set a border before I did and then I couldn't do anything about it scared me.
     
  23. Offline

    TheSmokingMiner

    Quoting this because it seems to have been missed, and because I had questions along the same lines.

    Is the Nether considered a separate world, or a part of the main world? If I set a border in my Nether, will it interfere with/override my original border?

    Until Notch fixed the SMP Nether, I wouldn't have wondered, but now I'm not sure, and don't want to mess with it without knowing what will happen.
     
  24. Offline

    Intelli

    BorderGuard has multi-world support. If you do /setborder 1000 in your main world at x:0, z:0, you should then go in the nether to x:0, z:0, and do /setborder 125 (Because the main world is 8x larger)
     
  25. Offline

    Tanite

    Yeah, I want that too. Op or permissions would be fine.

    @Intelli

    Also, I don't understand this file format:

    Code:
    borderdata=Tanite,787.5,91.0,700.5,1400,myworld,square,, , worldmyskylands,
    borderdata=Tanite,-1.3101576153133394,64.0,0.6294287471666453,100,myotherworld,square,
    borderdata=Tanite,0.53125,85.0,0.6875,1000,myworld_nether,square,
    
    I have 4 worlds and it seems like the skylands one is tacked onto the end of the first line and the text "world" before "myskylands", I don't know what that is. Is it not one borderdata= line per world? It seems like sometimes it jams multiple things into one line and sometimes it creates another one. I'm afraid to modify it by hand when the server is off.

    Thx.
     
  26. Offline

    illusive101

    Whats the easiest way to generate the entire map inside of a border? (besides flying around...
     
  27. Offline

    Intelli

    Buggy buggy!

    It should be like this (manually edit it)

    Code:
    borderdata=Tanite,787.5,91.0,700.5,1400,myworld,square,
    borderdata=Tanite,-1.3101576153133394,64.0,0.6294287471666453,100,myotherworld,square,
    borderdata=Tanite,0.53125,85.0,0.6875,1000,myworld_nether,square,
    borderdata=Tanite,0,85,0,1000,myskyland,square,
    
    That is, assuming you want a 2,000 x 2,000 border for myskyland from x:0, z:0. Manually modify the config to alter it if you want otherwise.

    I'll be working on fixing this bug later today.

    http://forums.bukkit.org/threads/ad...-4-force-generate-map-chunks-1000-1060.30238/

    BorderGuard 4.20 is now live!

    This fixes the issue with save-files becoming corrupted with multiple worlds.
    It also cleans up the code, and improves performance.

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

    Arton

    Can i chose how hight peopels can get ? :p
     
  29. Offline

    MAup

    wondering, would it be possible for an admin to get outside the border?
    is there any way to make an area outside the border, and with a portal go between them?

    if not, would you concider adding this feature?
    For us who are hosting a RP server, this would be good way to make dungeons out of reach for those who are not supose to be there
     
  30. Not possible with this plugin. You could use WorldGuard to define a region that you can't enter for your dungeons.
     
  31. Offline

    djmanu

    151 recipes
    16 achievements
    09:19:08 [INFO] Starting minecraft server version Beta 1.7.3
    09:19:08 [INFO] Loading properties
    09:19:08 [INFO] Starting Minecraft server on *:25565
    09:19:08 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-970-g4345206-b1046jnks (MC: 1.7.3)
    09:19:09 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    09:19:09 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    09:19:10 [INFO] Entities enhanced[0] subclassed[1]
    09:19:18 [INFO] [Permissions] (Yeti) was initialized.
    09:19:18 [INFO] [Permissions] version [3.1.6] (Yeti) loaded
    09:19:18 [INFO] Preparing level "WORLD_MAIN"
    09:19:19 [INFO] Preparing start region for level 0 (Seed: -4444327057281929216)
    09:19:20 [INFO] Preparing spawn area: 85%
    09:19:20 [INFO] Preparing start region for level 1 (Seed: -8569518302443443763)
    09:19:22 [INFO] AntiHack version 2.1 is enabled with permissions!
    09:19:22 [INFO] AutoClear version 1.2 is enabled!
    09:19:22 [INFO] [AutoMessage] version [1.5] loaded
    09:19:22 [INFO] BorderGuard version 4.2 is enabled!
    09:19:22 [SCHWERWIEGEND] Error occurred while enabling BorderGuard v4.2 (Is it up to date?): 6
    java.lang.ArrayIndexOutOfBoundsException: 6
    at com.minerealm.borderguard.BorderGuard.onEnable(BorderGuard.java:63)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:164)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:148)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09:19:22 [INFO] [FalseBook Block] 3100 Books loaded!
    09:19:22 [INFO] FalseBookBlock v0.87alpha DEV#3 by GeMo enabled
    09:19:22 [INFO] [FalseBook Block] 2 Cauldrons successfully loaded.
    09:19:22 [INFO] FalseBookCart v0.87alpha DEV#3 by GeMo enabled
    09:19:22 [INFO] [FalseBook Chat] 0 ChatRooms loaded.
    09:19:22 [INFO] FalseBookChat v0.87alpha DEV#2 by GeMo enabled
    09:19:22 [INFO] [FalseBook Core] FalseBookCore v0.87alpha DEV#3 by GeMo enabled!
    09:19:22 [INFO] FalseBookExtra v0.87alpha DEV#3 by GeMo enabled
    09:19:22 [INFO] FalseBookIC v0.87alpha DEV#3 by GeMo enabled
    09:19:23 [INFO] [iConomy] Logging is currently disabled.
    09:19:23 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    09:19:23 [INFO] [iConomy] Developed by: [Nijikokun]
    09:19:23 [INFO] [iConomy] hooked into Permissions.
    09:19:23 [INFO] [iConomyChestShop] version 2.75 initialized!
    09:19:23 [INFO] [iConomyChestShop] iConomy version 5 loaded.
    09:19:23 [INFO] [iConomyChestShop] Permissions version 3.1.6 loaded.
    09:19:23 [INFO] MCBans: mcbans version 2.9.2 is enabled!
    09:19:23 [INFO] MCBans: Voting enabled!
    09:19:23 [INFO] MCBans: Checking for premium!
    09:19:23 [INFO] MCBans: Server is premium! you should download the premium plugin!
    09:19:23 [INFO] [MCServerlist] MCSL version 0.2 by Vimae Development, LLC enabled.
    09:19:23 [INFO] [Multiverse-Core] - Version 2.0-b249 Enabled - By Rigby and fernferret
    09:19:23 [INFO] [Multiverse-Core] - Attached to Permissions
    09:19:23 [INFO] [AllPay] - Version 1.0.3 - hooked into iConomy 5 for Multiverse-Core v2.0-b249
    09:19:23 [INFO] [Multiverse-Core] - Multiverse Config -- Loaded
    09:19:23 [INFO] [Multiverse-Core] - World Config -- Loaded
    09:19:23 [INFO] [Multiverse-Core] Loading World & Settings - 'WORLD_MAIN' - NORMAL
    09:19:23 [INFO] Preparing start region for level 2 (Seed: 846374585881651423)
    09:19:24 [INFO] [MCServerlist] Server updated on mcserverlist.net!
    09:19:26 [INFO] [Multiverse-Core] Loading World & Settings - 'GLM' - NORMAL
    09:19:26 [INFO] Preparing start region for level 3 (Seed: -2392233739981787751)
    09:19:29 [INFO] [Multiverse-Core] Loading World & Settings - 'WORLD_mining' - NORMAL
    09:19:29 [INFO] Preparing start region for level 4 (Seed: -4267145067060761004)
    09:19:32 [INFO] [Multiverse-Core] Loading World & Settings - 'FLATGRASS' - NORMAL
    09:19:32 [INFO] [Multiverse-Core] Loading World & Settings - 'WORLD_MAIN_nether' - NETHER
    09:19:32 [INFO] Preparing start region for level 5 (Seed: -1716425435)
    09:19:34 [INFO] [Multiverse-Core] Loading World & Settings - 'ADVENTURE' - NORMAL with seed: -1716425435
    09:19:34 [INFO] Preparing start region for level 6 (Seed: 255013732340706432)
    09:19:36 [INFO] [Multiverse-Core] Loading World & Settings - 'world_sphere' - NORMAL
    09:19:37 [INFO] [Multiverse-Core] 7 - World(s) loaded.
    09:19:37 [INFO] [MultiVerse-NetherPortals] - Version 2.0-b208 Enabled - By Rigby and fernferret
    09:19:37 [INFO] [MultiVerse-Portals] - Version 2.0-b210 Enabled - By Rigby and fernferret
    09:19:37 [WARNING] [MultiVerse-Portals] Failed Parsing World for: rapturetospawn (World Error, World did not exist or
    as not imported into Multiverse-Core!)
    09:19:37 [WARNING] [Multiverse-Core] Portal rapturetospawn has an invalid LOCATION!
    09:19:40 [INFO] [MultiVerse-Portals] 33 - Portals(s) loaded
    09:19:40 [WARNING] [Multiverse-Core] Portal rapturetospawn has an invalid DESTINATION!
    09:19:40 [INFO] [MyHome] 2157 homes loaded
    09:19:40 [INFO] [MyHome] Permissions enabled using: Permissions v3.1.6
    09:19:40 [WARNING] [MyHome] Help plugin not detected. Only providing help via /home help.
    09:19:40 [INFO] [MyHome] MyHome 2.0 enabled
    09:19:40 [INFO] [Permissions] SQL Interface enabled!
    09:19:40 [INFO] RegionClaim enabled.
    09:19:40 [INFO] ServerSave: Save interval is: 1200 seconds.
    09:19:40 [INFO] ServerSave: ServerSave enabled!
    09:19:40 [INFO] SimpleHelp V1.7 Enabled!
    09:19:40 [INFO] SimpleReserve version 0.2.6 enabled!
    09:19:40 [INFO] Found and will use plugin Permissions v3.1.6
    09:19:40 [INFO] SpawnX enabled
    09:19:40 [INFO] WelcomeMe version 1.3.0 is enabled!
    09:19:40 [INFO] WorldEdit 4.6 enabled.
    09:19:40 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    09:19:41 [INFO] [MultiVerse-Portals] Found WorldEdit. Using it for selections.
    09:19:41 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
     

Share This Page