This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
This project has been abandoned as I am no longer involved with Minecraft and my community has been shut down
You may still find the code on GitHub and fork the plugin for your own needs.
I'm not sure how far i will go with this but for anyone that comes across this page, i have begun work on a successor to this plugin's inspiration (watchblock). It's posted here, please read all the information on the front page and documentation page BEFORE downloading so you don't get any surprises :)
Alright, so I've had a think and a look over stuff, and the only possibility I can think of is that your two players have swapped usernames with each other.
This is something my plugin doesn't take into account, and would explain why it's failing - I'm going to attempt to fix that now, and make the updates work.
Here's the log with debug mode enabled. I found out that there's another player where this error appears and they both changed their names. Maybe thats the problem.
Thank you for the build I'll try it. I've enabled debug mode now but I have to wait for the player to join the Server. I'll send you the debug log as soon as possible.
I noticed a miniscule typo. I don't think it'll fix the problem - I'd still appreciate getting some debug output from you - but I've uploaded it for you below. Note that this is a development build.
The reason for that is that their username has been changed; you /could/ disown their stuff using their old username but it wouldn't fix the problem.
Would you be able to turn on debug mode and reproduce the error? The long between when the player joins and the server crash will have more information that I'll be able to use.
Thank you :)
Yes, I'm on the latest version. The player has no data because I can't disown the blocks of the player with /disownplayer. It says player not found. Can I delete the player data but only of this player?
The latest code looks alright to me - Basically what's happening here is a UUID is being inserted into a table that's already in there. However, as one can see at this link, I have checks in place for this.
I would suggest ensuring you're on the latest version of ArchBlock, or trying out the latest development build if you already are. If you decide to test again, you may also like to enable debug mode to get some more verbose output.
If you're on IRC at irc.esper.net, feel free to send a message to me on there - my username is g and I tend to hang about in #bukkitdev.
I've made some fixes and done a Spigot release, but I'm not going to link it here or in my project as, as far as I know, we aren't allowed to advertise Spigot projects or link to builds from unapproved sources.
Did WatchBlock have a Spigot presence? It might not be a bad idea, but there's a couple bugs I'd like to squash first (fixed in dev builds but they need testing)
I feel like this thing is still in the early stages - it seems to be performing well on my smallish server (about 4.5 million owned blocks), and I'm a little unsure about the migration since WatchBlock's files don't seem to be.. well, not quite standard. Still, seems fine on our end, I'm just nervous, lol.
Let me know if you have any problems \o/
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm not sure how far i will go with this but for anyone that comes across this page, i have begun work on a successor to this plugin's inspiration (watchblock). It's posted here, please read all the information on the front page and documentation page BEFORE downloading so you don't get any surprises :)
@Greenman1805
Fantastic, thanks for testing. I'll promote this build in the next few days, assuming there are no problems with it.
@gdude2002
It works! Thank you, playernames are updated correctly after a name change! :)
@Greenman1805
@Greenman1805
Also, just FTR, I've created a GitHub issue, if you have an account then feel free to use that.
@Greenman1805
@Greenman1805
Alright, give this one a try. I'm hoping that it fixes the problem, but I don't really have any way to test this myself unfortunately.
http://bamboo.gserv.me/browse/PLUG-BLOCK-159/artifact/shared/Plugin-JAR/ArchBlock-0.1.0b.jar
Thanks for your patience, by the way. Most people wouldn't be willing to go through with this. :P
@Greenman1805
@Greenman1805
Alright, so I've had a think and a look over stuff, and the only possibility I can think of is that your two players have swapped usernames with each other.
This is something my plugin doesn't take into account, and would explain why it's failing - I'm going to attempt to fix that now, and make the updates work.
Here's the log with debug mode enabled. I found out that there's another player where this error appears and they both changed their names. Maybe thats the problem.
Here's the log: http://pastebin.com/7yPD5xna
@gdude2002
Thank you for the build I'll try it. I've enabled debug mode now but I have to wait for the player to join the Server. I'll send you the debug log as soon as possible.
@Greenman1805
I noticed a miniscule typo. I don't think it'll fix the problem - I'd still appreciate getting some debug output from you - but I've uploaded it for you below. Note that this is a development build.
http://bamboo.gserv.me/browse/PLUG-BLOCK-158/artifact/shared/Plugin-JAR/ArchBlock-0.1.0b.jar
Feel free to try it - I don't think it'll fix your problem, but I couldn't see much else wrong in that block of code unfortunately.
@Greenman1805
The reason for that is that their username has been changed; you /could/ disown their stuff using their old username but it wouldn't fix the problem.
Would you be able to turn on debug mode and reproduce the error? The long between when the player joins and the server crash will have more information that I'll be able to use.
@gdude2002
Thank you :) Yes, I'm on the latest version. The player has no data because I can't disown the blocks of the player with /disownplayer. It says player not found. Can I delete the player data but only of this player?
@Greenman1805
The latest code looks alright to me - Basically what's happening here is a UUID is being inserted into a table that's already in there. However, as one can see at this link, I have checks in place for this.
I would suggest ensuring you're on the latest version of ArchBlock, or trying out the latest development build if you already are. If you decide to test again, you may also like to enable debug mode to get some more verbose output.
If you're on IRC at irc.esper.net, feel free to send a message to me on there - my username is g and I tend to hang about in #bukkitdev.
@Greenman1805
What version of ArchBlock are you using? Have you tested one of the development builds?
This is an old bug that I thought I fixed quite some time ago - I'll take a look at the code now and reply again.
My Server crashes when a special player joins. How can I fix this problem?
Here is the log: I replaced the name of the player with <playername> http://pastebin.com/nshuEypR
@Bayside308
If you mean with something like LogBlock, then yes. An admin can then run /disownplayer <username> to remove the protection on their blocks.
EDIT: You can find more information on staff commands here.
@gdude2002
If admins rolls back a player, are their blocks still protected?
-Bayside308
@WrennAmethyst
I've made some fixes and done a Spigot release, but I'm not going to link it here or in my project as, as far as I know, we aren't allowed to advertise Spigot projects or link to builds from unapproved sources.
@WrennAmethyst
Did WatchBlock have a Spigot presence? It might not be a bad idea, but there's a couple bugs I'd like to squash first (fixed in dev builds but they need testing)
Good to see this being revived, you should consider posting it to Spigot as well.
@Doingit
Hey, thanks for the feedback!
I feel like this thing is still in the early stages - it seems to be performing well on my smallish server (about 4.5 million owned blocks), and I'm a little unsure about the migration since WatchBlock's files don't seem to be.. well, not quite standard. Still, seems fine on our end, I'm just nervous, lol.
Let me know if you have any problems \o/