ElgarL / Towny

Towny Advanced plugin for Bukkit @ http://palmergames.com/towny/
http://palmergames.com/towny/
75 stars 91 forks source link

[solved]towny_maxoutposts is not working for me #98

Closed dreniarb closed 11 years ago

dreniarb commented 11 years ago

Tried in permissionbukkit, adding

towny_maxoutposts: 2

to the default permissions node, but users can still make more than 2 outposts. switched to groupmanager to test it out, and put it under the info node like the wiki suggests:

groups: Default: default: true permissions:

but users are still able to set more than 2 outposts. i know this permission group is being loaded for my users because i can control whether or not they can set the time by changing that one line up there.

does anyone know how to make this work? for now i have to disable outposts, but i'd love to allow towns to have 2.

thanks.

Tom-Ski commented 11 years ago

It is an info node, I'm not sure what you were trying to do in the first half that you explained, but adding it as a perm node will not work.

Do they get any message when claiming outposts? You might also want to test plot limits to see if its a problem with all info nodes. Also, version of Towny?

dreniarb commented 11 years ago

yeah, i noticed later on that it was an info node (had never heard of that before) and from what I can find permissionsbukkit does not do info nodes, that's why i then tried groupmanager.

do you see a problem with my info node in the groupmanager config? are you able to limit the number of outposts on your server? right now i'm working off a test server, so I can try anything you could suggest.

My version of towny is 0.83.0.0, and when claiming more than 2 outposts users don't get any other message than the normal one that says "outpost claimed". no errors at the console either.

Thanks for the help!

Tom-Ski commented 11 years ago

I've given it a test: http://i.imgur.com/IzVrTnL.png Working for me ok, I dont use group manager, perhaps try setting the info node from a command in game and see how that is. It will ignore people that are towny admins, ops too. Hop on the irc if you cant get it to work.

dreniarb commented 11 years ago

Nice to see that it can actually work, thanks. Gives me hope to keep hacking away at it.

What permissions system do you use?

Tom-Ski commented 11 years ago

I tested it on GM and PEX. It was my PR so I had to make sure it worked :P

dreniarb commented 11 years ago

Man, I have tried and tried. Do you mind sharing your GM file?

Tom-Ski commented 11 years ago

Pop on the IRC? My GM file looked identical to yours.

dreniarb commented 11 years ago

I'm not sure what the deal is, but all I did was move the permissionbukkit.jar file out of the plugins folder, and put the groupmanager file back in. i did not have to edit any config files (they were already there from my previous attempt), and it's working. crazy.

So the above config that I listed works as it should.

Thanks again for your help.