Commands And Permissions
Commands
[] = Required
<> = Optional
Reload command
/meg reload <config|models|mappings>
Reload configs, reimport models, and reload skin mappings. Can specify what to reload.
If no argument is given, all three are reloaded.
Summon command
/meg summon [model-id] <entity-type=PIG> <options...>
Summon an entity with a model at the command sender's location.
If entity-type is not set, default to spawning a pig.
Accepts any of the model options after the entity type.
Disguise command
/meg disguise [model-id] <options...>
Disguise command sender.
Accepts any of the model options, plus the following disguise-only options:
| Option | Description | Default |
|---|---|---|
| hideSelf | Hide the disguised player's own vanilla body from themselves | true |
| hideSelfDisguise | Also hide the disguise model itself from the disguised player. When false, the player sees their own model | false |
| pivotOverride | Use the player as the model's pivot | true |
Model options
The summon and disguise commands accept the following optional key value pairs after their required arguments. Any
option left out keeps the model's default.
| Option | Type | Description |
|---|---|---|
| scale | Double | Scale of the model |
| hitboxScale | Double | Collision hitbox scale of the model |
| doDamageTint | Boolean | Should the model flash red when the base entity is damaged |
| lockPitch | Boolean | Should the model's pitch be locked |
| lockYaw | Boolean | Should the model's yaw be locked |
| showHitbox | Boolean | Should the model's hitbox be visible |
| showShadow | Boolean | Should the shadow be visible |
| viewRadius | Integer | Visible radius of the model |
| stepHeight | Double | The step height of the base entity |
| color | Hex Color | The default tint color of the model |
Undisguise command
/meg undisguise
Undisguise command sender.
Debug command
/meg debug [debug-toggle] <true|false>
Active or deactivate debugging options.
If 2nd argument is not set, print the status of the debugging option instead.
Menu command [R4.0.4]
/meg menu
Open the model configuration menu.
Health command
/meg health
Print plugin performance health. Reports model updater timings (min/max/avg) and the load and timings of each entity data tracker.
Resync command
/meg resync <delay>
Resync the command sender's model packets.
If delay is set, artificially delay the sender's outgoing packet pipeline by that many milliseconds (a debugging tool to simulate latency); otherwise run a client desync test on the sender.
Toggle LOD command
/meg toggle-lod <true|false>
Toggle the global animation LOD (level of detail) system.
If no argument is set, print whether animation LOD is currently enabled instead.
Permissions
modelengineadmin- Access to all commandscommandreload- Access to reload commandsummon- Access to summon commanddisguise- Access to disguise commandundisguise- Access to undisguise commanddebug- Access to debug commandmenu- Access to menu commandhealth- Access to health commandresync- Access to resync commandtoggle-lod- Access to toggle-lod command