Inactive [MECH][ADMIN] bZone v1.3.3 - Simple zone control [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by Brad811, May 1, 2011.

  1. Offline

    Brad811

    bZone - simple zone control
    Download: bZone BukkitDev IMPORTANT: The creatures section of the config file now controls which creatures can NOT spawn inside the zone!
    If you like the work I've done, or would like to see more features and improvements, please consider donating!
    Version: v1.3.4

    Supporters:
    OzRavenheart - $10
    JemiloII - $5

    Features:
    • customizable zones
    • control which creatures can spawn in each zone
    • control who has rights in each zone
    • multi-world support
    • healing
    • build protection
    • chest protection
    • fire protection
    • explosion protection
    • wilderness control
    • custom messages upon entering zones
    • custom messages upon protection actions
    Known Issues:

    • you can place doors and one or two other items in build protected zones
    Try it out!


    Commands:
    /zone - tells the player which zone they are currently in

    Usage:
    Define your zones like in the included example zones.yml file. Anything outside of all known zones is the wilderness, and is protected.

    YML settings explained:
    zones:
    __[zone name or zone owner's player handle]: if a player has the zone's name as their minecraft name, they will have rights in this zone
    ____world: [world name] which world this zone is in
    ____enterMsg: [message] OPTIONAL, message to player upon entering zone
    ____min: [x,y,z] minimum coordinates of the zone (bottom left corner of your zone, basically)
    ____max: [x,y,z] minimum coordinates of the zone (top right corner)
    ____healing: [true/false] whether this zone should heal players while they are in it
    ____pvp: [true/false] whether this zone is pvp or not
    ____players: other player that have rights in this zone
    ______- 'playername1'
    ______- 'playername2'
    ____creatures: list of creatures NOT allowed to spawn in this zone
    ______-'spider'
    ______-'sheep'
    ______-'creeper'
    ____protection:
    ______build: [true/false] OR [true/false],[msg] whether other players can build in this zone (if not owner and not listed in players list)
    ______explosion: [true/false] OR [true/false],[msg] whether explosions are cancelled in this zone
    ______chest: [true/false] OR [true/false],[msg] whether other players can open chests in this zone or not
    ______fire: [true/false] OR [true/false],[msg] whether fire is cancelled in this zone or not

    Wilderness Control:
    The wilderness can be controlled by a zone named "wilderness" in the config file.
    The only differences are that it has no min or max coordinates and has the property hurting instead of healing, which sets whether players will be damaged while in the wilderness. Players listed in the players section of the wilderness will not be harmed while in the wilderness, and will have rights in the wilderness.

    1.3
    • Added pvp option
    • Added optional customized messages upon entering zones
    • Added optional customized messages upon protection actions
    1.2
    • Changed from creatures allowed to spawn, to creatures not allowed to spawn
    • Now protects against placing water and lava
    • Simplified coordinates input (automatically fixes out-of-order coordinates)
    1.1
    • Wilderness options added
    1.0
    • Initial release!
     
    rameil and megaman0122 like this.
  2. Offline

    contex

    This subforum is for plugin submissions only.
    You could release it, but if you want to ask others what they think, post it under this sub-forum: http://forums.bukkit.org/forums/61/
     
  3. Offline

    Horia0310

    Great! I would need it!!!
     
  4. Offline

    TACTICALboom

    kool. give Download link bro.
    I Thought i would like this, and i do :)
     
  5. Offline

    vekiorus

    I would need it, it looks much more simple than the ones out there.
    Please release or PM me it if you're not gonna release <3
     
  6. Offline

    Brad811

    Ah ok, thank you.

    Ok, well I'll go ahead and upload it and put it on here as soon as I get back to my computer!
     
  7. Offline

    goldgamer328

    asome i have been looking for a simple zone protection since others are exreamly complicated. But i have a question i am probably just being a newb but i looked in the zip and things so how do a set the zone. is there a wand or command to do that. and is it possible to protect a zone so that any one may enter but only certain people can take stuff down or build.
     
  8. hey Brad, i cant download it... can u upload on another link??
    thank u =)
    i really need it!!
     
  9. Offline

    EmanuxJade

    waiting for this plugin *-*

    i hope that u add commands and permissions list
     
  10. Offline

    thepackett

    wait, what would "wilderness protection" do?
     
  11. Offline

    ST-DDT

    Could you please add an porper description of the config file please?
    Including all properties and functions.
    What does the player property?
    I would sugest an full permissions support.
    if you deny building in ZONENAME a player or group with zone.ZONENAME.allowbuild permission is able to build within that zone. And those permissions schould be writen in the permission files. Because its easier to handle permissions in one plugin

    Feature wishes:
    Zone enterpermission
    Zone enter /leave message
    zone owners (able to invite etc little config)
    zone admins (able to config all settings)
    Childzones with inherited permissions zone.PARENT.Child.*
    destruction permission
    door protection?
    -temporary invitations
    healing?
    -interval
    -insidetime (time inside zone)
    -idletime (do nothing)
    -bedonly (private house)

    Last but not least very nice plugin take a look at epiczones for adition features.
     
  12. Offline

    Brad811

    Well for example, keep people from building or doing anything else you don't want them doing outside of all defined zones. Or maybe you want people to start taking damage if they go too far from a certain area, so they don't overload your server with chunk generation. There are lots of possibilities.

    There, I added some explanation of the config file, I hope that helps some. Thanks for all the feature suggestions!
     
  13. Offline

    vekiorus

    Is there a way you could make a setting so the "wilderness" isn't protected?
    If it is there, I didn't see it, my bad.
     
    MCbyWay likes this.
  14. Offline

    MCbyWay

    I'm wondering this as well, I was wondering if I could use this plugin to define towns on my server but if unidentified zones are protected that will be a bit of an issue for me.
     
  15. Offline

    thepackett

    can you turn wilderness protection off?
    and can you select regions in game?
    if you can't do one or either of these then it would be nice to see in the future :D
     
  16. Offline

    xXChaosWorldXx

    Wow Dude, this is simpler than WorldGuard Ty
     
  17. Offline

    Brad811

    I'm probably gonna add some wilderness options in the next version.

    You're welcome, thank you for the positive feedback!

    Updated to 1.1, added wilderness options!

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

    xXChaosWorldXx

    just a suggestion if it could be even more simple if you could make an in game zone selector? cause having to get out of the game and set the zones is kinda tedious? dont you think?
     
  19. Offline

    Mrono

    How do you do groups?
    Do you have to enter the coords manually? :(
     
  20. Offline

    zerosen

    i have a glitch that the creepers cannot explode in the wilderness zones even if i change the setting to false. did i config it correctly?

    wilderness:
    world: bukkit
    hurting: false
    players:
    - 'player1'
    creatures:
    - 'pig'
    - 'cow'
    - 'wolf'
    - 'skeleton'
    - 'creeper'
    - 'zombie'
    - 'spider'
    protection:
    build: false
    explosion: false
    chest: true
    fire: false
     
  21. Offline

    Brad811

    Probably just something I forgot to fix with wilderness options. I'll look into it.

    I may try adding in game zone creation, by hitting two blocks that will mark the corners of the zone. It will be a 2D zone selection. Then perhaps set options like so
    To add a player to a zone:
    /zone [zone name] +player [player name]
    To remove a player to a zone:
    /zone [zone name] -player [player name]
    To add a creature to a zone:
    /zone [zone name] +creature [creature name]
    To add protection to a zone:
    /zone [zone name] +protection [protection type]
    And so on.

    What do y'all think?
     
  22. Offline

    moonjokes

    Can you add the ability to limit the number of players to be inside a zone at once?
     
  23. Offline

    Gamer_169

    I gotta problem :( I tried to make my spawn zone but whenever i check what zone im in it still says wilderness.
    u see any problems? please tell me if im just being a newb
    zones:
    spawn:
    world: world
    min: -55,65,-172
    max: -117,118,-224
    healing: true
    players:
    - 'gamer_169'
    creatures:
    - 'pig'
    - 'cow'
    - 'chicken'
    protection:
    build: true
    explosion: true
    chest: false
    fire: true
    wilderness:
    world: world
    hurting: false
    players:
    - 'player1'
    creatures:
    - 'pig'
    - 'cow'
    - 'wolf'
    - 'skeleton'
    - 'creeper'
    protection:
    build: false
    explosion: true
    chest: false
    fire: true
     
  24. Offline

    Brad811

    Ah, -55 is bigger than -117, and -172 is bigger than -224. Should be:
    Code:
    min: -117,65,-224
    max: -55,118,-172
     
  25. Offline

    Gamer_169

    sorry thats still not working, is it ment to go in the order of 'x, y, z' ?
     
  26. Offline

    Brad811

    Yes, that is the correct order.

    Well it could be a number of things, I wouldn't know without looking at anything. Are you certain you're within those coordinates? Is the plugin enabled? Are there any tabs in your yml file instead of spaces?
     
  27. Offline

    Gamer_169

    I'll try checking everything again
    -I found some tabs in the file
    now its saying this
    10:51:34 [SEVERE] while parsing a block collection; expected <block end>, but fo
    und Key loading bZone v1.1 (Is it up to date?)
    while parsing a block collection
    in "<reader>", line 10, column 13:
    - 'pig'
    ^
    expected <block end>, but found Key
    in "<reader>", line 13, column 13:
    protection:
    ^
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:520)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
    at com.bradsproject.BradleyJewell.bZone.bZone.parseConfig(bZone.java:132
    )
    at com.bradsproject.BradleyJewell.bZone.bZone.onEnable(bZone.java:76)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:676)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:249)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  28. Offline

    GilgameshTT

    Not sure if this will help fix your problem, but try a YAML validator such as http://instantyaml.appspot.com/ to check for syntax errors.

    I came here to ask about PvP support. Is there an option to enable/disable PvP in individual zones or plans to add it in the future?

    Also, I am using Nethrar and running a second world by the name of "Midgar-Nether" with my original world named "Midgar." The zones set in bZone specifically for "Midgar" exist in the nether. Thanks in advance. This plugin has been perfect so far.

    Code:
    zones:
        Midgar:
            world: Midgar
            min: 108,32,-95
            max: 324,82,88
            healing: true
            players:
                - 'omitted'
            creatures:
                - 'pig'
                - 'cow'
                - 'chicken'
                - 'sheep'
            protection:
                build: false
                explosion: true
                chest: false
                fire: true
        wilderness:
            world: Midgar
            hurting: false
            players:
                - 'omitted'
            creatures:
                - 'pig'
                - 'cow'
                - 'chicken'
                - 'sheep'
                - 'wolf'
                - 'skeleton'
                - 'creeper'
                - 'zombie'
                - 'spider'
            protection:
                build: false
                explosion: false
                chest: false
                fire: false
     
  29. Offline

    Gamer_169

    Hey i copyed and pasted ur code thing into mine edited it a bit and now its working fine! maybe i did something wrong....
     
  30. Offline

    Brad811

    Yes, I would definitely like to add this option in the future. I just need my buddy to get online more often so I can test it! haha
     

Share This Page