DroxPerms
DroxPerms is a Permissions Plug-in implementing the Bukkit Permissions-API. It supports Groups and Subgroups for easier Permissions-management and multiple worlds.
It also includes an API that allows external Plug-ins to
- add Permissions to Players
- remove Permissions from Players
- change a Players Group
- add Subgroups to Players
- remove Subgroups from Players
- add Information to a Players Info-node (like Prefix)
- retrieve Information from a Players Info-node
- add Permissions to Groups
- remove Permissions from Groups
- add Subgroups to Groups
- remove Subgroups from Groups
- add Information to a Groups Info-node (like Prefix)
- retrieve Information from a Groups Info-node
To install DroxPerms simply put DroxPerms.jar into your plugins folder, default configs will be created on the first start. Information on how to use the commands and the file-structure can be found in the links below. If you use plugins that use the Permissions 2/3 API, then you might want to also put DroxPermsBridge.jar into plugins. DroxPermsBridge routes most of the Permissions 2/3 API to the DroxPerms API.
Wiki: https://github.com/hydrox/DroxPerms/wiki
Commands: https://github.com/hydrox/DroxPerms/wiki/Commands
Permissions: https://github.com/hydrox/DroxPerms/wiki/Permissions
File Formats: https://github.com/hydrox/DroxPerms/wiki/File-formats
API: https://github.com/hydrox/DroxPerms/wiki/API
Source-Code: https://github.com/hydrox/DroxPerms
Issue-Tracker: https://github.com/hydrox/DroxPerms/issues
@Mydrox
Just wondering if you have any plans on updating DroxPerms to support UUID's? :)
Thanks
- CLGREEN
why is there no reload command?
how do i download it
I can't. The reason is that I do not collect that information, as it is not important for development and some people don't like to publish which security related plugins they use.
hey can you add like a serverlist of ppl who use DroxPerms?
@Mydrox
It works!! Thanks!!! :D
@javieraizpuru
I made my changes to Vault which add an option to change the behaviour of the DroxPerms integration to guess if the Main-group of a player should be changed.
https://dl.dropboxusercontent.com/u/16458100/minecraft/Vault-1.2.27-SNAPSHOT.jar
This feature is deactivated by default. To activate it add the Vault.useOnlySubgroups = false option to the DroxPerms config-file as shown in the following file
https://dl.dropboxusercontent.com/u/16458100/minecraft/config.yml
If this solves your problems, then I will make a pull-request to get this change into the official Vault.
@Mydrox
Thanks! i will be waiting for an update.
@javieraizpuru
thank you, I came to the same conclusions, and I have an idea about how to solve the problem without breaking stuff, I'll have to played and hack around with Vault to test if it works like I think it should. Once I have a working version, I shall post a link and make a pull-request for Vault to get the change into the official release. I don't know how long it will take, but this is definitely on my todo-list.
regarding the tracks, in the flatfile-option you need to create a tracks.yml which has the following format https://gist.github.com/hydrox/eb9a2a06fdc86bc438ca
the mysql-option currently doesn't have a way to create tracks without direct access to the Database (I haven't gotten around to write the webinterface yet, and we didn't have the need a command to add tracks, I should probably add one).
I hope I could help, I will update the github-wiki to contain information about tracks tomorrow.
I talked to the Ontime author about my problem with Ontime and Droxperms, he made an investigation and found whats the problem, here is what he said and i hope that now you can fix my problem.
Edge209 3 hours, 30 minutes ago Ok, here's the deal.
Droxperms and the Vault interface have been implemented differently that most (all?) other permissions plugins with respect to groups and sub-groups.
For Droxperms, the "addgroup" and "removegroup" Vault functions call DroxPerm's API for "add SUB group" and "remove SUB group". When OnTime does a promotion it first tries to remove a player from their current primary group. This fails with DroxPerms because it tries to remove a "sub group" per the called API function, but there is no "sub group". OnTime then tries to "add" in the new (promoted) group, and again because of the API function called it is added as a SubGroup.
In the other permissions plugins if the group specified for removal is the primary group, the player will be removed. Then since the player is now has no assigned primary group, when OnTime does the "add group", this becomes the new primary group.
If OnTime is doing an "addgroup" reward, since the player already has some primary group, the "addgroup" rewards results in the addition of a sub-group. This will also work with DroxPerms, per the current Vault interface.
So in a nut shell, OnTime cannot do a promotion with DroxPerms unless the Vault interface (and likely the DroxPerms API) is modified. Since there is no Vault/DroxPerms interface available to modify the primary group, I can't even add in special handling for DroxPerms to try to handle it from my side.
Now I could directly interface with the DroxPerms API, since it does have a call to modify the primary group, but by my own policy, I will only support permissions plugins via Vault. I don't want to have to deal with the hassle of keeping up with every possible API for different permission plugins. That is the mission of Vault, which they execute very well.
Regards, Edge
ps Feel free to re-post my investigation results with the DroxPerms/Vault dev teams if you would like to see them take action. I'd be glad to answer any questions they may have regarding OnTime's methods.
how do you make a track?
I don't know what vault does because the Vault-integration was written by someone else. I will have to look into it.
When using OnTime and Vault for promoting players groups, the groups are added like subgroups and not like the main group. Can you fix it? Thanks.
Sorry for my english.
good plugin :D
@lubokill
/cp setinfo [playerName] prefix [prefix]
e.g.
/cp setinfo lubokill prefix {ImportantPerson}
whats a easy way to change the prefix of a player in the game without consol with op
@WizardCM
The stable version of DroxPerms is 99% supported by the latest dev build of Vault. You will also need a dev build of DroxPerms if you want 100% compatibility.
And I'm the guy Mydrox is referring to.
@WizardCM I'll relay this to the person that implemented DroxPerms in Vault. I'm sure we can get that fixed. :)
The only issue with this plugin for me is incompatibility with Vault prefixes, otherwise It'd be absolutely PERFECT for my server. :(
@Serubin323 When I do /cp setgroup <player> <group>, I only get a list of the avalible commands... The same happends when I do it in the server console.. I can't use any commands without getting the list, and nothing happends. Why does this happend? xD