MashAliases
Create custom command aliases with per-alias permissions and multi-action execution for Paper 1.21+.
MashAliases
MashAliases
A lightweight Paper plugin that lets you define your own custom commands (aliases) in YAML, attach permissions to each alias, and run multiple actions with a single command.
Why MashAliases?
- Define aliases directly in `Aliases.yml` - Assign a unique permission per alias - Run multiple commands from one alias - Reload aliases/messages in-game - Clean, configurable player messages
---
Features
- Dynamic alias loading from `Aliases.yml` - Per-alias permission checks (for example: `mashalias.alias.pvp`) - Multi-action aliases (`alias-actions` list) - In-game management command: - `/mashalias reload` - `/mashalias list` - Command alias for management: `/ma`
---
Commands
- `/mashalias reload` - Reloads aliases and messages - `/mashalias list` - Lists loaded aliases - `/ma` - Shortcut for `/mashalias`
---
Permissions
- `mashalias.reload` (default: op) - `mashalias.list` (default: op)
Each custom alias also uses its own permission from config: - Example: `mashalias.alias.pvp` - Example: `mashalias.alias.spawn`
---
Example `Aliases.yml`
```yml PVPAlias: alias: /pvp alias-permission: mashalias.alias.pvp alias-actions: - /warp pvp - /command-two
SpawnAlias: alias: /spawn alias-permission: mashalias.alias.spawn alias-actions: - /warp spawn - /command-two ```
Messages
You can fully customize plugin messages:
- prefix - no-permission reload-success - alias-executed - list-header - list-entry - Color codes using & are supported.
Compatibility
- Minecraft/Paper API: 1.21 - Plugin version: 1.0.5
Notes
- Alias actions are executed as the player who runs the alias. - Server must be restarted for new aliases to get registered.