[INACTIVE][MECH] BorderGuard v2.00 - Limit Your Map

Discussion in 'Inactive/Unsupported Plugins' started by Intelli, Jan 15, 2011.

     
  1. Offline

    Intelli

    BorderGuard Version 2.00

    This plugin prevents people from exploring beyond a defined border. The border can be either a physical border, or an invisible border. This plugin checks for all movement, including vehicle movement, and will keep you within the border even if you remain within a vehicle.

    For a more lightweight version of the plugin, without physical borders, check out BorderGuard Lite:
    http://forums.bukkit.org/threads/mech-borderguard-lite-v1-00-limit-your-map-188.3078/

    Download:
    http://minerealm.com/plugins/borderguard/BorderGuard.jar (v2.00)
    (If you appreciate this plugin, please feel free to leave a comment below. =])

    To set an invisible border:
    /setborder <distance> - Set the border, and the distance of the border from your current point.

    To set a physical border:
    /setborder <distance> <block id> - Set the border, the distance of the border from your current point, and the block ID for the border.

    For a list of block IDs, please refer to here: http://www.minecraftwiki.net/wiki/Data_values

    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.

    [IMG]

    Version History:
    V2.00 - Fixed vehicle bugs, made blocks outside border indestructible, added option for physical border.
    V1.20 - Fixed issue with error messages being displayed when animals were in vehicles.
    V1.10 - Now properly checks all vehicles (boats, minecarts, etc)
    V1.00 - First release.

    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. Large physical borders will generate the border as people get near the actual border area. This prevents large amounts of system resources being used when you first generate the border.
    3. Using the /disableborder command will remove the physical border (if set), and revert any blocks that were overwritten to their original state.
    4. When using the /setborder command, it will remove any existing borders.
    5. Physical borders are indestructible, regardless of the block used.

    Let me know if you have any questions, or find any problems.
    Enjoy!
    WolwX, MonsieurApple and David Diaz like this.
  2.  
  3. Offline

    Direct1221

    What build was this made on/for?
  4. Offline

    Intelli

    Not sure, but I downloaded the build about 5 hours ago. (Didn't note the build #)
    I'll test it with the most recent build shortly.

    Edit: Confirmed working with build 44+
  5. Offline

    TheArcher

    It works nearly exactly as detailed, thank you for the great plugin! The only problem is that "/removeborder" doesn't work.
  6. Offline

    Intelli

    Oops! The command is actually /disableborder
  7. Offline

    TheArcher

    ...and now it works exactly as detailed.

    A suggestion for the future is to keep it simple. I like the commands you've setup.
  8. Offline

    tekac

    @TheArcher what build are you using? Do you have Guardian working?
  9. Offline

    RustyDagger

    Now if only we had group set up and border inside border then it be real win
  10. Offline

    TheArcher

  11. Offline

    squatly

    What happens when you go over the border in a boat?
  12. Offline

    Intelli

    Edit: Updated! Now, if you're in a boat (or any other vehicle), it'll still prevent you from leaving the border.
  13. This comes in VERY handy. I can now allow my server not to have to load so much because wsomeone spent 2 hours running east too see how far they could get.... XD
  14. Offline

    ctx

    I was thinking of having multiple borders. Something like this venn diagram so it "combines" two borders:
    [IMG]


    Maybe I'll give a shot at making this ^^
    Pulec likes this.
  15. Offline

    Kane

    what happens if you warp or teleport outside the border? what would prevent people griefing by extending the map? Borderlands had a protection system for this in the past to prevent warps and such.
  16. Offline

    Intelli

    If at any point you're without the border zone, it'll put you back within the border zone.
    If you are found within a certain distance past the border zone, it'll send you back to the border set point.
  17. Offline

    TheArcher

    I don't see how the benefits could outweigh the complexity (unless the plugin developer continues his simplicity). What would you need multiple borders for?
  18. Offline

    ctx

    My players are picky where they build and what their surrounding looks like. I was thinking of this to reduce map size while giving players what they want. Before the 1.2 update my community's map reached 1.1GB. Some players found really awesome build spots.

    The map was too big to handle..
  19. Offline

    phaed

    Our map reached 4GB before the lag was killing us.
  20. Offline

    Fewmets

    I havn't used this yet so I'm not sure if it's a square or circle, but ellipse/rectangle shaped borders would be something I would use. I would definitely use something like this if you could have a larger z axis than x.
  21. Offline

    Intelli

    The plugin has now been updated to version 1.10

    This now properly checks all vehicles. If you attempt to cross the border in a vehicle, etc, it will return you to within the border (even if you don't leave the vehicle).
  22. Offline

    ctx

    That's huge, I drew a circle around my map before it got too big. i think it was 5000 radius with borderlands

    Lag wasn't an issue for me. It was a pain to download from the server...
  23. Offline

    tekac

    @ctx I was in a similiar boat. I had a 2GB map file due to letting people run unrestricted. Was near impossible to do Cartograph. Someone actually ran 20,000 blocks out and built a house.

    Now I have Borderlands ;)
  24. Offline

    Euthyphro

    Would be nice if this config could be loaded by a BorderGuard.properties file instead of in-game commands. :)

    Also confirmed it works with the most recent release of bukkit at the time of this post.
  25. Offline

    Intelli

    The in game commands generate a BorderGuard.properties file, which you can manually modify if you want to =]
  26. Offline

    Euthyphro

    I saw that after, lol. Great job :)
  27. Offline

    Atomix

    Can you please add an option for some groups to be able to go through a border?
    I am using BorderLands to prevent specific groups crossing a specific border, it would be nice if you added this feature.
    So for example, if I set a border1 at location1, then only group1 would be able to go through it, and border2 and location2 would be accessible only to group2.
    Thanks!
    Pulec likes this.
  28. Offline

    dnessman

    is the radius in blocks?
  29. Offline

    jblaske

    dev.bukkit.org profile:
    jblaske
    My Plugins
    Is this border based off of 0,0? or the current spawn? or what?

    We move spawn around on my server, but I don't want the border to change.
  30. Offline

    Intelli

    The border is based of the point you set it at. So you go to a point, type "/border (size)", and the border will be around that point. It'll stay based off that point, regardless where spawn is moved to.

    Yes, so set a border of 5, and it'll be 5 blocks in each direction from the point set.
  31. Offline

    Direct1221

    Just popped back in to let you know... This still works flawlessly in Build #61 :)

Share This Page