[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

    phaed

    I will try to check on all these tomorrow. Commited to github :)
    --- merged: Feb 24, 2011 5:04 AM ---
    This too, very weird.
     
  3. Offline

    Axrael999

    This mod is EXACTLY what we were looking for in terms of a chaos style server. You hit the nail on the head disallowing chests and the like from the protected zones.
    I loaded it up tonight and while myself and the other admin were able to set zones, our default group users were not able to and they did not have any /ps commands even though i have the permissions set correctly. Also reporting /ps set owner not to work and the chat spam. Otherwise this mod is amazing, and i can't wait to further use it!!
     
  4. Yes this mode is very nice, But I meet a problem :

    - I installed(settled) group manager 0.9 via essentials pack
    I have definis authorizations as this:
    Code:
    groups:
        Newbie:
            default: true
            info:
                prefix: '&7'
                suffix: ' Noob'
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
        Membre:
            default: false
            info:
                prefix: '&a'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.motd'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist.*'
        Modo:
            default: false
            info:
                prefix: '&c'
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.give'
                - 'preciousstones.bypass.*'
                - 'preciousstones.alert.*'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'preciousstones.admin.*'
                - '*'
    Authorizations work perfectly because the Members can build blocks etc....
    On the other hand as admin the function(office) / ps setowner [ player ] does not work.

    - Once blocks implementation, me makes / ps reload to protect blocks and them places. When I edit the file Forcefields.txt or Unbreakables.txt there is anything has the interieur. when I boost(send a reminder) the waiter(server) I see in the console this:
    2011-02-24 11:15:45 [INFO] Preparing start region
    2011-02-24 11:15:46 [INFO] Loaded Essentials build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] Loaded EssentialsBan build 231 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-24 11:15:46 [INFO] Loaded EssentialsChat build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] Loaded EssentialsEco build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] Loaded EssentialsGod build 231 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-24 11:15:46 [INFO] GroupManager - Scheduled Data Saving is set for every 10 minutes!
    2011-02-24 11:15:46 [INFO] GroupManager version 0.9e is enabled!
    2011-02-24 11:15:46 [INFO] Fake Permissions version 2.0 is enabled!
    2011-02-24 11:15:46 [INFO] Loaded EssentialsHelp build 231 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-24 11:15:46 [INFO] Loaded EssentialsHome build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] Loaded EssentialsSpawn build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] Loaded EssentialsTele build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] Loaded EssentialsWarp build 231 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-24 11:15:46 [INFO] [PreciousStones] version [2.3] loaded
    2011-02-24 11:15:46 [INFO] [PreciousStones] loaded 0 unbreakable blocks
    2011-02-24 11:15:46 [INFO] [PreciousStones] loaded 0 forcefield blocks
    2011-02-24 11:15:46 [INFO] Done (1080434453ns)! For help, type "help" or "?"
    2011-02-24 11:16:13 [INFO] 143 recipes

    Here we are, I know not so I forget one function(office)? Can etre can you say to me what I forget?

    In any case thank you for your help(assistant).

    Otakey
     
  5. Offline

    Beatkidz

    CB build #432
    I use WorldGuard and your plug-in. when i have Worldguard instakked you plug-in loads but does nothing when i place a block down. if i run the server with just PS installed i get this

    Code:
    2011-02-24 12:50:35 [INFO] Starting minecraft server version Beta 1.3
    2011-02-24 12:50:35 [INFO] Loading properties
    2011-02-24 12:50:35 [INFO] Starting Minecraft server on *:25565
    2011-02-24 12:50:35 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-450-gd3c1ba4-b432jnks (MC: 1.3)
    2011-02-24 12:50:35 [INFO] Preparing level "world"
    2011-02-24 12:50:35 [INFO] Preparing start region
    2011-02-24 12:50:36 [INFO] [PreciousStones] version [2.3] loaded
    2011-02-24 12:50:36 [INFO] [PreciousStones] loaded 0 unbreakable blocks
    2011-02-24 12:50:36 [INFO] [PreciousStones] loaded 0 forcefield blocks
    2011-02-24 12:50:36 [INFO] [PreciousStones] Permission system not enabled. Disab
    ling plugin.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:36 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:37 [WARNING] Plugin 'PreciousStones' (ver 2.3) is registering e
    vents before it is enabled. It may be misbehaving and the author needs to fix th
    is.
    2011-02-24 12:50:37 [INFO] Done (1288235973ns)! For help, type "help" or "?"
    2011-02-24 12:51:00 [INFO] 143 recipes
    2011-02-24 12:51:00 [INFO] beatkidz [/192.168.1.1:62097] logged in with entity i
    d 177
    2011-02-24 12:51:21 [INFO] beatkidz issued server command: give beatkidz 57
    2011-02-24 12:51:21 [INFO] beatkidz: Giving beatkidz some 57
    2011-02-24 12:51:28 [SEVERE] Could not pass event BLOCK_PLACED to PreciousStones
    
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
            at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSBlockListener.on
    BlockPlace(PSBlockListener.java:170)
            at org.bukkit.plugin.java.JavaPluginLoader$22.execute(JavaPluginLoader.j
    ava:237)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:107)
            at net.minecraft.server.ItemStack.a(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:160
    )
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 15 more
    
    opps forgot permissions

    After installing permission 2.1 i don't get any response form the plug-in at all. any block i put down does nothing.
    It still says its running when i start the server though
    --- merged: Feb 24, 2011 6:36 PM ---
    i tried up and down with just permissions and PS installed to get this to work. tried CB#424,432 and nothing with each build. what the hell am i doing wrong here?.
     
  6. Offline

    phaed

    Redownload 2.2 and let me know if the fix fixes your problem.
     
  7. Offline

    Beatkidz

    ok i will do a quick test with just CB#432,424, permissions and PS. be back in a sec
    --- merged: Feb 24, 2011 8:17 PM ---
    CB#424
    Permissions 2.1
    Fresh PS Downlaod

    Everything boots normal
    i Log into server
    i spawn a Diamond block
    When i place the block the console reads "Loaded World: World" once
    then Nothing at all after

    Code:
    2011-02-24 15:14:06 [INFO] Starting minecraft server version Beta 1.3
    2011-02-24 15:14:06 [INFO] Loading properties
    2011-02-24 15:14:06 [INFO] Starting Minecraft server on *:25565
    2011-02-24 15:14:06 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-444-g9e8ca13-b424jnks (MC: 1.2_01)
    2011-02-24 15:14:06 [INFO] Preparing level "world"
    2011-02-24 15:14:06 [INFO] Preparing start region
    2011-02-24 15:14:07 [INFO] Preparing spawn area: 73%
    2011-02-24 15:14:08 [INFO] [Permissions] version [2.1] (Handler) loaded
    2011-02-24 15:14:08 [INFO] [PreciousStones] version [2.3] loaded
    2011-02-24 15:14:08 [INFO] [PreciousStones] loaded 0 unbreakable blocks
    2011-02-24 15:14:08 [INFO] [PreciousStones] loaded 0 forcefield blocks
    2011-02-24 15:14:08 [INFO] Done (1625593719ns)! For help, type "help" or "?"
    2011-02-24 15:14:50 [INFO] 143 recipes
    2011-02-24 15:14:50 [INFO] beatkidz [/192.168.1.1:59051] logged in with entity i
    d 214
    2011-02-24 15:14:54 [INFO] Loaded world: world
    
     
  8. Offline

    Avous

    i have a newby question... how do i place precious stones blocks and then if i want to place regular blocks of the type of blocks without the effects how do i do that. or does all diamond blocks for example put off city protection and i cant toggle some blocks to have it and some to not then finally will anyone who places those blocks get the effects? or just the people i add to the whitelist
     
  9. Offline

    phaed

    This cant be done yet. After all bugs have been ironed out I wil start adding features again.
     
  10. Offline

    Avous

    ok thank you! i cant wait for that option! this and world guard will be the heart of my rp server :p
     
  11. Offline

    Beatkidz


    Please let me know if i'm doing something wrong. is anyone else getting this to work right now? i can try another build or something
     
  12. Offline

    SweetCraft Girl

    Here is our plugin set that works with Precious Stones - for the most part. We have not ran into any show stopping errors. Precious Stones i the #1 defensive/protective method we use. We do not allow stones to protect chests, - LWC is for that.

    The Primaries: (all plugins, are the most recent by the original creator as of today Feb24)

    * craftbukkit [432]
    - iConomy 2.2b (niji-love)
    - Towny
    - MC MMO
    - Dynamic Market 0.4.6
    - Dynamic Market Wrapper
    - Permissions 2.1
    ===========================That is enough for many servers who simply want an economy & land trading/town protections.

    - Essentials; Ban,Home,Spawn,Tele,Warp
    - WorldGuard / Edit 4.0a1
    - Cleaner
    - Voxel Sniper
    - Persistence
    - Groups (with Persistence package)
    - IRCTransport .04
    - LWC
    - Spells/Wands
    - Eekrunes
    - Runecaster
    - Precious Stones 2.2
    - Magic Carpet
    - Vote
    - MonsterTamer
    - Pumpkin Diver
    - Gastronomic
    - Crowd Control
    ***************
     
  13. Offline

    Beatkidz

    Thanks for letting me know you have it up and running. i'm not sure what i'm doing wrong but i'll do some heavy testing when i get home. i been running PreciousStones Since day 1 and really need it for my people. i wish someone would write a script to transfer the old save format to the new though. that would help too. i didn't get a chance to convert to 2.0 and was taken out of 2.1. well i'll give it a shot when i get home
     
  14. Offline

    phaed

    You have to set up a server with an old craftbukkit version, prior to the com.bukkit.xx.xx namespaces being taken out and run 2.0.
     
  15. Offline

    SweetCraft Girl

    Willy Wonka!! <3
     
  16. Offline

    mwdennis

    For some reason, people are still able to destroy blocks within a forcefield area I set. They cannot replace the broken blocks after so that seems to still work. Running CB 432 with Permissions 2.0. Here is the config snippet for the forcefield block:

    Code:
        -
          title: "Spawn Protection"
          block: 57
          radius: 20
          prevent-pvp: true
          prevent-fire: true
          prevent-place: true
          prevent-destroy: true
          prevent-explosions: true
          prevent-unprotectable: true
          guard-dog: false
          nameable: true
          welcome-message: true
          farewell-message: true
    
    I've tried it with both prevent-pvp set to false and true.
     
  17. Offline

    phaed

    Try 2.3
     
  18. Offline

    mwdennis

    Yep that did it!
     
  19. Offline

    Beatkidz

    ok i was using permissions 2.1. Switched back to 2.0 and everything works fine
    And you you tell me what CB build worked best for 2.0 so i can convert my Data files
     
  20. Offline

    BluXDragon

    Wow I wish hMod had this >.>
    I'm trying Bukkit for the third time, and this plugin is one of the very few making me consider staying with it.

    Have a suggestion,
    Make a variation of Guard-dog that makes it so the force-field is only in effect during day/night. So we can make it so like,
    >When user ONLINE, their area is ONLY PROTECTED IN DAY
    >When user OFFLINE, their area is ALWAYS PROTECTED
     
  21. Hello well not of reponse has my problem, boo.

    A question I crossed to see found the cause!!! The plugins has to generer a file Protection.bin? Because it is not the case. Quite as the Folder / PreciousStones which I has to add manually.

    Needs he(it) to add it or the plugins makes him(it) alone?
     
  22. Offline

    PixelLegacy

    I'm getting a strange error where the forcefields aren't saving to their txt file.

    Didn't work on CraftBukkit #424 & 440 (only ones i've tried)
    Made sure to download the latest version of your plugin, 2.3
    Chmod'd the folders and files to 777 just to be sure.

    I'd love to use this on my server, but if the players would have to place them down every single time I restarted the server it's saddening.
     
  23. Offline

    phaed

    I like it, adding to TODO list.

    Thats odd. Ptones saves when the server saves the world. Are you gracefully restarting the server? Do a save-all to test the saving mechanism out, the console should say "Saving forcefiles.txt" or "Saving unbreakables.txt".

    Versions 2.0 and greater no longer save in .bin files, they save in .txt files.

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

    DarKMaKa

    Same problem here.
    I tried severel times /save-all command
     
  25. Offline

    phaed

    Try craftbukkit 432. This is the latest stable build PS is built on. I will be updating to 440 today.
     
  26. Offline

    Axrael999

    Seriously man, great job so far with this mod. Having a little trouble setting it up on my end, but that very may just me being a noob. That day protection suggestion is something I'd like to see a lot. This mod is what we have been looking for forever. We had tried towny and factions but those were too complicated and we ran into people hiding their chests in protected land making raiding peoples bases became something truly boring.
     
  27. Offline

    DarKMaKa

    I'm running:
    git-Bukkit-0.0.0-450-gd3c1ba4-b432jnks (MC: 1.3)

    So I thnik it is the 450 one.

    We just gonna wait for your update, either some other plugins won't work :)

     
  28. Offline

    Alix

    Hello, I have trouble to run this plugin.

    I have this error msg

     
  29. Offline

    phaed

    Can you give me the stack dump? it should show right after that message.
     
  30. Offline

    Alix

    For example, if I try /ps info

    but I have this with all commands

     
  31. Offline

    phaed

    Try 2.3.1
     
Thread Status:
Not open for further replies.

Share This Page