Minecraft PermissionShell mod 2026 download
logo
minecraft mod PermissionShell

PermissionShell

Game Version: 1.13
Total Downloads: 2,013
Updated: Feb 13, 2019
Created: Feb 13, 2019
Download PermissionShellDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
PermissionShell v1 release 9.86 KB Feb 13, 2019 1.13 2,013 download PermissionShell PermissionShell v1 releaseDownload

Description

Share this:

PermissionShell

When i was developing another plugin and want to test it against permissions, i noted there is no easy way to do it like console commands or such

 

Disclaimer

Warning: playing with your server permissions in runtime may render your server unusable, you could revoke command permissions to everybody, revoke your own permissions,  and mess your server up with no return… please backup your server often and use the plugin with consciousness

 

Description

This plugin adds the console command "permissionshell" (default alias "perm") with 4 subcommands: "list", "set", "remove", "help"

 

Syntax

The general form is "/perm <subcommand> <player> <permission_spec> [value]" plus the "help" subcommand

/perm list <player> [filter]

/perm set <player> <permission> <value>

/perm remove <player> <permission>

/perm help [subcommand]

 

  • <filter> has meaning for "list" subcommand and matches all the permission names starting with it, can be omitted for all player permissions (the list can be huge)… also can use "*" as a wilcard to match anything beetween, as in filename glob… example: "v*.f"
  • <permission> is a literal permission name in case of "set" and "remove" subcommand
  • <value> has only meaning for "set" subcommand, and can be either "true" or "false"
  • in game chat (or server console) just type "/perm " to get more info

 

The little longer story

While i was writing this plugin i discovered some more deeper things besides the common use for permissions 'player.hasPermission("myPerm")'… popular knowledge says you should install "Vault" or some permission plugin (ex.: permissionsEx, bPermissions, bukkitPermissions, etc), edit files and reload, something totally unpractical for testing purposes 

I learned that when the plugin loader reads the permissions section of the file "plugin.yml" the default permissions are registered in the server, but additionally a permission can be overriden for a player by "attaching" a custom one to it… however is important to remove these permission attachments once used to free resources

 

More info

Sorry for the ugly description, i am a little short of time but with the hope the plugin will be useful and to had wrote a useful description… source code at https://github.com/atesin/PermissionShell

 

¡viva chile mierda!

Comments

Add a comment