Home›Java›Mods›Shake My Head Setter
Shake My Head Setter
ModsJava

Shake My Head Setter

Java mod listed for Minecraft 1.13. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
This is a template plugin in order to show off this gist I put together.
That being said, this is still a fully functional Minecraft plugin that adds convenience with dealing with custom skulls as a builder.
This plugin comes with a number of commands, Here's my plugin.yml if you just want the quick version:
Code (YAML):
commands :
  saveCache
:
    usage
: /saveCache [ true|false ]
    description
: saves the skin cache to file. Include a boolean value to save with or without prettyprinting, to override the default set in the config.
    permission
: smh.save
  registerFile
:
    aliases
: [ cacheFile ]
    usage
: /registerFile <relative path> [ true|false ]
    description
: uploads and caches the selected png image via a relative path from the SMH data folder, under the name of the file, along with a boolean value to override an already existing item.
    permission
: smh.register.file
  registerURL
:
    aliases
: [ cacheURL ]
    usage
: /registerURL <URL> [ true|false ]
    description
: caches the selected url for a png image, along with a boolean value to override an already existing item.
    permission
: smh.register.url
  getHead
:
    usage
: /getHead <name>
    description
: gives the player the selected head item.
    permission
: smh.supply.item
  getWand
:
    usage
: /getWand <name>
    description
: transforms a placed playerhead into the desired head.
    permission
: smh.supply.set
Now I'll go further in-depth into the features of this plugin:

SaveCache Command
This command can be run without any arguments to simply save the skin cache to file (don't worry, the plugin does so automatically when the server stops correctly. However, if your server runs around the clock, it may be a good idea to run this command periodically). The skin cache is used to keep the generated skins in memory / local files to vastly improve write times. The command also has an optional boolean value (true or false), when enables pretty printing so you can much more easily read the skin cache if you so please.
Permission: smh.save

RegisterFile Command
This command requires a relative path to a png skin file from SMH's data folder (moving up folders is allowed). This will add the skin to the skin cache, with the key being the file's name. By default, the skin cache will keep the original if you attempt to add a new skin with the same name. By setting this argument to true, you can force override the old skin.
Permission: smh.register.file

RegisterURL Command
This command is much like the RegisterFile command, but instead of a relative path you input a URL to a skin png. The same optional boolean applies.
Permission: smh.register.url

GetHead Command
This command gives the player who executed the command a player head item with the skin of the required name argument (if you added the skin with the file command, it'll be the file name, if you added it with the URL command its unable to find a file name on the webpage, it's assigned a random name.
Permission: smh.supply.item

GetWand Command
This command gives the player who executed the command a stick which when you right-click a player head, even one with an already applied skin, turns it to whatever skin set via the name argument of this command.
Permission: smh.supply.set

Now, there is one more feature that I consider to be the most useful feature of this entire plugin, which naturally is why I'm putting it at the very end of the plugin description. When you right-click a command block with one of those generic "custom skin give command"s you can find on a bunch of websites inside it, with a nether star, it adds the skin to the skin cache.
Permission: smh.register.base64

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Shake My Head Setter is a free Minecraft Java mod. Compatible with Minecraft 1.13. Downloaded 90 times (via Spigot). Download it and open it directly in the game.

Explore more