... | ... | @@ -14,7 +14,7 @@ Any entity type found in the spigot docs should function correctly. |
|
|
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
|
|
|
|
|
|
## Inline Disguises
|
|
|
With the newer versions of MythicMobs, disguises can now be done completely inline using the same syntax as the ingame `/disguise` command.
|
|
|
With the newer versions of MythicMobs, disguises can now be done completely inline using the same **disguise string** syntax as the in-game `/disguise` command.
|
|
|
|
|
|
For example, let's say we want a skeleton that is glowing, spinning, and on fire. To get this disguise ingame, we would use the command: `/disguise SKELETON setGlowing setSpinning setBurning`.
|
|
|
We can take this command, and use it on a mob next to the disguise option, like in the example below:
|
... | ... | @@ -35,15 +35,18 @@ SLSkelF: |
|
|
This is a much neater way of doing mob disguises compared to the Options version, and matches both the disguise mechanic syntax and the disguise command syntax. If at all possible, please use this method of disguising mobs over the Options method.
|
|
|
|
|
|
## Saving Disguises
|
|
|
|
|
|
1. Download the skin.png file you want to use for your disguises and put it inside of the server/plugins/libsdisguises/skins folder.
|
|
|
2. use the command ``/savedisguise RumiIsAwesome player <inherit> setSkin RumiExMachina.png setDynamicName`` to save your skin to a disguise.
|
|
|
3. Apply it to your MM with ``Disguise: RumiIsAwesome``
|
|
|
#### Break down
|
|
|
|
|
|
### Detailed steps
|
|
|
|
|
|
1. ``RumiIsAwesome`` would be the name of your disguise
|
|
|
2. ``player`` means its a player disguise
|
|
|
3. ``<inherit>`` means it will take its name from MM Display: instead of you adding it here
|
|
|
4. ``setSkin RumiExMachina.png`` is telling it to set the disguise skin to your .png file in the skins folder So if you have a skin named Goblin.png in the skins folder, use setSkin Goblin.png
|
|
|
5. ``setDynamicName`` is used to allow the disguise name to change often, useful when you want to display the entities health in its name
|
|
|
5. ``setDynamicName`` is used to allow the disguise name to change often, useful when you want to display the entity's health in its name
|
|
|
|
|
|
## LEGACY: Disguise Options
|
|
|
|
... | ... | @@ -134,5 +137,4 @@ MobType: skeleton |
|
|
Health: 20
|
|
|
Disguise:
|
|
|
Type: pig
|
|
|
```
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |