PreciousStones - Back under the development of phaed

Discussion in 'Inactive/Unsupported Plugins' started by aPunch, Apr 20, 2011.

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

    aPunch

    Ryannober, Avous and kahlilnc like this.
  2. Offline

    Maxis010

    Since you are adding MySQL dependency as of version 4 would you know of any good alternatives
    I have no way of providing MySQL support to my server and Bukkit will undoubtedly break the v3.# branch eventually
     
  3. Offline

    Ineentho

    The main download is broken (404 error), and the (jar) link links to version 3.x. Could you please fix this? Thanks for a great plugin!
     
  4. Offline

    phaed

  5. Offline

    Maxis010

    Great as precious stones may be I'm not going to pay for hosting to support 1 plugin, I'd rather do some extra work getting my head around another plugin
    Thank you for Precious Stones until now, however if my only way to continue using it is to pay more money then I'll go elsewhere
     
  6. Offline

    phaed

    True enough, though you may want to think of the future and switch your current (crappy?) minecraft hosting provider to a better one, or better yet a dedicated server or VPS, no access to MySQL databases is a raw deal if I've ever heard of one.

    As for now Bukkit's Persistence system doesn't support OneToMany (db joins) in SQLite, so no SQLite support is available.

    Read: http://forums.bukkit.org/threads/lists-in-persistence-tables.12779/#post-213195
     
  7. Offline

    Damian Mason

    Hey I think the download links are down. Please fix?
     
  8. Offline

    shadydeath999

    download link is down pls fix
     
  9. Offline

    kahlilnc

    Well download link is broke besides jar. And this is the error I get:
    Code:
    00:21:29 [INFO] [PreciousStones] version [3.4.2] loaded
    00:21:29 [SEVERE] [PreciousStones] Cannot create file forcefields.txt
    00:21:29 [SEVERE] java.io.IOException: The system cannot find the path specified
    
    00:21:29 [SEVERE]       at java.io.WinNTFileSystem.createFileExclusively(Native
    Method)
    00:21:30 [SEVERE]       at java.io.File.createNewFile(Unknown Source)
    00:21:30 [SEVERE]       at net.sacredlabyrinth.Phaed.PreciousStones.managers.Sto
    rageManager.createForceFieldFile(StorageManager.java:647)
    00:21:30 [SEVERE]       at net.sacredlabyrinth.Phaed.PreciousStones.managers.Sto
    rageManager.<init>(StorageManager.java:35)
    00:21:30 [SEVERE]       at net.sacredlabyrinth.Phaed.PreciousStones.PreciousSton
    es.onEnable(PreciousStones.java:76)
    00:21:30 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:127)
    00:21:30 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:632)
    00:21:30 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:218)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:116)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:94)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.reload(CraftServer
    .java:287)
    00:21:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap$ReloadCommand.exe
    cute(SimpleCommandMap.java:201)
    00:21:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:85)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:247)
    00:21:30 [SEVERE]       at net.minecraft.server.MinecraftServer.b(MinecraftServe
    r.java:394)
    00:21:30 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:379)
    00:21:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    00:21:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    00:21:30 [SEVERE] [PreciousStones] Cannot create file unbreakables.txt
    00:21:30 [SEVERE] java.io.IOException: The system cannot find the path specified
    
    00:21:30 [SEVERE]       at java.io.WinNTFileSystem.createFileExclusively(Native
    Method)
    00:21:30 [SEVERE]       at java.io.File.createNewFile(Unknown Source)
    00:21:30 [SEVERE]       at net.sacredlabyrinth.Phaed.PreciousStones.managers.Sto
    rageManager.createUnbreakableFile(StorageManager.java:633)
    00:21:30 [SEVERE]       at net.sacredlabyrinth.Phaed.PreciousStones.managers.Sto
    rageManager.<init>(StorageManager.java:36)
    00:21:30 [SEVERE]       at net.sacredlabyrinth.Phaed.PreciousStones.PreciousSton
    es.onEnable(PreciousStones.java:76)
    00:21:30 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:127)
    00:21:30 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:632)
    00:21:30 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:218)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:116)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:94)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.reload(CraftServer
    .java:287)
    00:21:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap$ReloadCommand.exe
    cute(SimpleCommandMap.java:201)
    00:21:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:85)
    00:21:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:247)
    00:21:30 [SEVERE]       at net.minecraft.server.MinecraftServer.b(MinecraftServe
    r.java:394)
    00:21:30 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:379)
    00:21:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    00:21:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    00:21:30 [SEVERE] [PreciousStones] Could create plugins/PreciousStones/old direc
    tory
    00:21:30 [SEVERE] [PreciousStones] Cannot read file unbreakables.txt
    00:21:30 [SEVERE] [PreciousStones] Cannot read file forcefields.txt
    00:21:30 [INFO] [PreciousStones] 'Help' support enabled
     
  10. Offline

    Damian Mason

    Yep I get similar errors where the path to create the file is incorrect.
     
  11. Offline

    GmK

    @phaed

    I know others said it, but maybe worth repeating: Your dropbox 404's, and the direct jar leads to version 3.4.2 ;)

    I LOVE the update to 100% MySQL, but I can understand people that now get 'shut out'.
     
  12. Offline

    phaed

    PreciousStones 4.0.1

    Persistence is now saving back allowed users, cloak blocks, and snitch entries to the database correctly.
    vehicles with passengers cant get inside prevent entry fields
    removed rarely used and far too troublesome guarddog mode

    New command

    /ps delete [player] - Deletes all pstones belonging to a player, use after banning a player

    Field flags added:

    prevent-mob-damage
    prevent-mob-spawn
    prevent-animal-spawn

    Download

    Yes me too, but nothing could be done. Due to all the reports of missing fields, etc, I came back from retirement so I could leave PS in a stable state. I converted PS to bukkit's new object persistence system which sadly does not support sqlite for complex db schemas like PS requires. Leaving the old clunky and buggy flat-file system in place was not an option, it had to go. I cleaned up the code base, added javadoc and fixed a bunch of bugs. I realize that some people don't have access to a msyql instance, but that is the price we will have to pay for a stable and foolproof storage system that will last the long haul.

    I personally enjoy running queries on the blocks

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

    Freezy

    Awesome! :p
     
  14. Offline

    GmK

    Awesome SUPER awesome!

    Damn, I am running out of un-mineable/uncraftable blocks to use for new PreciousStones :D I want my users to buy them from the store, and have used all the ores (except iron and gold) and nether things and so on already :D

    Oh hold on one second - the PreciousStones.jar in that zip is version 3.4.2 dated April 28th :D

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

    phaed

    Ha my bad re-download please

    Re-download please

    BTW: New command

    /ps delete [player] - Deletes all pstones belonging to a player, use after banning a player
     
  16. Offline

    shadydeath999

    @phaed is there any change soon there will be a easyer mysql config cus this one is really confusing
     
  17. Offline

    GmK

    @phaed

    Is this wanted / worrying?

    Code:
    2011-05-07 13:04:16 [INFO] [PreciousStones] version [4.0.1] loaded
    2011-05-07 13:04:16 [SEVERE] null loading PreciousStones v4.0.1 (Is it up to date?)
    It ran the conversion to MySQL fine on first startup.
     
  18. Offline

    Freezy

    I get the same :-(

    Code:
    12:14:59 [INFO] [PreciousStones] version [4.0.1] loaded
    12:14:59 [SEVERE] null loading PreciousStones v4.0.1 (Is it up to date?)
    java.lang.NullPointerException
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager$FieldSettings.<init>(Unknown Source)
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.addForceFieldStones(Unknown Source)
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.loadConfiguration(Unknown Source)
            at net.sacredlabyrinth.Phaed.PreciousStones.managers.SettingsManager.<init>(Unknown Source)
            at net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.onEnable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    also plugin does not work (due to it not loading)
     
  19. Offline

    GmK

    You get a stacktrace at least, I only got those two lines.
     
  20. Offline

    Freezy

    default config and error.log makes it go away, checking where I went wrong before...

    definetly something with the new settings :-(

    found it:
    prevent-animal-spawn: true

    doesn't work, it will give you the error... :(
     
  21. Offline

    GmK

    Confirmed, loads up fine if that entry is removed. With prevent-mobs-spawn: true it works as well, so only the animal-spawn entry.
     
  22. Offline

    karmacopious

    #Phaed: Working fine except the prevent-animal-spawn. Received this on console, passing on :)

    Using CraftBukkit 762.

    btw. I love this plugin. Absolutely brilliant.
     
  23. Offline

    LSky

    I'm not sure if this issue has been reported yet, or if its fixed in the latest version, but;
    People are able to place any kind of slabs onto protected slabs in force fields, not only does this mean you can 'build' in forcefields to which you have no access, but you can also make stone slabs out of cobblestone or wooden slabs, since it takes the appearance of the slab already placed in the forcefield.
     
  24. Offline

    phaed

    PreciousStones 4.0.2

    fixed prevent-animal-spawn bug

    Download
     
  25. Offline

    Nathan C

    Actually, it doesn't seem to be making a MySQL table...

    Here is my bukkit.yml

    Code:
    database:
        username: mc1
        isolation: SERIALIZABLE
        driver: com.mysql.jdbc.Driver
        password: xxxxxxx
        url: jdbc:mysql://127.0.0.1:3306/minecraft2
    settings:
        update-folder: update
     
  26. Offline

    phaed

    Try:
    url: jdbc:mysql://localhost/minecraft2

    Also the DB minecraft2 should already exist.
     
  27. Offline

    spunkiie

    4.0.2 still showing 4.0.1 here.

    22:13:51 [INFO] [PreciousStones] version [4.0.1] loaded
     
  28. Offline

    phaed

  29. Offline

    spunkiie

    Phaed:

    PreciousStone 4.0.2 doesn't work here. It says:

    22:50:41 [INFO] [PreciousStones]6 fields: {2}
    22:51:03 [INFO] [PreciousStones]1,000,000 unbreakables: {2}

    although I have 300+ players and ALOT of ps-stones, this EXACT number 1,000,000 is weird, and when I log-in, none of previously ps-stones are protected.

    Could you help ?
    btw: Nothing in error.log

    This new link now shows:

    22:59:15 [INFO] [PreciousStones]version [{1}] loaded

    :D

    one more information, i was importing my old flatfile to mysql.. everything seens OK, no erros, but then when run shows 1,000,000 unbreakables.

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

    phaed

    Ahh no worries its just an error on the display lines. ill fix that
     
  31. Offline

    spunkiie

    I Don't think so phaed. When I entered the game and right clicked previously protected stones, the owner information was not showing and I could break others block.
     
Thread Status:
Not open for further replies.

Share This Page