MrNaikito / towny

Automatically exported from code.google.com/p/towny
0 stars 1 forks source link

Towny Perms Not Working #1613

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install Towny
2. Use townyperms.yml
3. No one can do any commands.

What is the expected output? :

My players can use the commands for the first 5 minutes after the server 
started, then they can't. I don't know why.

I also tried to just assign towny permissions to my players via bPermissions, 
but then it really bugged. If a player was in a town and was normal residents, 
he could use Mayor commands etc. So now neither of them work, which makes towny 
useless for me at the moment.

My bPermissions version: v2.10.5
My Vault version: Vault 1.2.24 

What is your Towny version number? :
Towny version: 0.82.1.0

What is your Bukkit version number? :
CraftBukkit 1.4.7-R1.0

What operating system? :
Linux Centos 6.3

Please use pastebin.com to link the following files:

- Your full server startup from server.log: http://pastebin.com/tM3cWGM6

- Your towny config.yml: http://pastebin.com/gqm2a7Uc

- Your townyperms.yml: http://pastebin.com/AtBL7DyV

- Your permissions file: http://pastebin.com/pdTydSUm

Original issue reported on code.google.com by netnimat...@gmail.com on 3 Mar 2013 at 7:51

GoogleCodeExporter commented 9 years ago
No errors follow in the server when the players all of a sudden cannot do 
anything?

Original comment by LlmD...@gmail.com on 4 Mar 2013 at 12:33

GoogleCodeExporter commented 9 years ago
No, nothing. Just found out sometimes it suddenly works for 5 minutes, then 
stops. It's really weird :(

Original comment by netnimat...@gmail.com on 4 Mar 2013 at 6:38

GoogleCodeExporter commented 9 years ago
What in-game message do they get, exactly, when they attempt to do a command. 
Tell us which command and exactly what they see in-game.

Original comment by LlmD...@gmail.com on 4 Mar 2013 at 1:56

GoogleCodeExporter commented 9 years ago
When they do like /t here, it says "[Towny] Command disabled: Using 
permissions.". I would give my users Towny permissions in bPermissions, but if 
I do that, e.g. give them towny.command.town.*, they can also use mayor 
commands, even though they're just normal residents. So I'm stuck with 
townyperms.yml.

It's not with all commands it says "[Towny] Command disabled: Using 
permissions.". E.g. they can do /towny map, and /t list, but they can't do /t 
list.

Original comment by netnimat...@gmail.com on 4 Mar 2013 at 3:06

GoogleCodeExporter commented 9 years ago
The only time I ever saw this happen was when someone else was using 
bpermissions.

Might be time to move to GroupManager.

Original comment by LlmD...@gmail.com on 5 Mar 2013 at 1:02

GoogleCodeExporter commented 9 years ago
I don't feel like moving permissions plugin. I have really a lot setup with 
bPermissions. Can you somehow fix this? :(

Original comment by netnimat...@gmail.com on 5 Mar 2013 at 3:01

GoogleCodeExporter commented 9 years ago
At least try removing bpermissions as a test, without adding another perms 
plugin in.

Please do this and get back to me.

Original comment by LlmD...@gmail.com on 5 Mar 2013 at 3:43

GoogleCodeExporter commented 9 years ago
I tried removing it, and it worked. But why is bPermissions causing this? :(

Original comment by netnimat...@gmail.com on 6 Mar 2013 at 4:52

GoogleCodeExporter commented 9 years ago
So you going to add bPermissions support? :o

Original comment by netnimat...@gmail.com on 10 Mar 2013 at 1:00

GoogleCodeExporter commented 9 years ago
using_permissions: 'false'

That is in your towny config, set it to true and let me know if its still 
acting weird.

Original comment by LlmD...@gmail.com on 10 Mar 2013 at 6:15

GoogleCodeExporter commented 9 years ago
When I set using_permissions: 'true',
and I give my users towny.command.town.* and towny.town.*, they are able to use 
mayor commands when they are only normal residents in a town :(

Original comment by netnimat...@gmail.com on 10 Mar 2013 at 6:28

GoogleCodeExporter commented 9 years ago
you dont give players those permission nodes in bperms, they are given in the 
townyperms.yml to the ranks which are prescribed them.

Original comment by LlmD...@gmail.com on 10 Mar 2013 at 6:49

GoogleCodeExporter commented 9 years ago
Ok, just one question. Do my ranks inherit from each other in townyperms.yml. 
Example:

If my default rank has: town.1
and I only gave my mayor rank: town.2

Will my mayor rank inherit from default and get town.1?

Original comment by netnimat...@gmail.com on 10 Mar 2013 at 7:28

GoogleCodeExporter commented 9 years ago
yes mayors inherit from the default town rank which inherits from the nomad 
rank.

Original comment by LlmD...@gmail.com on 10 Mar 2013 at 7:43

GoogleCodeExporter commented 9 years ago

Original comment by LlmD...@gmail.com on 20 Mar 2013 at 4:41