[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

    Paul_VB

    hey is there a permissions node for being fed in feeding zones? cuz there is one for healing zones and i gave my players the healingnode, and they get heals, but not fed. i know it is configured to feed cuz im an op on my server (duh i am :p) and i get fed, but noone else. the probel i have is i cant find the feeding node thingy. i looked at the wiki page but i cant find it.
     
  3. Offline

    phaed

    preciousstones.benefit.feed
     
  4. Offline

    Paul_VB

    thanks. btw i didnt see that on the wiki page so plz add it.

    hey do u think u could add cutom welocme and farwell meaages?

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

    Nach0z

    Hey I have a question about the PreciousStones plugin... is there a way to sub-region an area that's been protected with the cuboid protection area?
    For example if I have one set of large cuboids protecting a "city" and want to sub-region it with smaller protection blocks on a per-lot basis?
     
  6. Offline

    phaed

    Change log

    Version 6.4.2

    • You need to the be owner of a field to enter drawing mode, allowed players can no longer can mess with ppls fields
    • Fixed bug where commands without the -o switch were still overlapping
    • Allows regular players (not just admins) to do /ps visualize [radius] to view their own fields
    • Updated for bukkit's new style settings
    • Config
     
  7. Offline

    nauki

    ok so im useing this plugin which by the way sounds pretty amazing but i cant seem to get it to gen a config file after a reload or sever restart ? could be something wrong with the plugin or what else would cause this ?
     
  8. Offline

    phaed

    Are you getting any errors? Are you using cb#1317?
     
  9. Offline

    ntack

    I keep getting an error when I try to launch my server, it causes the plugin to stop working entirely. Am I using an old version? I used the link from about 10 posts up, and I can't seem to find any others.
    [SEVERE] Error occurred while enabling PreciousStones v6.4.1 (Is it up to date?): special characters are not allowed
    unacceptable character ' ' (0x0) special characters are not allowed
    in "<reader>", position 0
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
     
  10. Offline

    re4397

    what is this blocks from "gold stone" and "the shocker" ?
     
  11. Offline

    Endreon26

    Uh, for me god stone is glowstone but it doesnt work, The shocker is lapis ore and it doesn't work, Atlantis doesnt exist, jack o death doesnt work, The mine doesnt work, someone help plz!
     
  12. Offline

    Sneaky420

    Greetings, so I am diving into the config, and I have relized that either I am missing the option or it is just not there...

    Is there a flag to make it so they have to place a block only in the protected areas they own, ex: no pvp stone can only be places inside of a city protection stone.

    Thought of how it could be done, add two flags, one to define the city zone as a "parent" and another flag to define the pvp as a "child", then make it so stones with a child flag can only be placed inside the owners parent zones, if they dont own any, then they can not place it.

    I am working on prices and limits for the players and I dont want to have to make a city block cost like 100, but then to prevent abuse of the pvp stone, i would have to make them like 500 each. Granted I can make it build into the city protection, but I wanted to make it so the anti pvp feature was an extra to earn later on as they make more money.

    Same thing for the creature repeller and such
     
  13. Offline

    Zeno

    I'm using PreciousStones with SimpleClans and it is a great combination.

    I do have one question:
    suppose you want every verified clan to be allowed exactly one City Protection stone and you did not want unverified clans or individuals to place such a stone, how would you go about it?

    Right now I'm using the limits:[] field in precious stone config. When the founder of a clan gets his clan verified, I manually change him to something like preciousstones.limit3 This is suboptimal to say the least. Is there a better more automatic way?
     
  14. Offline

    Nathan C

    Am I missing something?

    Everytime I add ANYTHING to the config and then reload or restart the server, I lose all my changes in my config!

    Anyone know how to fix this? I am pulling my hair out.
     
  15. Offline

    Sneaky420

    Try to change the config, stop the server, put the config in, then start it
    EDIT: said that out of order, stop it first, then edit, and then start
     
  16. Offline

    Nathan C

    Nope, still doesen't work. Stupid thing overwrites the config file to default each dang time.

    I decided to chmod the config file, so that it cannot write to it, but then it complains with this error:
    Yes I am using SQlite too, because I don't think it is properly working with MySQL.

    Code:
    00:26:29 [INFO] properTime reading from config at /servers/server2/minecraft/plugins/properTime/properTime.conf
    00:26:29 [INFO] properTime 1.9.0 initialized
    00:26:29 [INFO] [PreciousStones] Version 6.4.2 loaded
    00:26:29 [SEVERE] java.io.FileNotFoundException: plugins/PreciousStones/config.yml (Permission denied)
    00:26:29 [SEVERE] at java.io.FileOutputStream.open(Native Method)
    00:26:29 [SEVERE] at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    00:26:29 [SEVERE] at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
    00:26:29 [SEVERE] at java.io.FileWriter.<init>(FileWriter.java:73)
    00:26:29 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:56)
    00:26:29 [SEVERE] at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.save(SettingsManager.java:322)
    00:26:29 [SEVERE] at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.load(SettingsManager.java:232)
    00:26:29 [SEVERE] at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.<init>(SettingsManager.java:116)
    00:26:29 [SEVERE] at net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.onEnable(PreciousStones.java:101)
    00:26:29 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
    00:26:29 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    00:26:29 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    00:26:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    00:26:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    00:26:29 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    00:26:29 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    00:26:29 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    00:26:29 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    00:26:29 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    00:26:29 [INFO] [PreciousStones] SQLite Connection successful
    Funny thing is that I used to use this plugin all the time and it worked fine. These new builds seem to be broke or something.
     
  17. Offline

    Sneaky420


    Yea i wasnt using the sql till it turned it on itself, so maybe delete the sql or back it up and let it recreate that as well, or confirm the settings in the config match your sql it was using before
     
  18. Offline

    Nathan C

    I actually just got it to work!

    I decided to try 6.3.1 instead and it's working great. I think 6.4.1 has some issues with the config file.
     
  19. Offline

    Sneaky420

    So not to add my own problem... but I just updated my pailstone plugin, and well... he added in /ps cmds, so just wondering if you could add a option in the config for toggle between /ps and /pss seeing as you have a s at the end of the name and pailstone doesn't.

    Or if anyone knows of a plugin that i can alias all the cmds from a plugin to separate the /ps cmds
     
  20. Offline

    phaed

    Bukkit broke pretty much all plugins config system with 1317. Fixing PreciousStones on next version i upload.
     
  21. Offline

    Tanite

    I think you can use "/pailstone cmd" for all of those.
     
  22. Offline

    Fortune789

    I dont know what has happened but since the update to RB#1317 the plugin starts ok and is able to protect the areas however no one is able to use all the commands, for example people can use /ps on and off however they cannot use /ps visualize or /ps allow. Not even the ops and admins with the * node in PEX.
     
  23. Offline

    DeimosSobek

    I new to this so what is wrong here?

    Code:
    20:05:28 [SEVERE] Error occurred while enabling PreciousStones v6.4.2 (Is it up to date?): net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.getConfig()Lorg/bukkit/configuration/file/FileConfiguration;
    java.lang.NoSuchMethodError: net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.getConfig()Lorg/bukkit/configuration/file/FileConfiguration;
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.load(SettingsManager.java:130)
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.<init>(SettingsManager.java:116)
            at net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.onEnable(PreciousStones.java:101)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    - Deimos
     
  24. Offline

    Sneaky420

  25. Offline

    Boos

    When i place City Protection field and then use /ps off, I'am still not able to place Diamond or Gold Block (or any other block configured as precious Stone) to the field, because it tells me that I cannot place field here (again I HAVE /ps off). Can you tell me how to solve this issue? Players on my server are still complaining about it, because they are not able to build their Gold house.

    Use /ps on, then use that command.

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

    zanetheinsane

    I reported a similar bug where blocks were being checked for conflicting fields even with '/ps off'. It has been reported as fixed in the next version to be released. This may be what you are experiencing.

    See here https://github.com/phaed420/PreciousStones/issues/84 to see if this is the problem you are experiencing.

    Edit: I can confirm with version 6.4.2 that I no longer encounter this bug. Check what version you are using.
     
  27. Offline

    Pim1234

    is it possible to add a block that keeps chunks loaded? might be useful for redstone stuff. i have big halls that should be lighted using redstone but they're too big, the back never gets lighted :(
     
  28. Offline

    phaed

    There's a lot of powerful new features hidden in this release. Read every item.

    Change log

    Version 7

    • Added per-player visualization density. It can be changed with /ps density. A value of 1 gives you only field outlines. A value of 2 divides each side by 2, 8 by 8, etc. Another thing to note is that the density value is also the size of field that will draw completely full. For example with a value of 8 will allow you to fully visualize fields up to 8x8x8, fields larger than this will start to have empty spaces.
    • Added visualization.default-density setting, will let you decide how many sections the visualized fields get split into
    • You can press shift to undo your latest selection, while in drawing mode
    • You can no longer place or break non-field-blocks while in drawing mode
    • Per-player state like /ps off, /ps density is now saved on the database and persist after server restarts
    • Fixed error when generating config
    • Fixed off by one errors that made fields be larger than normal
    • Fixed super long fields bug, for good
    • Allow players with preciousstones.bypass.cuboid permission to close cuboids with exceeded maximums
    • Users who have the preciousstones.bypass.purchase permission and are not charged for a block, now do not get refunded free money
    • Removed /ps setheight, complexity no longer relevant with cuboid system
    • Fixed sql insert not unique error by processing any pending field deletions in the queue before inserting the new one
    • Added custom-volume field flag. When a player opens up drawing mode, he will be given this volume to draw with, instead of one calculated from the radius and height. Use this if you want your players to be able to set down fields with a small radius, yet be able to resize them to much larger.
    • Fixed the default config (it had old pstone layout)
    • Fixed bug with field purging for inactive players where fields never actually got purged
    • Fixed bug where /ps allow and /ps remove were not triggering saves to db and were sometimes not saved
    • Fixed bug with /ps allow not working
    • /ps info listing now shows a more comapct view when listing multiple fields
    • Fixed bug where cuboid fields were allowed to overlap no-conflict:false fields
    • Fixed bug where pstone-type blocks with were mistaken by pstones with /ps off
    • Added the fields flags list on right-click info
    • Added /ps toggle [flag] - toggles on/off individual field flags from your fields. Field info on right-click now shows color coded enabled and disabled field flags. Use example: Want to turn off prevent-fire flag form one of your fields. Point at your field, type /ps toggle prevent-fire, right click on your field to verify its toggle off. Now your field does not prevent agianst fire.
    • Added keep-chunks-loaded field flag. The flag will keep the chunks the field covers loaded in memory. Good for redstone stuff, etc.
    • Added /ps insert [flag] - An admin command that allows you to insert field flags into any fields. i.e. /ps insert slow-heal
    • Added force field mixing! Now you can open drawing mode, then place down another type of pstone and poof! its flags get imported! For example you can put a City Proteciton field in drawing mode, and place down a Peace Keeper, now you have a field that is a mix of both fields! Note: only the field flags transfer over, no extra volume is added
    • Added mixing-group field flag. With this you will be able to choose which fields can mix with what other fields. I'm ure you dont want your users mixing a City Protect and a Jack-o-Death fields. You put them into their own groups. Fields without a mixing-group canno mix.


    Quick rundown of the new features:

    http://sacredlabyrinth.net/viewtopic.php?f=10&t=7815

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

    RugRats

  30. Offline

    phaed

    Very bottom of OP.
     
  31. Offline

    RugRats

    Wow, past right over it heh.
     
Thread Status:
Not open for further replies.

Share This Page