markhughes / FactionsPlus

FactionsPlus extends on-top of Factions to provide more features.
http://ma.rkhugh.es/factionsplus
GNU Affero General Public License v3.0
15 stars 16 forks source link

FactionsPlus commands based on faction rank #207

Closed GerdonAbbink closed 8 years ago

GerdonAbbink commented 8 years ago

Hello,

So I am loving your plugin! but I have 1 question / request.

Could you make it so that the commands can also be based on the faction rank like: Leader/Officer. Because I have to make special ranks with the permission for setting a jail for example or when you have the permissions that the plugin wil look if the player is an leader / officer in the faction.

StargateMC commented 8 years ago

FactionsPerms could do this?

GerdonAbbink commented 8 years ago

That is per zone/territory, but I mean is can you not add a 'ReqPlayerIsOfficer' class and add a ReqPlayerIsOfficer and ReqPlayerIsLeader in the 'CmdSetJail' Class as requirement ?

markhughes commented 8 years ago

We're moving to ReqRankAtLeast instead now.

https://github.com/MarkehMe/FactionsFramework/blob/master/src/me/markeh/factionsframework/command/requirements/ReqRankAtLeast.java