[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

    ToitagL

    Getting this error with 2.9, CB 556 / B 461

    Code:
    22:52:09 [GRAVE] Could not pass event BLOCK_INTERACT to PreciousStones
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPig cannot be cast to org.bukkit.entity.Player
            at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSBlockListener.onBlockInteract(PSBlockListener.java:38)
            at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:274)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:81)
            at net.minecraft.server.Entity.c(Entity.java:535)
            at net.minecraft.server.EntityLiving.b(EntityLiving.java:562)
            at net.minecraft.server.EntityLiving.q(EntityLiving.java:668)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
            at net.minecraft.server.World.a(World.java:1017)
            at net.minecraft.server.WorldServer.a(WorldServer.java:53)
            at net.minecraft.server.World.f(World.java:999)
            at net.minecraft.server.World.d(World.java:976)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:354)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  3. Offline

    phaed

    Interesting, thanks
     
  4. Offline

    ToitagL

    Happened since I added Snitch to my PS. Removed, and no more errors until now.

    Edit : Wrong, the error is still here. But happen when a non-authorized player open a chest (unprotectable) in a protected field.
     
  5. Offline

    phaed

    Redownload 2.9 should be gone.
     
  6. Offline

    ToitagL

    It is, thanks. Your work is amazing.
     
  7. Offline

    LSky

    Any chance that redstone wire and torches will fall under the protection of precious stones soon?
     
  8. Offline

    phaed

    Coming on next version.
     
  9. Offline

    Shalobee

    So I downloaded the new 2.9 but when it loads it still says its 2.8.4?!

    [INFO] [PreciousStones] version [2.8.4] loaded

    is that just the version number being wrong or did is it something I did?
     
  10. Offline

    Avous

    could you add a setting to destroy monsters when they enter the area? like a safe zone?
     
  11. Offline

    LSky

    Thanks!
    Did you happen to be able to look into the chests issue as well?
     
  12. Offline

    phaed

    Ohh ahah. No that's my bad. I didn't change the version number. It's 2.9 tho.
     
  13. Offline

    Shalobee

    Love the new snitch block its now my favorite block :) I have noticed something with the anti fire one though that seems to be an issue. The prevent fire does keep them from starting the fire with a lighter but lava still seems to ignite things pretty easy. Would it be possible to get the anti fire to also protect against fire spread like worldguard does? Some of my players thought thats how it worked and burned down their cabin's. Dunno how hard it would be and completely understand if its not doable now but just thought it would be a nice option so we can protect from ourselves :)
     
  14. Offline

    Beatkidz

    i have a HUGE problem with water being placed in protected areas. there is no blocks in my by=pass protection config
     
  15. Offline

    phaed

    People can place them inside the areas? Or are they flowing into the areas?
     
  16. Offline

    Beatkidz

    people can place them inside the area and use it to climb in and out of protected areas. i have some tricky theives xD it gets placed and flows
     
  17. Offline

    phaed

    This is coming on next version
     
  18. Offline

    NEO

    I haven't had a chance to play with this plugin yet but i was wondering if its possible to use the entry bouncer to deny a group from permissions from entering a zone.
     
  19. Offline

    phaed

    Yea
     
  20. Offline

    Gric

    Don't know, if it has been asked before, but could you make it possible to toggle the areas with redstone? I tried to use other plugins to toggle the blocks of, but either the area is still there or it can't even be set.
     
  21. Offline

    phaed

    Change log
    Version 2.9.1
    • Two new pstones!! Sky bouncer and Launch Pad, they will bounce or launch the players in their allowed list. they come with 4 block settings, 2 permission nodes, and a couple of warn settings. If they are hooked to redstone wire, they wont launch or bounce until the redstone is activated!! They are highly configurable so check out the configuration reference.
    • You can now allow all players to fields by adding *
    • You can now *point* at blocks to setname, allow, allowall, removeall, clear, info
    • Added ignite detection to ProximitySnitch
    • Fixed bug in with colors not showing up in proximity snitch lists once they were read back in
    • Fixed bug where fire prevented zones could still be caught on fire from fires started outside of them
    • Fixed bug where water placed outside of protected zones still were able to flow inside said zones
     
  22. Offline

    Axrael999

    W
    Well sir, you have done it again, completely blown my mind. Your avatar picture really fits you. Did a small test with the brick block, and wow that's fun.
    I'm wondering if it would be possible to make something to where if you place a certain block under a chest it would have a vacuum effect on items around. Possible applications you could make a trap and kill someone and if you aren't there, you can still loot them, or making a mob trap at a dungeon.

    Edit: NoCheat plugin prevents the functionality of the new blocks unfortunately. We had a problem with people fly hacking so I had to get it. One bad egg ruins the bunch I suppose.

    Edit 2: It would also be awesome to have a reverse functionality to them, launching people that aren't on the list.
     
  23. Offline

    phaed

    Thanks! This is possible. Ill keep it in mind for later pstones.

    Ah yes, I had this plugin on my server, removed it a while back as it was throwing too many false positives. Yea I imagine it would block this functionality.

    Interesting, I will make a flag for this.


    btw. Redownload 2.9.1. I have tweaked the Launcher code to make the launches more accurate.
     
  24. Offline

    Freezy

    I set my city blocks to 80x80, as it's quicker to build a city that way...

    Is it possible to have a City-block and add a House block to allow a player to have a house inside the city by using the no-conflict: true??

    Or will placing the house within the city protected area also block them?

    The real question is how does the no-conflict setting influence the setting and usage of areas with similar settings.

    Also will ps setowner snap to the city area or does the block pointed to take precedence?

    I'll figure this out later, just wanted to share the questions for FAQ purposes.

    p.s. Epic plugin, I loves it
     
  25. Offline

    TSO

  26. Offline

    dwatring

    I have a problem. Whenever someone tries to place my special block, they cannot. Whatever they place it on it says "Cannot protect X" Do you know the problem? This is really annoying. Also it works for me, and I am OP.

    They have the appropriate permissions though...
     
  27. Offline

    phaed

    Post here the settings you are using, your permissions setup, I need more details than what you are giving me. What does "Special" mean. What type of block are they placing. What properties are set up in this block. Does this happen all the time for every one of these blocks or just sometimes? What permissions plugin are you usin, what version is it. What version of craftbukkit are you running? What does X mean when you say Cannot protect X. Is it a block type? If so What kind of block types? Do some research on your end then get back to me.

    Perfect. Thanks TSO. It's working as expected.

    No-Conflict just removes the checks to ensure no two fields collide. It's purpose is for the mixing of protection and non-protection fields. Haven't tested protection field vs protection field collisions. Let me know how it goes.

    This has been addressed. See here:

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

    Naruchico

    Just wondering I see a couple things in the config I am unsure what they do

    Gaurd-dog
    prevent-unprotectables


    and in some way does any of these stop mob spawning?

    Sorry if these are rather silly :D
     
  29. Offline

    phaed

    Nope. Don't have the mob spawning ability yet.

    Prevent-unprotectables is to prevent the placement of blocks in the unprotectables list from being protected using that field. If you have a block type here then when someone wants to place a field that would protect that block type it would tell them "Cannot protect [block type]". Also if they tried to place that block inside an existing field it would tell them the same thing.

    Guard-dog mode will only enable the protection on that field when the player is offline. Like a "guard dog" against griefers when he is not around. Once he signs back on, the protection field has no effect.
     
  30. Offline

    Axrael999

    Just a little bug report, my users were placing brick blocks in the protected area(protected with world guard) and the blocks weren't being placed but the zones were being created.
     
  31. Offline

    phaed

    Interesting, thanks.

    Ok, redownload, let me know i that fixed it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
Thread Status:
Not open for further replies.

Share This Page