-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a Towny town doesnt work 'worldName' cannot be null #64
Comments
Hi @Blackyvk, I had a look into it and found out that Towny tries to create an account for the town. Thanks in advance and best regards. |
Thank you for reply, here is my balance table, I think I tried to remove the "NOT NULL" from worldName and for that i had to remove the PRIMARY KEY, but then I got duplicates error when trying to create a town.
|
Ah now I get it. From MySQL Reference:
Unfortunately I cannot change the primary key in order to remove the world name from it. I think the best solution would be to somehow determine the world name of the world the town is in and use it in this function. I need to dig deeper into this and may need a few days to fix this. |
@pavog Hello, I just noticed this, is there a build with this fix working? I want to test |
Hi,
When creating a town using towny, it gives me this error.
https://pastebin.com/raw/uqYdccvs
Any way to fix it please ? i'm running my server with this plugin and this is very important, as nobody can create any towns atm.
Thank you!
The text was updated successfully, but these errors were encountered: