... | @@ -14,11 +14,12 @@ Any entity type found in the spigot docs should function correctly. |
... | @@ -14,11 +14,12 @@ Any entity type found in the spigot docs should function correctly. |
|
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
|
|
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
|
|
|
|
|
|
## Inline Disguises
|
|
## Inline Disguises
|
|
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. [Constructing a disguise string](https://www.spigotmc.org/wiki/lib-s-disguises-using-the-commands/#constructing-a-disguise-using-a-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.
|
|
|
|
[Constructing a disguise string](https://www.spigotmc.org/wiki/lib-s-disguises-using-the-commands/#constructing-a-disguise-using-a-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``.
|
|
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:
|
|
We can take this command, and use it on a mob next to the disguise option, like in the example below:
|
|
```
|
|
```yml
|
|
SLSkelF:
|
|
SLSkelF:
|
|
Type: ZOMBIE
|
|
Type: ZOMBIE
|
|
Equipment:
|
|
Equipment:
|
... | @@ -31,8 +32,21 @@ SLSkelF: |
... | @@ -31,8 +32,21 @@ SLSkelF: |
|
Display: '&BSkeletal Fighter\n&ELv.<mob.level>'
|
|
Display: '&BSkeletal Fighter\n&ELv.<mob.level>'
|
|
Disguise: SKELETON setGlowing setSpinning setBurning
|
|
Disguise: SKELETON setGlowing setSpinning setBurning
|
|
```
|
|
```
|
|
|
|
## Disguise Options
|
|
|
|
|
|
|
|
You can view additional disguise options by using `/dhelp <disguisetype>`. You can also view more information on types by using `/dhelp`.\
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
```yml
|
|
|
|
#Invisible powered Creeper
|
|
|
|
/disguise creeper setPowered true setInvisible true
|
|
|
|
|
|
|
|
#Brown horse with white spots and gold armor
|
|
|
|
/disguise horse setColor brown setStyle white_dots setHorseArmor 418
|
|
|
|
|
|
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.
|
|
#Upside-down player disguise with Notch's skin
|
|
|
|
/disguise player Dinnerbone setSkin Notch
|
|
|
|
```
|
|
|
|
|
|
## Saving Disguises
|
|
## Saving Disguises
|
|
|
|
|
... | @@ -48,50 +62,15 @@ This is a much neater way of doing mob disguises compared to the Options version |
... | @@ -48,50 +62,15 @@ This is a much neater way of doing mob disguises compared to the Options version |
|
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
|
|
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 entity's 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
|
|
|
|
|
|
|
|
### NOTE: As of MM 5.0, you must setup your disguises using inline disguise.
|
|
|
|
These options are no longer utilized in modern disguises and the documentation is preserved for historical purposes only.
|
|
|
|
|
|
|
|
All disguises have certain options available to them. These options go under the Disguises block, and can only be used in conjunction with a disguise (they will not work on their own). Some options will be mob specific. The lists of options for any entity can be found using `/dhelp <entity>`. Because this is generated by your plugin it should _always_ be up to date.
|
|
|
|
|
|
|
|
Here are some common ones that may be of interest to you:
|
|
|
|
|
|
|
|
- Disguise.Burning: true - Causes the mob to always appear to be burning
|
|
|
|
- Disguise.Blocking: true - Causes certain disguises to be stuck in the “blocking” animation.
|
|
|
|
- Disguise.Invisible: true - Makes the mob permanently invisible
|
|
|
|
- Disguise.Name: - Sets the disguised entity name
|
|
|
|
- Disguise.ShowName: true - Displays a nametag over certain disguises that would not normally have one (such as a block or item)
|
|
|
|
- Disguise.Sneaking: true - Causes certain disguises to be stuck in the “sneaking” animation.
|
|
|
|
- Disguise.Sprinting: true - Causes certain disguises to be stuck in the “sprinting” animation.
|
|
|
|
- Disguise.ModifyBoundingBox: false - Setting this to false will make mobs keep their original hitbox.
|
|
|
|
- Disguise.Glowing: [true/false] - Makes the disguise glow permanently.
|
|
|
|
- Disguise.Gliding: [true/false] - Makes the disguise glide permanently.
|
|
|
|
|
|
|
|
“Glowing” and “Gliding” were added in version 2.3.2.
|
|
|
|
|
|
|
|
Excessive Example:
|
|
Excessive Example:
|
|
```
|
|
```yml
|
|
SneakyDisguisingMob:
|
|
SneakyDisguisingMob:
|
|
Type: wither_skeleton
|
|
Type: wither_skeleton
|
|
Display: 'meh'
|
|
Display: 'meh'
|
|
CustomKillMessages:
|
|
CustomKillMessages:
|
|
- '<target.name> was sneaked upon! (to death)'
|
|
- '<target.name> was sneaked upon! (to death)'
|
|
Health: 128
|
|
Health: 128
|
|
Disguise:
|
|
Disguise: player Steve setSkin meeeh.png setBurning true setSneaking true setSprinting true setModifyBoundingBox false setDynamicName true
|
|
Type: player
|
|
|
|
Skin: 'meeeh'
|
|
|
|
Player: Steve
|
|
|
|
Burning: true
|
|
|
|
Blocking: true
|
|
|
|
Invisible: false
|
|
|
|
ShowName: false
|
|
|
|
Sneaking: true
|
|
|
|
Sprinting: true
|
|
|
|
ModifyBoundingBox: false
|
|
|
|
setDynamicName: true
|
|
|
|
```
|
|
```
|
|
|
|
|
|
#### Nameplates
|
|
#### Nameplates
|
... | @@ -100,13 +79,11 @@ Nameplates allow you to extend the nameplates of Player-disguise mobs, which are |
... | @@ -100,13 +79,11 @@ Nameplates allow you to extend the nameplates of Player-disguise mobs, which are |
|
To use this, simply have Holograms installed and then leave out the “Player” field in your disguise (skin is still required!).
|
|
To use this, simply have Holograms installed and then leave out the “Player” field in your disguise (skin is still required!).
|
|
If you don't specify the player field, it will use the Display field instead using a custom nameplate.
|
|
If you don't specify the player field, it will use the Display field instead using a custom nameplate.
|
|
|
|
|
|
```
|
|
```yml
|
|
Monkey:
|
|
Monkey:
|
|
Type: skeleton
|
|
Type: skeleton
|
|
Display: "this display name is too long for players normally"
|
|
Display: "this display name is too long for players normally"
|
|
Disguise:
|
|
Disguise: player Steve setSkin Kurdie.png
|
|
Type: player
|
|
|
|
Skin: Kurdie
|
|
|
|
```
|
|
```
|
|
This feature requires LibsDisguises and the Holograms plugin: [https://www.spigotmc.org/resources/holograms.4924/](https://www.spigotmc.org/resources/holograms.4924/)
|
|
This feature requires LibsDisguises and the Holograms plugin: [https://www.spigotmc.org/resources/holograms.4924/](https://www.spigotmc.org/resources/holograms.4924/)
|
|
|
|
|
... | @@ -118,26 +95,47 @@ If you have premium you can use multi line disguise names using the `setDynamicN |
... | @@ -118,26 +95,47 @@ If you have premium you can use multi line disguise names using the `setDynamicN |
|
|
|
|
|
Examples of Disguises being used:
|
|
Examples of Disguises being used:
|
|
|
|
|
|
```
|
|
```yml
|
|
MobType: skeleton
|
|
ExampleMob:
|
|
Disguise:
|
|
Type: skeleton
|
|
Type: player
|
|
Disguise: player libraryaddict setCustomName "&8Not Darkitect" setSkin Darkitect.png
|
|
Player: '&8Not Darkitect'
|
|
|
|
Skin: Darkitect
|
|
|
|
```
|
|
```
|
|
|
|
|
|
```
|
|
```yml
|
|
MobType: skeleton
|
|
ExampleMob2:
|
|
Health: 20
|
|
Type: skeleton
|
|
Disguise:
|
|
Health: 20
|
|
Type: player
|
|
Disguise: player Ashijin setSkin Notch.png
|
|
Player: Ashijin
|
|
|
|
Skin: Notch
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
```yml
|
|
|
|
ExampleMob3:
|
|
|
|
MobType: skeleton
|
|
|
|
Health: 20
|
|
|
|
Disguise: pig
|
|
```
|
|
```
|
|
MobType: skeleton
|
|
|
|
Health: 20
|
|
|
|
Disguise:
|
|
<!-- NOT USED ANYMORE! KEEPING THIS HERE IF ANYONE WANTS TO USE DISGUISE OPTIONS SYNTAX
|
|
Type: pig
|
|
## LEGACY: Disguise Options
|
|
``` |
|
|
|
\ No newline at end of file |
|
### NOTE: As of MM 5.0, you must setup your disguises using inline disguise.
|
|
|
|
These options are no longer utilized in modern disguises and the documentation is preserved for historical purposes only.
|
|
|
|
|
|
|
|
All disguises have certain options available to them. These options go under the Disguises block, and can only be used in conjunction with a disguise (they will not work on their own). Some options will be mob specific. The lists of options for any entity can be found using `/dhelp <entity>`. Because this is generated by your plugin it should _always_ be up to date.
|
|
|
|
|
|
|
|
Here are some common ones that may be of interest to you:
|
|
|
|
|
|
|
|
- Disguise.Burning: true - Causes the mob to always appear to be burning
|
|
|
|
- Disguise.Blocking: true - Causes certain disguises to be stuck in the “blocking” animation.
|
|
|
|
- Disguise.Invisible: true - Makes the mob permanently invisible
|
|
|
|
- Disguise.Name: - Sets the disguised entity name
|
|
|
|
- Disguise.ShowName: true - Displays a nametag over certain disguises that would not normally have one (such as a block or item)
|
|
|
|
- Disguise.Sneaking: true - Causes certain disguises to be stuck in the “sneaking” animation.
|
|
|
|
- Disguise.Sprinting: true - Causes certain disguises to be stuck in the “sprinting” animation.
|
|
|
|
- Disguise.ModifyBoundingBox: false - Setting this to false will make mobs keep their original hitbox.
|
|
|
|
- Disguise.Glowing: [true/false] - Makes the disguise glow permanently.
|
|
|
|
- Disguise.Gliding: [true/false] - Makes the disguise glide permanently.
|
|
|
|
|
|
|
|
“Glowing” and “Gliding” were added in version 2.3.2.
|
|
|
|
--> |
|
|
|
\ No newline at end of file |