Lib's Disguises - Using the commands - Historical

Applied By libraryaddict: Jan 1, 2020 at 5:05 AM

Lib's Disguises - Using the commands
Previous - Disguising the entity

You can use Lib's Disguises even if you aren't a plugin developer. This page details how to do that.


Constructing a disguise using a command(top)


Disguise Types:
AREA_EFFECT_CLOUD
ARMOR_STAND
ARROW
BAT
BEE
BLAZE
BOAT
CAT
CAVE_SPIDER
CHICKEN
COD
COW
CREEPER
DOLPHIN
DONKEY
DRAGON_FIREBALL
DROWNED
DROPPED_ITEM
EGG
ELDER_GUARDIAN
ENDER_CRYSTAL
ENDER_DRAGON
ENDER_PEARL
ENDER_SIGNAL
ENDERMAN
ENDERMITE
EVOKER
EVOKER_FANGS
EXPERIENCE_ORB
FALLING_BLOCK
FIREBALL
FIREWORK
FISHING_HOOK
FOX
GHAST
GIANT
GUARDIAN
HORSE
HUSK
ILLUSIONER
IRON_GOLEM
ITEM_FRAME
LLAMA
LLAMA_SPIT
LEASH_HITCH
MAGMA_CUBE
MINECART
MINECART_CHEST
MINECART_COMMAND
MINECART_FURNACE
MINECART_HOPPER
MINECART_MOB_SPAWNER
MINECART_TNT
MULE
MUSHROOM_COW
OCELOT
PAINTING
PANDA
PARROT
PHANTOM
PIG
PIG_ZOMBIE
PILLAGER
PLAYER
POLAR_BEAR
PRIMED_TNT
PUFFERFISH
RABBIT
RAVAGER
SALMON
SHEEP
SHULKER
SHULKER_BULLET
SILVERFISH
SKELETON
SKELETON_HORSE
SLIME
SMALL_FIREBALL
SNOWBALL
SNOWMAN
SPECTRAL_ARROW
SPIDER
SPLASH_POTION
SQUID
STRAY
THROWN_EXP_BOTTLE
TRIDENT
TRADER_LLAMA
TROPICAL_FISH
TURTLE
ZOMBIE_HORSE
UNKNOWN
VEX
VILLAGER
VINDICATOR
WANDERING_TRADER
WITCH
WITHER
WITHER_SKELETON
WITHER_SKULL
WOLF
ZOMBIE
ZOMBIE_VILLAGER

There are 4 different disguise commands provided in the plugin. They differ in what gets disguised.

In addition, there are 4 different types of disguises which you can input using the disguise commands. Each of the types is available in every command.
Here are the 4 types:

Mob Disguise

Code (Text):
/disguise cow
You are now disguising as a cow.

Available mobs:
Code (Text):
bat blaze cave_spider chicken cow creeper ender_dragon enderman ghast giant horse donkey mule skeleton_horse undead_horse iron_golem magma_cube mushroom_cow ocelot pig pig_zombie sheep silverfish skeleton wither_skeleton slime snowman spider squid villager witch wither wolf zombie zombie_villager
You can usually customize it with extra parameters (see below).

Player Disguise

Code (Text):
/disguise player libraryaddict
You have constructed a player disguise which is called libraryaddict. You will show up with that name and skin.
&-color codes are accepted.

Use the "\_" (backslash underscore) to place a space in a name.

Example: /d player The\_Great\_Apple

Misc Disguise

Code (Text):
/disguise falling_block
You are now disguised as a falling block, default uses the id stone.

Available misc disguises:

Code (Text):
arrow boat dropped_item ender_crystal ender_pearl ender_signal experience_orb falling_block fireball firework fishing_hook item_frame leash_hitch minecart minecart_chest minecart_furnace minecart_hopper minecart_mob_spawner minecart_tnt painting primed_tnt small_fireball snowball splash_potion thrown_exp_bottle wither_skull
Note that these disguises, in general, are more prone to instability. Currently, you may not disguise as an item frame.

Alias Disguise

Code (Text):
/disguise @libraryaddict
This command will take whatever libraryaddict is disguised as and apply it to you. (You need the 'libsdisguises.disguise.disguiseclone' permission to do this.)

Primary Disguise Options

Almost every disguise has options to customize or change it in some way.

For mob disguises:
Code (Text):

/disguise cow baby
/disguise cow adult
 
You can set whether the mob is a baby or adult. This may not work with all disguises.

For the falling block disguise, provide 1 or 2 numbers. The first number is the block ID, and the second number is the block data. For example:

Code (Text):
/disguise falling_block 5 1
You are now disguised as birch planks.

For the 'painting' and 'splash_potion' disguises, you can also provide a number (art ID and raw potion damage value), but using the long form, detailed in the next section, is recommended.

Extra Disguise Options

You can set additional options on the disguises to do more stuff on them.

View the options using /disguisehelp <disguisetype>.
You can also view more information on types using /disguisehelp

The option types are

Number - A whole number. Examples: 5, 100, -32
Decimal - A decimal number. Examples: 5, 103.15, -78.6
String - A string. Examples: foo, bAr, hello
True/False - True or false.
Item - An item ID, and maybe damage. Examples: 46, 5:1, 32:13
AnimalColor - A wool color. Run /dhelp AnimalColors for valid values.
PotionEffect - The id or name of a potion effect. Run /dhelp PotionEffect for valid values.
HorseColor - The color of a horse disguise. Run /dhelp HorseColors for valid values.
HorseStyle - The style of a horse disguise. Run /dhelp HorseStyles for valid values.
Ocelot type - The ocelot type. Run /dhelp OcelotTypes for valid values.
Painting art - Which painting to show. Run /dhelp Art for valid values.
Villager Profession - The type of villager (their clothing color). Run /dhelp Professions for valid values.

Examples:
Code (Text):

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

Upside-down player disguise with Notch's skin
/disguise player Dinnerbone setSkin Notch
 
Note that there is a permission for every extra setting you can add. The permission node is the base permission for the command, followed by the disguise name, followed by the "parameter name" (e.g. setPowered), in all lowercase. Example: libsdisguises.disguiseradius.creeper.setpowered .

Command /disguise(top)


This command will disguise yourself.
Permission node base: "libsdisguises.disguise.*"
(Remember, "libsdisguises.disguise.*" will allow all disguises on yourself, and "libsdisguises.disguise.<disguise>.*" will allow all options for that disguise on yourself. This is the same for all 4 commands - just the 'disguise' part changes.)

The command aliases are /dis and /d.

Command usage: /disguise <disguise string>
See above for examples of what a disguise string is.

Command /disguiseentity(top)


This command will disguise the next entity you right-click (within the next 10 seconds) to the disguise you specify.
Permission node base: "libsdisguises.disguiseentity.*"

The command aliases are /dentity and /disentity.

Command usage: /disguiseentity <disguise string>

Command /disguiseplayer(top)


This command will disguise another player. They are not notified.
Permission node base: "libsdisguises.disguiseplayer.*"

The command aliases are /dplayer and /displayer.

Command usage: /disguiseplayer <other player> <disguise string>
Again, see above for examples of what a disguise string is.

Command /disguiseradius(top)


This command will disguise all entities in the specified radius around you to the same disguise.
Permission node base: "libsdisguises.disguiseradius.*"

The command aliases are /dradius and /disradius.

Command usage: /disguiseradius <radius (blocks)> <disguise string>
Again, see above for examples of what a disguise string is.

Command Undisguise(top)


Use this to slip out of your clingy disguise!

Permission: "libsdisguises.undisguise"

The command aliases are /u and /undis

Command usage: /undisguise

Command UndisguiseEntity(top)


Use this to undisguise the next entity you right click!

Permission: "libsdisguises.undisguiseentity"

The command aliases are /undisentity and /undentity

Command usage: /undisguiseentity

Command UndisguisePlayer(top)


Use this to undisguise the player of your choosing!

Permission: "libsdisguises.undisguiseplayer"

The command aliases are /undisplayer and /undplayer

Command usage: /undisguiseplayer <Playername>

Command UndisguiseRadius(top)


Use this to undisguise all entitys in a radius around you!

Permission: "libsdisguises.undisguiseradius"

The command aliases are /undisradius and /undradius

Command usage: /undisguiseradius <Radius Size>

Command DisguiseViewSelf(top)


Use this to toggle the disguise model that appears when you disguise.

Permission: "libsdisguises.seecmd.viewself"

Aliases: dviewself, dvs, disguisevs, disvs, vsd, viewselfdisguise, viewselfd

Command usage: /disguiseviewself

Command LibsDisguises(top)


Use this to reload libsdisguises.

Permission: "libsdisguises.seecmd.libsdisguises"

Command usage: /libsdisguises reload

Command DisguiseHelp(top)


Use this to fetch more information on constructing a disguise.

You need the permission to use at least one disguise.

Command aliases are /dishelp and /dhelp

Command usage: /disguisehelp <DisguiseType>
Command usage: /disguisehelp AnimalColor
Command usage: /disguisehelp HorseColor
Command usage: /disguisehelp HorseStyle
Command usage: /disguisehelp OcelotType
Command usage: /disguisehelp Profession
Command usage: /disguisehelp PotionEffect

Command CopyDisguise(top)


Use this to output a disguise to string, this string is usable in a /disguise command.
If used on a player disguise, two messages will be sent with the skin data, and without.

You need the permission: libsdisguises.copydisguise

Command aliases are: /disguisecopy, /disgcopy, /dcopy, /copydisg and copyd

Command Usage: /copydisguise
Command Usage: /copydisguise <Player Name or UUID>

Command GrabSkin(top)


Use this to upload a skin from a file, from an url or from an existing player name or uuid.
This will download the skin and save it as a file, as well as provide the skin data in a message.
If uploaded from a file, the file must have a .png extension and be located in your "skins" folder of the Libs Disguises plugin folder.

The plugin will generate a name automatically if possible, or save as 'Skin1' etc.
You can also define a name to save as by adding it as a second parameter.

You need the permission: libsdisguises.grabskin

Command aliases are: /uploadskin and /skin

Command Usage: /grabskin https://www.site.com/notch.png
Command Usage: /grabskin notch.png
Command Usage: /grabskin Notch
Command Usage: /grabskin a149f81b-f784-4f89-87c5-54afdd4db533
Command Usage: /grabskin <Parameter> <Name to Save As>
Previous - Disguising the entity