SkinSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.SkinSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

A targeted spell that sets the player's skin.

Configuration:

  • Use this website to generate the skin data.
  • Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option Description Type
texture The value of the texture. String
signature The signature of the texture. String

Example:

SkinReset:
    spell-class: ".targeted.SkinSpell"
    texture: ""
    signature: ""
    target-self: true  
PigMan:
    spell-class: ".targeted.SkinSpell"
    texture: "ewogICJ0aW1lc3RhbXAiIDogMTY4MjQzNTA2NTUyNCwKICAicHJvZmlsZUlkIiA6ICI3MDQ0ZDlkY2I5OGI0YzgzYWFjNjIzNjFlYTY5YmNmOSIsCiAgInByb2ZpbGVOYW1lIiA6ICJfV2F0cnlzaGthXyIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS85Zjc0NDM3NzUwOTExYmY5NzdiYTA3NzMxYjljYzVkZTljNWM3OGFmZGVhM2Q2Y2FmY2U4OTQ5OTQ1NTE5N2UiCiAgICB9CiAgfQp9"
    signature: "lfLyP/M4qqrYGQsLuYW9yHU1ulgV80RzcD+NNp0CggFr5jBxvyiIBl0jXqnSheEymqG38ARLjAxWFLymLJ8032jLnme2jo4u3TMtfU3QZRDoCq4qxg8bLAEgbaBnr8GEmsGEgXPybvoZPeQPz8DwoWpm5OdyRpOsQCzo2tz4jiophiNq6mc5UMMgT1SMFLOEv2Od16ZtiRpPulICISJR+ANy3tbdSQsLqQKlKP9MrPvjC4GXqZzO9qTWsYfGDfrjUVEUT5kW973d+zCiG1nW80QqpaTqmnBoOZ3UF91FYZ90yu0bxT+le4bill6INvU3F5KwC3J6tv+jCVKpv8obpU1anuueYZYJQuM1HMuJuUFagyqVXi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