Skip to content

cmds & perms

xknat edited this page Jan 12, 2022 · 41 revisions

here are skinsrestorer commands.

Table Of Contents

Commands

Below is a list with commands and permissions. For each permission you need to have the parent permission. so for example:

If you wish to give a player "skinsrestorer.command.set.other" make sure you did also give BOTH skinsrestorer.command.set permission and the main "skinsrestorer.command" permission

  • [!] Command not working? Read installation
  • [!] Don't use wildcards "*" for permissions! It wont work!

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.

(example: skinsrestorer.skin.xknat)

permlist

Here is a list to give you a visual indication of the perms we have, for the list of command see New Commands

The perms can be found on CommandReplacements.java

  • [!] make sure you have the upper class permission when giving a sub or all when using a addition 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