[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

    Kaosvf

    Hi,
    yesterday I've received this error:
    Code:
    2011-07-27 01:46:06 [SEVERE] null
    java.sql.BatchUpdateException: Data truncation: Incorrect datetime value: '1311723965408' for column 'last_seen' at row 1
    	at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:1065)
    	at net.sacredlabyrinth.Phaed.PreciousStones.data.mysqlDatabaseHandler.closeBatch(mysqlDatabaseHandler.java:111)
    	at net.sacredlabyrinth.Phaed.PreciousStones.data.mysqlCore.closeBatch(mysqlCore.java:87)
    	at net.sacredlabyrinth.Phaed.PreciousStones.managers.StorageManager.processQueue(StorageManager.java:1001)
    	at net.sacredlabyrinth.Phaed.PreciousStones.managers.StorageManager$1.run(StorageManager.java:950)
    	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    	at java.lang.Thread.run(Unknown Source)
    
     
  3. Offline

    Zragnar

    ok so i am running a private server and i have installed WarpWiz and Precious Stones. I have configured my own Precious Stone and deletedd the rest of them. The only problem is, it won't let me use any of the /ps commands, such as /ps allow (player name). If anyone could help me it would be greatly appreciated.
     
  4. Offline

    phaed

    Are you getting the /ps menu at all? Maybe PS has not loaded or crashed? Do you have permissions set up?

    What datatype is your last_seen column. Should be bigint, if its not change it to bigint.

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

    Zragnar

    I don't have permissions installed. Is that the problem?
     
  6. Offline

    Junrall

    Hi phaed,

    This plugin rocks!

    I do have a question...

    Is there any way to set the preset radius so that it extends 10 blocks in all directions but only 1 block down?
    Or perhaps give us a way to adjust the distance in any direction?

    Thanks!
     
  7.  
  8. Offline

    Kaosvf

    It's "datetime" (screen in attachment) and now I've changed it in BIGINT. (the screen is before the changment)
     

    Attached Files:

  9. Offline

    phaed

    radius: 10
    custom-height: 1

    But that will make it extend 1 block up as well. No way to make it extend in only 1 direction.

    It's ok, it should only save *if* there is something left in the saving queue, and yes no message.

    Yes that is your problem, will have a fix for this next version.

    This is very weird. They never save?

    I'll try to add this. Can you put this as a request on the github issue tracker so I don't forget?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  10. Nope. I switched to sqllite though, now i have no problems
     
  11. Offline

    knitemare

    This mod is not compatible with PermissionsBukkit and/or Superpermbridge. Can you please add compatibility.
     
  12. Offline

    Bronski

    I believe he is looking into it :D
     
  13. Offline

    Steelstiletto

    I haven't installed this mod yet, but is there a way to make it so that the stones aren't activated by default, and are only turned on when activated somehow? Such as right clicking with a (configurable) tool? My server uses pretty much every block in either construction or runes from other mods, and I think that this would conflict unless stones were off by default and could be turned on.

    Umm, I'm not sure what caused this error, but I just got a lot of server spam that ended up crashing the server when I tried to place my healing block. The anti-mob block works fine, it's just the healing block that doesn't.

    Error message (open)
    Code:
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint violation (columns x, y, z, world are not unique)
    00:59:46 [WARNING] Error at SQL Query: [SQLITE_CONSTRAINT]  Abort due to constraint 

    Block Config (open)
    Code:
    force-field-blocks:
    -   title: Golden Healer
        block: 41
        radius: 10
        slowheal: true
        no-conflict: true
    -   title: Light against Evil
        block: 89
        radius: 30
        prevent-mob-spawn: true
        no-conflict: true
    


    Umm... Upon restarting the server, it was placed fine, it just isn't healing anyone...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  14. Would it be possible to get velocity speeds higher than 5 on the sky cannons? Atm. it dont fire us far enough to climb into skylands with inception
     
  15. Not sure if I may be late posting or whatever.. But a couple bugs I have found, and do not know how they may be fixed as I am no good at plugins etc, but..

    The bricks which launch people, once they have been destroyed and replaced, they still launch me.
    Same for the iron block,
    and the Lapis Lazuli block which stops people walking past it, actually makes them get stuck where they are and they cant move out of it, they need a teleport out. any ways to help please? thanks.
     
  16. Offline

    phaed

    Are you breaking them using WorldEdit's superpickaxe? If you place a bouncer block on a person, yes they will be stuck. That's what they do, they prevent movement.

    This is a known error with SQLite im working on.

    I used 5 as limit because using 6, 7, 8 would shoot you at the same speed. Ill revisit this, maybe i can tweak the algorithm.

    /ps on, /ps off. Also there's a config setting off-by-default.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  17. Ah okay, so they must be destroyed using a regular pickaxe, and the bouncer blocks only prevent movement therefore must be teleported out? thanks for the quick reply

    and also Now that I have super mined it, I cant find where I placed it and there is a constant forcefield there stopping players :(

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

    phaed

    Use /ps clean to get rid of the orphaned fields.
     
    iNFINITIZE likes this.
  19. Offline

    Steelstiletto

    Is there a workaround to have the healing blocks work for now? I had slowheal installed and removed it for this instead, so now my players are going through a lot of mushroom soup instead. Also, do healing aura's stack when they work, healing for more at a time?

    Okay, so I set up to use a MySQL database, and my healing blocks still are not healing. We get messages that they have been placed, but no healing happens. To be honest, we aren't actually positive that the spawn stoppers are working either, although we don't have proof one way or the other. Nothing happens in the server log to let us know about errors, and the mod is loading and connecting to the database perfectly.

    ~edit~
    Okay, I've now confirmed that the spawn stopper is not working either. My main castle can be visualized over the entire thing, but I still had a monster spawn on the roof.

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

    Master24

    Hey
    I got a problem. I placed a Grief Revert field.
    Than someone griefed a few blocks away and when I try to revert, with right-click on gold block, it always says: "No grief recorded"
    Did I something wrong?

    PS: Sorry for bad English.
     
  21. Offline

    Kaosvf

    Hi,
    when I use /ps visualize, I crash and sometimes the server with me....
     
  22. Offline

    phaed

    The client crashes because of an overflow when too many blocks are sent. I am fixing this for next ver. Never heard of server crashing, are you sure?

    I will look into these. Please add the bugs to my github issue tracker.

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

    locutus

    Whenever my players walk into a lapis field, they get stuck, immobilized until killed. I sthere some reason they don't just get pushed back? do I have some setting wrong?
     
  24. Offline

    phaed

    Oh *that* shouldn't be happening. I will check into this. Please put in issue tracker on my github.
     
  25. Offline

    Master24

    Can someone please explain me how to use the Grief Revert Field?
    I always get the message "No grief recorded"
     
  26. Offline

    Heavy_Jazz

    What is the syntax for 'the price flag'? It seems you haven't added it in the config :\
     
  27. But when I reboot the server, "No forcefield" near to a bloc...
     
  28. Offline

    Shalobee

    I am also having issues with the forester block. I reported it a while back but guess its out of his control or something. I haven't tested it with just Precious Stones as the only plugin, it may be conflicting with something. I will play around with the test server tonight and see if it is.
     
  29. Offline

    Junrall

    Looking through the config file... is there no way to limit the number of protections placed by a player? Or am I just not seeing?
    Without a limitation this could become a griefer's tool.
     
  30. Offline

    aedgar

    Are all the precious stoles enabled by default?
    How do I make it so only one type of precious stone can be used, I currently only have use for the grief revert stone - but can't seem to find anywhere in the config to disable the others.

    Thanks!
     
  31. Offline

    Aiyania

    I have the exact same question, i put the files into my plugins folder, then restarted the server, nothing, /ps on, didnt do anything, i tryed to mess with forester a bit , sounded fun , but nothing would make a pumpkin grow trees >< help?

    TY
     
Thread Status:
Not open for further replies.

Share This Page