Need help? Ask on the forum, ask a fellow user or developer (join us on IRC), or contact sk89q.
Contribute to the wiki, edit this page! Register an account, or login with Facebook first.
HEY! Do you integrate (or want to) a plugin into yours? Do you help work on WE/WG/etc.? Please subscribe to our mailing list!

About the ads

WEPIF/Flat file permissions

From SK's Wiki
Jump to: navigation, search

The main features of these permissions are:

  • You can give each user permissions.
  • You can create a number of groups and give each group permissions.
  • You can assign groups to a user and they will receive the group's permissions.
  • Everyone is in the default group.

Flat file permissions is hierarchy-aware:

  • Providing node1.node2 will also provide access to both node1.node2.node3 and node1.node2.node4
  • There is no "deny" permission.

Usage

To use this permission system, create these two files in your server's root folder:

perms_groups.txt

admins:*
mods:worldedit
default:worldedit.navigation

That creates three groups. The colon (:) separates the fields. The first one is group name and the second is comma-separated list of permissions. "*" means that group can do everything.

perms_users.txt

sk89q:admins:*
tetsu:mods:commandbook.time,commandbook.teleport
alex:mods

That defines three users. The colon (:) separates the fields. The first field is the player's name, the second is a comma-separated list of groups, and the third is a comma-separated list of extra permissions.



Namespaces

Variants
Actions