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
Commands
Below is a list of both player and admin commands available in SkinsRestorer.
Player commands
The commands below can also be accessed when having one of these permissions:
skinsrestorer.player
/ skinsrestorer.command.*
Command | Description | Permission |
---|---|---|
/skin | Changes your own skin. | skinsrestorer.command |
/skin set <skinName> | Changes your skin. | skinsrestorer.command.set |
/skin set <skinName> <target> | Sets the skin for a target player. | skinsrestorer.command.set.other |
/skin set <skinName> <target> <skinVariant> | Sets the skin for a target player. | skinsrestorer.command.set.other |
/skin url <url> | Changes your skin from a URL. | skinsrestorer.command.set.url |
/skin url <url> <skinVariant> | Changes your skin from a URL. | skinsrestorer.command.set.url |
/skin update | Updates your skin. | skinsrestorer.command.update |
/skin update <target> | Updates the skin of a target player. | skinsrestorer.command.update.other |
/skin search <searchString> | Search up a skin that you want. | skinsrestorer.command.search |
/skin clear | Clears your skin. | skinsrestorer.command.clear |
/skin clear <target> | Clears the skin of a target player. | skinsrestorer.command.clear.other |
/skin <skinName> | Changes your own skin. | skinsrestorer.command |
/skin help | Shows this help command. | skinsrestorer.command.set |
/skins | Opens the skins GUI. | skinsrestorer.command.gui |
Admin commands
The commands below can also be accessed when having one of these permissions:
skinsrestorer.admin
/ skinsrestorer.admincommand.*
Command | Description | Permission |
---|---|---|
/sr | Admin commands for SkinsRestorer. | skinsrestorer.admincommand |
/sr createcustom <skinName> <skinInput> | Create a custom server wide skin. | skinsrestorer.admincommand.createcustom |
/sr createcustom <skinName> <skinInput> <skinVariant> | Create a custom server wide skin. | skinsrestorer.admincommand.createcustom |
/sr setskinall <skinName> <skinVariant> | Set the skin of every player to a single skin. | skinsrestorer.admincommand.createcustom |
/sr info <playerOrSkin> <input> | Displays info about a player or skin. | skinsrestorer.admincommand.info |
/sr props <playerOrSkin> <input> | Displays info about a player or skin. | skinsrestorer.admincommand.info |
/sr lookup <playerOrSkin> <input> | Displays info about a player or skin. | skinsrestorer.admincommand.info |
/sr drop <playerOrSkin> <target> | Removes player or skin data from the database. | skinsrestorer.admincommand.drop |
/sr remove <playerOrSkin> <target> | Removes player or skin data from the database. | skinsrestorer.admincommand.drop |
/sr purgeolddata <days> | Purge old skin data from over x days ago. | skinsrestorer.admincommand.purgeolddata |
/sr applyskin <target> | Re-apply the skin for target player. | skinsrestorer.admincommand.applyskin |
/sr dump | Upload support data to bytebin.lucko.me. | skinsrestorer.admincommand.dump |
/sr applyskinall | Re-apply the skin to all players. | skinsrestorer.admincommand.applyskinall |
/sr status | Checks required plugin API services. | skinsrestorer.admincommand.status |
/sr reload | Reloads the configuration file. | skinsrestorer.admincommand.reload |
Set skin for every player
For events where you want to set the skin temporarily (till they rejoin) for every player that is online,
you can use the /sr setskinall <skinName> <skinVariant>
command.
Send server dump to the developers
If you are having issues with SkinsRestorer,
you can use the /sr dump
command to generate a link you can send to the developers to help diagnose the issue.
Permissions
SkinsRestorer has a variety of extra permissions that you can use to control access to certain features.
Permission | Description |
---|---|
skinsrestorer.bypasscooldown | Bypasses any command cooldown set in the config. |
skinsrestorer.bypassdisabled | Bypasses any disabled skins set in the config. |
skinsrestorer.ownskin | Allows access to set your own skin. |
skinsrestorer.skin.<skin> | Allows access to a specific skin if perSkinPermissions is enabled. |