[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

    Should be on the list. Download 6.4, I added a couple more settings in there to tune the visualizations for you system.

    Check the wiki for more info:

    http://wiki.sacredlabyrinth.net/index.php/PreciousStones#Configuration

    Change log
    Version 6.4

    • Config file autogenerated with default fields (config file is no longer required for first time installs)
    • Visualization.ticks-between-sends and visualization.blocks-to-sends config settings to tune the visualizations being sent for servers who are experiencing client crashes due to visualizations being sent too fast.

    Made OP pretty

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

    nicholosophy

    What are the default settings for these two items? It would help in determining what might be a reasonable change with the issues we've had on my server. Cheers.
     
  4. Offline

    Endreon26

    This may sound stupid, but I don't know how to change the truetool-item. Whenever I try it says it failed. I have tried putting in the item name itself and I have tried putting in the number. Can you please help?
     
  5. Offline

    Tha_Wolf

    Is there anyway to stop it from spamming field conflict messages when using your FIST to punch things
     
  6. Offline

    Donny

    Is the "Price" flag not working for anyone else?
    Dev seems to have an issue answering questions. I looked around can't find any info on the problem. Posted the issue here and on his github...
     
  7. Offline

    phaed

    It's already been reported as an issue:

    https://github.com/phaed420/PreciousStones/issues

    What do you mean by "truetool-item"

    With fist? Ill check this out.

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

    Tha_Wolf

    Yes, when I have nothing selected, and I hit the ground or an item it gives me Touching Fields info if a block is nearby, or if there isnt one it says: "Your field would touch no other field if placed here"

    my permissions are: (I do not have the god * permission)
    - preciousstones.benefit.*
    - preciousstones.whitelist.*
     
  9. Offline

    mypetsquirrel

    someone posted earlier that it does this when you have one of the Pstones is set to block 0. I noticed it only after I did that, stopped when I changed it back

    Thanks for the 6.4 update. Any chance for another 1185 compatibility version?
     
  10. Offline

    Endreon26

    The trutool item(s) are the items that you use to activate the menu for looking at who the block is owned by, to activate the precious stone, etc. The problem is is that I haven't been able to activate any of the stones. So can you please help me?
     
  11. Offline

    Sneaky420

    K so was looking for info on the new "god stone", but searched the wiki, and this thread, and all I can find if the pic of it in the top of the post... so, maybe a copy and paste of that stone, so i can over write the "glow of life" :)

    Thank you
     
  12. Offline

    Tha_Wolf

    I only use one stone, I remove everything else in the config, here it is:
    force-field-blocks:
    - title: Fort Protection
    block: 57
    radius: 50
    custom-height: 130
    prevent-use:
    - 58
    - 61
    prevent-fire: true
    prevent-entry: true
    prevent-place: true
    prevent-destroy: true
    prevent-explosions: true
    prevent-unprotectable: true
    prevent-flow: true
    prevent-mob-spawn: true
    prevent-mob-damage: true
    slow-heal: true
    welcome-message: true
    farewell-message: true
    cuboid: true
    -
    log:
     
  13. Offline

    Godwar101

    Running PreciousStones 6.4 and my server is crashing. (I already verified 100%, this plugin is the one that is crashing my server).
     
  14. Offline

    solace

    How do I make it so that no one can break the city? I set up the field, no one should be able to destroy ANYTHING inside...
     
  15. Offline

    SrJoben

    Ok...either I'm missing something, or no where in this plugins massive amount of documentation is there an actual list of HOW TO MAKE THE STONES. This thread, a wiki and a website...can't find any mention of it. And it's not included with the plugin download either.

    Even if it is somewhere why is it so hard to find? shouldn't that be front an center?
     
  16. Offline

    Sneaky420


    Just copy one and change the flags you wanna change
     
  17. Offline

    phaed

    Run the plugin once to generate the config.yml file, then edit it.

    If you use the default configuration, all you do is place a diamond block on the ground, and you have just made a City Protection pstone.
     
  18. Offline

    SrJoben

    erm...ok then, these are just default blocks...giving them special names in the description strongly suggests that they are unique items.

    Maybe I just just a bit dense, but all it would take is a line or two in the description to prevent someone else being confused like I was.

    Thansk guys.
     
  19. Offline

    zanetheinsane

    Is there anything that would prevent certain blocks from being able to enter cuboid drawing mode, such as a hardcoded restriction? Currently I can't seem to enter drawing mode on a cake block (ITEM ID: 92).

    I also may have found a potential bug. With "/ps off" a player can't place a normal diamond block down without getting the "Cannot place field here message" because there is a nearby field that would conflict if he were actually placing a pstone. Normally he should be able to place the block down as a standard diamond block. This could be a problem for people that use somewhat more mundane custom blocks that players are likely to place a lot of.

    Once outside of where the field would conflict the player can place the block as normal and it registers as a normal non-pstone enabled block as it should. It seems the check for conflicts isn't considering whether or not pstones are enabled.
     
  20. Offline

    Obrekr

    I think the unprotected regions depend on chunks which aren't marked containing a force-field.
    I posted a pull request on github which should fix this bug.
     
  21. Offline

    Rocky_143

    Hey been having some problems don't know what it is
    please help

    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator
    2011-10-10 08:54:28 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousSto
    nes
    java.lang.IllegalStateException: Start block missed in BlockIterator

    then bam server restart.

    any idea whats causing the issue?

    thanks in advance.
     
  22. Offline

    pacmanjones

    Is the version linked at the bottom of the page v4? I can't find the option for visualization ticks in the config and also the plugin.yml file says version 3.2.
     
  23. Offline

    phaed

    Change log

    Version 6.4.1

    • Fixed a bug where depending on the position of a force-field block and the radius it was possible that there were unprotected parts where new chunks began (thanks Obrekr!!!)
    • Added port to mysql config
    • /ps allow, /ps remove, /ps allowed, /ps delete will now only operate on the field you are standing in or pointing to. To apply to the fields that are overlapping it use the -o flag. i.e /ps allow -o playername
    • Workaround for the "java.lang.IllegalStateException: Start block missed in BlockIterator" error bug
     
  24. Offline

    maltese

    Hi,
    The plugin works very well...however once I restart the server, the saved fields are not loaded. It is because the fields are not being saved to the database. I am using mySQL and it is connected, I am getting these errors:
    03:35 PM [SEVERE] Error at SQL Query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's world'' at line 1
    03:45 PM [SEVERE] Error at SQL DELETE Query: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's world'' at line 1
    Thank you for your help!
     
  25. Offline

    phaed

    Use this version for now, I will add the fix on future versions: http://sacredlabyrinth.net/releases/PreciousStones.jar
     
  26. Offline

    maltese

  27. Offline

    Zombiemold

    What is the individual nodes for allowing specific blocks?

    No where on the wiki does it show what I need to add to say, not allow a certain group from using Jack o Deaths.

    Edit: I have dealt with that issue.

    Having a totally different issue now.

    Firstly, disallowing certain blocks means that you can't even place the normal version of said block, ie I have disabled Jack-O-Deaths, and no one can even place normal Jack-O-Lanterns...

    Secondly, if someone wants to place a block, and just use it as a normal block, and you have prices set, it will always charge that person for every stone they place, even if they just want them to be normal stones.... any way to remedy this?

    I love the plugin, but it is currently unplayable like this for me atm.
     
  28. Offline

    Monstertke

    Phaed,

    Was this built on 1317? Or is it just still working?
     
  29. Offline

    phaed

    Still working.
     
  30. Offline

    Rocky_143

    help keeps restarting the server!!!


    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:27 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousStones
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:27 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousStones
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:27 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousStones
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:27 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousStones
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:27 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousStones
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:27 [SEVERE] Could not pass event PLAYER_INTERACT to PreciousStones
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:170)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:257)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:292)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:94)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:120)
    at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerInteract(PSPlayerListener.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-11 13:02:28 [INFO] <Hcw=[Guest]=bigfatpen> fallow me zulu
    2011-10-11 13:02:28 [INFO] Stopping server
     
  31. Offline

    TobyZ28

    I've stripped most of the precious stones out and just provided the basic (slightly modified) protection stones. We just use Gold/diamond/lapis blocks, the cobweb stone and sponge stone.

    Diamondblock/Goldblock are different sizes of city protect (grief revert field is useless as people can grief by placing blocks on the field not just destroying blocks, and can be crafted from scratch by users. Snitch can also be user crafted (lapis block).
    Sponge is used for air of atlantis and can only be bought from the server
    Cobweb is for the forest grow block.
    All the pumpkin/other Precious stones I took out as they were A) taking our server in a goofy direction i didn't want it to go. B) The reasons u posted above for common items like jackolanterns/pumkins. :)
    - Bouncy things + mines + lightning zapping people just wasn't our thing heh.

    I would start with a minimalist setup - just a diamond and/or gold block for now. Add more fields as you needed :)
     
Thread Status:
Not open for further replies.

Share This Page