[SEC/MECH/FUN] PreciousStones - Block Area Proteciton System [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by phaed, Jan 18, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    phaed

  2. Offline

    shadydeath999

    i cant use the stones none of the commands work running build 465
     
  3. Offline

    phaed

    Yep I know about it, its on my todo list
    --- merged: Mar 1, 2011 6:40 AM ---
    Im releasing 2.6 tonight that will have this working with newer cb builds.
    --- merged: Mar 1, 2011 8:59 AM ---
    Change log
    Version2.6
    • Upgraded commands to new system
    • Added Help plugin support
    • Added /ps fields command to check out the field configurations from in-game
    • Using different copying method
    • Forces save of save files even if it cannot backup old one
    New version out!
     
  4. Offline

    shadydeath999

    ok i dont know if it was a already know bug but when a player is killed by jack-o-death inventory items dont drop
     
  5. Offline

    phaed

    Yep its been reported to me, thanks, working on that
     
  6. Offline

    mrgreaper

    2.6 works fantasticly on CB480 thank you
     
  7. Offline

    dirkson

    I love this mod, but it has an annoying issue with saving, in that it frequently doesn't before the server goes down/crashes. Could you make it autosave with some frequency? Even once an hour or so would really improve things, I think.
     
  8. Offline

    SweetCraft Girl

    Hi Everyone! I know you all love this plug-in as much as i do. No matter the bug it is worth waiting out the fix.

    So, LETS SHARE OUR PRECIOUS STONES!!!! Let's share our ideas and who knows, maybe you will like what you see others have done:

    Here are mine. We run an RPG PVP Survival server. Some of these stones are Quest rewarded only, so very epic!
    Code:
    -
    title: "Jack-o-Death"
    block: 91 (Jack o lantern)
    radius: 5
    breakable: true
    slow-damage: true
    -
    title: "Glow-of-Life"
    block: 89 (glow stone)
    radius: 5
    breakable: true
    slow-heal: true
    -
    title: "Shield of Carthage"
    block: 90 (portal block)
    radius: 99 (The Ultimate in Nation/City Protection)
    breakable: true
    custom-height: 128
    prevent-fire: true
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: true
    prevent-unprotectable: false
    slow-heal: true
    instant-heal: false
    guard-dog: true
    nameable: true
    welcome-message: true
    farewell-message: true
    -
    title: "Shield of Tyr"
    block: 57 (Diamond Block)
    radius: 24 (Town-City-Nation protection)
    breakable: true
    custom-height: 24
    prevent-fire: false
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: false
    prevent-unprotectable: false
    guard-dog: false
    nameable: false
    welcome-message: false
    farewell-message: false
    -
    title: "Shield of Beset"
    block: 22 (Lapis Block)
    radius: 12 (Large home and small town protection)
    breakable: true
    custom-height: 12
    prevent-fire: false
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: false
    prevent-unprotectable: false
    guard-dog: false
    nameable: false
    welcome-message: false
    farewell-message: false
    -
    title: "Eyes of Thoth"
    block: 47 (Bookcase )
    radius: 6 (Personal home security system - each bookcase has a sticker for your door & windows to scare of burglars)
    breakable: true
    custom-height: 6
    prevent-fire: false
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: false
    prevent-unprotectable: false
    guard-dog: true
    nameable: false
    welcome-message: true
    farewell-message: false
    -
    title: "Shield of Oriax"
    block: 49 (Obsidian)
    radius: 8 (Stops Creepers and TNTers from destroying you and your hard labor)
    breakable: true
    prevent-entry: false
    prevent-fire: false
    prevent-place: false
    prevent-destroy: false
    prevent-explosions: true
    prevent-unprotectable: false
    guard-dog: false
    -
    title: "Peace of Cake"
    block: 92 (cake block)
    radius: 5 (Put down some cake, and have a peace - stops unwanted touching)
    breakable: false
    prevent-pvp: true
    prevent-fire: false
    prevent-place: false
    prevent-destroy: false
    prevent-explosions: false
    nameable: false
    welcome-message: false
    farewell-message: false
    -
    title: "Natures Calm"
    block: 18 (leaf block - can only be GM/Quest reward)
    radius: 64
    custom-height: 128
    breakable: true
    prevent-pvp: true
    prevent-fire: true
    prevent-place: false
    prevent-destroy: true
    prevent-explosions: true
    slow-heal: true
    nameable: true
    welcome-message: true
    farewell-message: true
    -
    title: "Sweet Blessing"
    block: (secret) radius: 10
    custom-height: 128
    breakable: true
    prevent-pvp: true
    prevent-fire: true
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: true
    slow-heal: true
    nameable: false
    welcome-message: true
    farewell-message: true
    -
    title: "Sweet Revenge"
    block: (secret) radius: 10
    custom-height: 128
    breakable: true
    prevent-pvp: false
    prevent-fire: false
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: false
    slow-heal: true
    slow-damage: true
    nameable: false
    welcome-message: false
    farewell-message: true
     
  9. Offline

    phaed

    The problem with this is that if your server crashes the minecraft blocks that were placed would get rolled back, and if PS would have been saving periodically, you would have a bunch of orphaned unbreakable blocks and fields all over the place. By PS saving when the world is saved means that if your world gets rolled back cause of a crash the PSs that were placed would also be rolled back preserving synchronicity with the world.

    Before 2.0 PS would actually save on every block place and removal, so everything was recorded on the spot. But after awhile people would start seeing randome unbreakable and protected blocks about their world that were not belonging to any pstones. This happened just because of this, because their world crashed, and their world blocks were rolled back yet pstones save files showed those blocks as existing.

    With 2.6 now the saving is alot better, there shouldnt be any files going blank now unless you kill your server right in the middle of the save operation and you corrupt the save files yourself. But even so PS now saves all the old save files in the "plugins/PreciousStones/old" directory, so even then you shoudl be able to recover fairly easily.
    --- merged: Mar 1, 2011 8:32 PM ---
    Very nice!

    p.s. you could make you config alot cleaner by leaving out any false values from the force-fields . Everything left out defaults to false ;) Also you can edit your post and put the list inside a code block, and it will make it easier to copy paste as it will preserve all spacing exactly also it will put the list on a box with a scrollabr :p
     
    SweetCraft Girl likes this.
  10. Offline

    SweetCraft Girl

    Most excellent! Yes, i kinda did a noob paranoid thing "If its not false it must be true!" Ahh CODE BLOCK, thats how you guys get all your little buttons that say "spoiler" etc.

    Will do!

    Done - Mouse trap in place, watch out!
     
  11. Offline

    dmower

    I can't figure out if I'm doing something wrong, but I can't seem to get this plugin to work properly.

    The commands seem to work fine (/ps list, etc) but no matter how I configure things, no force fields are created when I place a block of the proper type.

    I've tried both with a custom set of block configurations and also with the default config, but neither seems to make a difference.

    I'm set with permissions for * as an admin so I should be ok permissions wise.

    Running build 440 and tried with PreciousStones 2.5 and 2.6
     
  12. Offline

    phaed

    hmmmm. Do you get any messages like "Force field placed" or something? Also what do the logs say when you try to place a block? After you place ablock try the command /ps info, does it show that a field exists? Also check the configuration in game, try /ps fields. If PS read your configuration file correctly it should show you a list of force-fields in there.
     
  13. Offline

    dmower

    No "Force field placed" messages, /ps info says "No force-fields found"

    /ps fields shows the list of configured field types.

    I'm not getting any messages in the logs (server.log right?) when I place a block, or remove it for that matter.
     
  14. Offline

    phaed

    Hmm.. What are the messages PS says on load? What permissions system are you using?
     
  15. Offline

    dmower

    Ok, strangest thing... I just went through removing all my plugins besides Permissions (phoenix 2.5) and PreciousStones 2.6 and it started working after a server restart. I then added back the plugins one at a time and now they're all enabled and it's all working as it should. [​IMG]
     
  16. Offline

    phaed

    Weird, maybe a conflict with one of the plugins loading up before pstones. In any case, glad to hear everything is resolved. :)
     
  17. Offline

    Latros

    preventing PVP in areas isnt working

    cbb build 482
    most recent preciousstones

    preciousstones config:

    (see my "town protection" brick)

    Code:
    bypass-blocks: [8,9,10,11,39,40,51,59]
    unbreakable-blocks: [41]
    unprotectable-blocks: [54,58,61,62]
    force-field-blocks:
        -
          title: "Glow-of-Life"
          block: 89
          radius: 5
          breakable: true
          slow-heal: true
        -
          title: "Block Protection"
          block: 19
          radius: 5
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          prevent-unprotectable: true
          nameable: true
          welcome-message: true
          farewell-message: true
        -
          title: "Town Protection"
          block: 88
          radius: 20
          prevent-pvp: true
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          prevent-unprotectable: true
          nameable: true
          welcome-message: true
          farewell-message: true
    log:
        entry: false
        fire: true
        pvp: false
        place: false
        destroy: false
        destroy-area: false
        unprotectable: true
        bypass-pvp: true
        bypass-delete: true
        bypass-destroy: true
        bypass-unprotectable: true
        conflict-place: true
    notify:
        place: true
        destroy: true
        bypass-place: true
        bypass-destroy: true
        bypass-unprotectable: true
        guard-dog: true
    warn:
        entry: true
        fire: true
        pvp: true
        place: true
        destroy: true
        destroy-area: true
        unprotectable: true
        instant-heal: true
        slow-heal: true
        slow-damage: true
    settings:
        public-block-details: false
        allowed-can-break-pstones: true
        sneaking-bypasses-damage: true
        drop-on-delete: true
        disable-alerts-for-admins: true
        disable-bypass-alerts-for-admins: false
    --- merged: Mar 2, 2011 1:01 AM ---
    Damnit I missed Phaed by like 10 minutes :(
     
  18. Offline

    phaed

    Will check on this.
     
  19. Offline

    habbah

    :( i cant set names anymore /ps setname name just shows me the need help type /ps info, precious stones randomly stop creating forcefeilds when placed in a certin area (this is not because there is another forcefeild around also the block still gets placed) and even tho im well outside of a forcefeild area it says cannot be placed here and wont let me place it...

    edit: cb version 440 precious stones 2.6
     
  20. Offline

    phaed

    Can you paste your config file in a code block here?
     
  21. Offline

    habbah

    Code:
    bypass-blocks: [8,9,10,11,39,40,51,59]
    unbreakable-blocks: [41]
    unprotectable-blocks: []
    force-field-blocks:
        -
          title: "Jack-o-Death"
          block: 91
          radius: 5
          breakable: true
          slow-damage: true
        -
          title: "Glow-of-Life"
          block: 89
          radius: 5
          breakable: true
          slow-heal: true
        -
          title: "City Protection"
          block: 14
          radius: 20
          custom-height: 15
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          prevent-unprotectable: true
          guard-dog: true
          nameable: true
          welcome-message: true
          farewell-message: true
        -
          title: "Entry Bouncer"
          block: 22
          radius: 5
          prevent-entry: true
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          prevent-unprotectable: true
          guard-dog: true
        -
          title: "Peace Keeper"
          block: 19
          radius: 10
          prevent-pvp: true
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          nameable: true
          welcome-message: true
          farewell-message: true
        -
          title: "Track"
          block: 66
          radius: 1
          custom-height: 3
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          prevent-unprotectable: true
          guard-dog: true
          nameable: true
          welcome-message: false
          farewell-message: false
    log:
        entry: false
        fire: true
        pvp: false
        place: false
        destroy: false
        destroy-area: false
        unprotectable: true
        bypass-pvp: true
        bypass-delete: true
        bypass-destroy: true
        bypass-unprotectable: true
        conflict-place: true
    notify:
        place: true
        destroy: true
        bypass-place: true
        bypass-destroy: true
        bypass-unprotectable: true
        guard-dog: true
    warn:
        entry: true
        fire: true
        pvp: true
        place: true
        destroy: true
        destroy-area: true
        unprotectable: true
        instant-heal: true
        slow-heal: true
        slow-damage: true
    settings:
        public-block-details: false
        allowed-can-break-pstones: true
        sneaking-bypasses-damage: true
        drop-on-delete: true
        disable-alerts-for-admins: true
        disable-bypass-alerts-for-admins: false
     
  22. Offline

    oatmealpacket

    Code:
    [SEVERE] java.util.LinkedHashMap cannot be cast to java.util.ArrayList (Is it up to date?)
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.ArrayList
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.loadConfiguration(SettingsManager.java:81)
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.<init>(SettingsManager.java:69)
            at net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.onEnable(PreciousStones.java:50)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:79)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:60)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    This is occurring on #440 even when running clean other than PreciousStones. Would appreciate some help as I have some ideas in mind for this plugin on my server.

    EDIT: Nevermind, seems to have been some kind of error in my configuration. Reloading it fresh and configuring from there worked.
     
  23. Offline

    mrgreaper

    alos unable to use /ps setname was in the middle of a how to video and "and then /ps setname name you want and viola... ok /ps help yep right command bugger"

    also on tkellys help some commands are showing as // (tried them with // and nought happened)

    im on cb480
    ps 2.6

    Creating how to`s on all the plugins for our server this is our precious stones one http://www.youtube.com/watch?v=3CxjB_ijKmU
    as i say though the setname command didnt work during it
    the plugin is soo easy to use it doesnt really need a video but meh lol
     
  24. Offline

    phaed

    Change log
    Version2.61
    • Fixed thee // in help display
    • Fixed /ps setname
    --- merged: Mar 2, 2011 6:04 PM ---
    This vid is awesome :D
     
  25. Offline

    Bill Warner

    I know it may require more to track users login times, but would it be possible to set a time limit on stones placed by users that may no longer play on a server any more? Say, no login for 7/30/60/90 days then all their blocks get removed? A message when placed saying it will expire x days of not logging in would be nice too.
     
  26. Offline

    27ace27

    I'm having a weird problem where the pstones wont save automatically, so if I restart the server, the blocks will still be there, but the protection will be gone.
     
  27. Offline

    phaed

    PS version and CB version?
     
  28. Offline

    27ace27

    Running CB 458, PS 2.6.1 and these plugins;

    bflight
    BorderGuardLite
    Flashlight
    Flat Earth
    General
    Guestbook
    iGrow
    MiningTNT
    Multiverse
    MultiInv
    Permissions
    SelfClosingDoors
    SignReadMore
    SpawnControl
    TravelPortals
    Uptime
    WorldEdit
     
  29. Offline

    phaed

    Hmm. Good idea, I'll add to TODO list.
     
  30. Offline

    dirkson

    Well, my users have stopped complaining that preciousstones fields are vanishing. Hopefully that's good, although I don't know why they did.

    However, I've gotten a couple reports that the plugin doesn't protect paintings, I just thought I'd pass that along.
     
  31. Offline

    NateFlax

    Thanks phaed! The 2.6 did the trick for me! Server is back to normal with happy miners! Big thumbs up for you! Thanks! We all love this plugin![​IMG]
     
Thread Status:
Not open for further replies.

Share This Page