GroupPermsLite

Unsatisfied with a number of other permissions management plugins publicly available, I sought to create a lighter and more elegant plugin to handle group-based permissions. With a focus to making all of the commands understandable at a glance and providing helpful details when queried. You should be able to get on with permissions management simply through typing /help GroupPermsLite and reading the command descriptions.

If you are unfamiliar with Bukkit permissions, please see the Wiki Article and the Forum FAQ


Features


  • Simple and elegant
  • Easy to use and understand
  • Allows setting up an unlimited number of groups (names are case-insensitive)
  • Has a default group called "all" that applies to all players that have joined the server, nomatter what other groups they are in
  • Has a unique group for each player called "personal_[player name]" that allows individual permissions settings
  • Saved in YAML format, advanced users can read and manage on disk and reload while the server is running using a command
  • Simple and easy to use commands to add/remove players from groups and grant/revoke permissions from groups
  • Allows use of the wildcard (*) to match any value for a node in a permission string when granting permissions using a command
  • Allows adding negative permissions using the (-) operator to prevent a particular group from receiving the given permission from any other source

Ideas for future development


  • /hasPermission ([player]) [permission node] - For manually checking permissions of a player and for use in command blocks (Available from 4.4 onwards)
  • Tab auto-completion for registered permission nodes
  • Support for Vault for better compatibility with plugins such as the LWC group feature
  • A command to rename a player in order to support upcoming Mojang name changing feature

Commands


CommandPermissionDescription
/GroupCreate [group]group.adminCreates a group without adding a player or permission
/GroupAddPlayer [group] [player]group.adminAdds a player to the given group (creates the group if it doesn't already exist)
/GroupRemovePlayer [group] [player]group.adminRemoves a player from the given group
/GroupGrantPerms [group] [(-)permission-string]group.adminGrants the given permission(s) to the specified group (creates the group if it doesn't already exist)
/GroupRevokePerms [group] [permission-string]group.adminRevokes the given permission(s) from the specified group
/GroupListPerms [group] ([page number])group.adminLists all of the permissions for a given group
/GroupListPlayers [group]group.adminLists all players in a given group
/GroupListgroup.adminList all groups
/GroupDelete [group]group.adminDeletes a given group
/GroupReloadgroup.adminReloads config from disk
/RegisterPerm [permission node] [default(op/not-op/true/false)]group.adminManually register an unregistered permission node

Most commands have a "silent" feature that is activated by placing a "-s" (without quotes) at the end. This is intended to be used with command blocks and command scripting plugins to allow you to manage your permissions through these without generating lots of console spam. You will still get a response if the command fails however.


Add-ons


  • RankDisplayNames - Create ranks with chat prefixes that update automatically with permissions set through GroupPermsLite

Troubleshooting


It says the permission is not registered, what can I do?

Sometimes plugin developers will forget or simply not bother to register their permissions with Bukkit, but still use them in their code. Fortunately, the bukkit permissions.yml file can come to the rescue here. You should be able to find the permissions.yml file in the server directory. It is used by server owners to manually register additional permissions in bukkit. See http://wiki.bukkit.org/Permissions.yml for details about editing the Permissions YAML. It is usually used to group permissions together so that they can all be assigned at once (this is compatible with GroupPermsLite!), however there is also nothing stopping you from registering all of the unregistered permissions for a plugin manually.

For example, here is how to register all of the permissions for Essentials (the most notorious for not registering their permissions): http://dev.bukkit.org/paste/7208/. You can cut and paste these into your permissions.yml if you use essentials. Be aware that permissions with square brackets [ ] around a permission node mean that you have to change that to the specific type you want in order for it to work.

Coming in v0.4: Added support for unregistered permissions - You will be able to grant unregistered permissions to a group with a prompt for confirmation

This plugin uses Java 7

If you get the followed error on starting up the server with this plugin installed "Unsupported major.minor version 51.0". This means you are using an out of date version of Java. If you don't know how to upgrade, please contact your server hosting provider and ask them for help in upgrading to Java 7, or contact Oracle customer support. Mac OS X users require JDK 7 instead of JRE 7.


Donations


If you like my work, please consider donating using the Donate button in the top-right corner of the screen. As a freelance professional, I rely on donations and payments to support my work. Anything you can contribute to support my work will allow me to spend more time making plugins for Bukkit and supporting the plugins I publish. Thank you.

Everything I create here will be 100% free to download and use as you please, just keep the license attached and give me credit for the original work if you decide to redistribute.

Donate


Help


If you need help you can leave a comment below and I will get back to you as soon as I can. You can also join my IRC chatroom using the following link. Please note, I am not always at my keyboard! http://webchat.esper.net/?channels=XHawk87&prompt=1

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of XHawk87 XHawk87 Aug 28, 2016 at 17:49 UTC - 0 likes

    @RivePlays: Go

    I don't know of any reason why this shouldn't work in 1.9 or 1.10. No updates should be necessary, unless the API has been broken, in which case it might be worth reporting to the Spigot team.

    Waiting for a viable alternative to Bukkit

  • Avatar of RivePlays RivePlays Aug 28, 2016 at 17:41 UTC - 0 likes

    Hello XHawk87,

    Can you update this Plugin of the 1.9?

    that would sooooo cool!

    Please PLEASE!

    Bye Bye :)

  • Avatar of adopted3 adopted3 Jul 25, 2016 at 06:04 UTC - 0 likes

    Hello, Does this dear plugin even work with 1.10.* ?

    We seem to have lost all groups. :(

    adopt

  • Avatar of XHawk87 XHawk87 Apr 14, 2016 at 15:31 UTC - 0 likes

    @5pencer5: Go

    That is incorrect.

    The number of slashes before a command is irrelevant. To Bukkit an extra slash is just another character. I don't know why you think this is an issue, it is not.

    The command name is not the same as the permission node. You do not enter the name of the command, you enter the permission node for that command.

    The WorldEdit (double-slash) wand command has a Permission listed in their documentation that I linked you to earlier: http://wiki.sk89q.com/wiki/WorldEdit/Permissions. See it about half-way down the page. You can press Ctrl+F in your browser to search and type wand, it will find it quickly. The permission node listed is "worldedit.wand" (without the quotes, obviously). Use that permission node in the command, not the command name.

    This works the same for every permissions plugin. I suggest you read the information in the articles I linked earlier if you still don't understand. Otherwise you will run into the same issues you had with this plugin with any and every other permissions plugin you try.

    Last edited Apr 14, 2016 by XHawk87
  • Avatar of 5pencer5 5pencer5 Apr 14, 2016 at 15:06 UTC - 0 likes

    but it has 2 slashes before the command so i dont think i could give/not give someone perms to do wand with this plugin

  • Avatar of XHawk87 XHawk87 Apr 13, 2016 at 15:39 UTC - 0 likes

    @5pencer5: Go

    http://wiki.sk89q.com/wiki/WorldEdit/Permissions

    Look up the Permission node next to the command. Every plugin sets their own permission nodes, so I can't tell you what the permission nodes are. You will notice that permission nodes do not contain spaces, instead they contain dots.

    Since you seem to be very new to this, you should also read this article about Understanding Permissions. The Bukkit Permission FAQ may also be helpful.

    Last edited Apr 13, 2016 by XHawk87
  • Avatar of 5pencer5 5pencer5 Apr 13, 2016 at 14:56 UTC - 0 likes

    as in worldedit wand

  • Avatar of 5pencer5 5pencer5 Apr 13, 2016 at 14:55 UTC - 0 likes

    wait so what would i type if i wanted to give group Admin permission to do wand (its 2 slashes) would it still be /groupgrantperm Admin wand

  • Avatar of 5pencer5 5pencer5 Apr 13, 2016 at 14:46 UTC - 0 likes

    @5pencer5: Go

    so would it be /groupgrantperms kit.Admin ?

  • Avatar of 5pencer5 5pencer5 Apr 13, 2016 at 14:45 UTC - 0 likes

    @XHawk87: Go

    ok so its a . whenever there is supposed to be a space?

Facts

Date created
Jan 15, 2013
Category
Last update
Sep 11, 2014
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
GroupPermsLite
Downloads
53,527
Recent files

Authors