Commands and Permissions
Below is a list of commands and permissions. For each permission, you need to have the parent's permission. so for example:
If you wish to give a player "skinsrestorer.command.set.other
" make sure you also give
BOTH skinsrestorer.command.set
permission and the main "skinsrestorer.command
" permission
ℹ️
Commands not working? Read the installation guide
ℹ️
Don't use wildcards "*"
for permissions! It won't work!
Commands
Player commands
Command and aliases | Description | Permissions |
---|---|---|
/skin | the main command | skinsrestorer.command ¹ |
/skin <skin name> | changes your skin | skinsrestorer.command.set ¹ |
/skin url <URL> | Allow players to set a .png skin | skinsrestorer.command.set.url |
/skin set <player> <skin> | set's a player skin | skinsrestorer.command.set.other |
/skins | open the skinsmenu | skinsrestorer.command.gui |
/skin clear | reset your skin | skinsrestorer.command.clear ¹ |
/skin clear <player> <skin> | clear's a player skin | skinsrestorer.command.clear.other |
/skin update | updates your set skin | skinsrestorer.command.update ¹ |
/skin update <player> | update's a player skin | skinsrestorer.command.update.other |
PERM | bypass the skinscooldown config | skinsrestorer.bypasscooldown |
PERM | bypass the disabledskins list | skinsrestorer.bypassdisabled |
¹ = OR when SKINWITHOUTPERM= True
- [!] /sr reload ONLY works for some config options; MySQL, for example, needs a FULL RESTART to apply
Admin commands
Command and aliases | Description | Permissions |
---|---|---|
/sr | shows the admin command | skinsrestorer.admincommand |
/sr status | test the Mojang API | skinsrestorer.admincommand.status |
/sr applyskin <player> | re-apply skin of player | skinsrestorer.admincommand.applyskin |
/sr CreateCustom <name> <url> | Create custom skin from a url.png | skinsrestorer.admincommand.createcustom |
/sr drop <player> skin> <target> | removes the .skin OR .player file | skinsrestorer.admincommand.drop |
/sr props <player> | gives the skinprops of the player | skinsrestorer.admincommand.props |
/sr reload | reload config & Locale | skinsrestorer.admincommand.reload |
Per skin perms
Own skin = skinsrestorer.ownskin
skin = skinsrestorer.skin.<name>
(example: skinsrestorer.skin.xknat
)
Permissions
The perms can be found on CommandReplacements.java (opens in a new tab)
- [!] make sure you have the upper-class permission when giving a sub or all when using an additional example:
- main
- sub
- Addition
- skinsrestorer.command
- skinsrestorer.command.gui
- skinsrestorer.command.set
- skinsrestorer.command.set.url
- skinsrestorer.command.set.other
- skinsrestorer.command.clear
- skinsrestorer.command.clear.other
- skinsrestorer.command.update
- skinsrestorer.command.update.other
- skinsrestorer.admincommand
- skinsrestorer.admincommand.status
- skinsrestorer.admincommand.applyskin
- skinsrestorer.admincommand.createcustom
- skinsrestorer.admincommand.drop
- skinsrestorer.admincommand.props
- skinsrestorer.admincommand.reload
- skinsrestorer.bypasscooldown
- skinsrestorer.bypassdisabled