
Players have access to TownyChat channels without the permission nodes
Closed this issue · 5 comments
What steps will reproduce the problem?
Players have access to TownyChat channels without the necessary permissions. For ex, an admin channel with towny.chat.admin. Even if I negate the node. They cannot see the channel though, until they send one message. I use the "permission" key. Maybe I should try explicit speakpermission and listenpermission
towny.chat.admin is only given to a staff rank, inheritance is proper. I think this must be a new occurrence. I have also tried negating it, but they can still use the alias for the channel
What is the expected output?
Players should only have access to send or receive messages in channels they have permission nodes for.
Towny version
0.101.1.7, TownyChat 0.118
Server version
Paper 1.21.4 build #225
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log: I was told to skip
- Your Towny config.yml: N/A
- Your townyperms.yml: N/A
- Your log's error: N/A
(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:
Having your permissions file to look at would be great considering this is purely a permissions issue, otherwise you just have to follow the instructions at https://luckperms.net/wiki/Verbose (assuming luckperms) to fix this yourself.
I had asked you on discord after this was posted, but you may have missed it. Can you supply your townyperms.yml file and your /lp editor
link as well please.
I'm having this issue as well and can provide the missing info from the original ticket. I'm testing a few more things first, but as I've not had this problem since it was fixed years ago, I do not believe this is a permissions issue, also lp verbose was not showing a missed permission check..
Where there are two versions below, they are run on separate servers, not both at once! Newer versions are all together and older all together:
Paper 1.21.4 build 224 (and 222)
Towny 0.101.1.10 (and 0.101.1.8)
TownyChat 0.118
Luckperms 5.4.158 and 5.4.141
The behavior is that the correct people can and can't see a channel... until the user who shouldn't be able to use it sends a message in it with /m (message) or /ad (message) and then after that they can see the channel and talk in it.
I will send towny perms here, and lp editor directly to llmdl. I don't wish to post that information in a ticket.
towny perms: https://pastebin.com/z8DT1CL9
Channels.yml: https://pastebin.com/PaZNTCkE