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
User not receiving invite/not in a town #4157
Comments
So a mayor is not able to /t invite stry? Can you show me the mysql entry for stry? |
they're marked as being an NPC, which is why they cannot be /ta deleted, probably also why they aren't getting an invite. |
so if i switch that from 1 to 0 that should possibly fix it? |
I would imagine yes. |
I changed isNPC from 1 to 0 and restarted, but it changed back to 1 |
That is very strange. edit: Make sure you're doing this while the server is shut down. |
Sorry for the super late response. Just tried to change isNPC from 1 to 0 while the server was offline and when I turned the server on it was marked with 1 again. My server is running Towny 0.96.2.9 on PaperSpigot 1.16.1 #128 |
That doesn't really make sense. Do you have a plugin that would be doing this? |
Citizens maybe? |
Doubtful. Stop the server and disable everything except vault, your economy plugin and Towny. Make the database change and then start the server. See if it goes back to 1. |
Disabled everything except vault, my economy plugin and Towny and made the change while it was off and it went back to 1 still |
Sounds like w/e you're doing to edit your database is not editing the database. |
I was using MySql workbench to edit it before and after doing it directly from phpMyAdmin i'm still getting the same result |
I'd say convert to flatfile using the instructions on the How Towny Works wikipage, flatfile is more reliable in general. I have never heard of anyone with this issue using either mysql or flatfile, but I believe it will stop if you're using files (unless something else is interfering.) |
Converted to flatfile using the methods that were on the wiki, then turned off the server like before, went into the user file changed NPC:True to false and turned the server on it changed back to true |
The only way Towny does that is if someone is using the /ta toggle npc {resident} command on them. |
I'm the only one on after these restarts and I don't do the command and the user doesn't have access to it |
OK, still incredibly strange. Probably not Towny causing it, since it will only set the NPC value on load of the database, or when that command is run. |
Would it have to do with Essentials? because that's my economy plugin, I had Essentials,EssentialsChat,EssentialsSpawn,Vault and Towny running that time you said economy, vault and towny |
Unlikely. |
On a fresh server with only towny default config, essentials default config and vault the problem still exists, the person is marked as an npc right away when their profile is created for the first time |
Sorry for the late response, I have been on holiday. If you want to try having them join a test server of mine, we can test it on my end. |
No problem. We can try that |
Sorry if it's posted somewhere obvious but I can't find anything about a test server. |
Hit me up on the discord and I can give you teh address. |
What steps will reproduce the problem?
What is the expected output?
What is your Towny version?
Do not say "latest".
96.2.3
What is your spigot/craftbukkit version?
Do not say "latest".
PaperSpigot 1.16.1
Please use Pastebin.com to link the following files:
Skipping these files is not an option. It is the easiest way to diagnose an issue ticket properly. If you do skip this step then your ticket will most likely be deleted and you will be asked to resubmit.
https://pastebin.com/qm2j2VJM
https://pastebin.com/xfF0HmLg
https://pastebin.com/CC3ui7s2
(optional) If this is to do with permissions,
5. Your permissions file :
(optional) If this is to do with chat,
6. Your chatconfig.yml :
7. Your channels.yml :
This is probably a very specific issue but after several user reconnects, restarts, manual mySQL resident deletes I can't find a solution to this problem myself and wonder if it might have something to do with their ign being only 4 characters.
The text was updated successfully, but these errors were encountered: