A chat/command wRapper
Go to file
jolheiser 297fd193f1
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
Convert to gradle, change connection, and add woodpecker (#1)
Reviewed-on: #1
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2022-02-21 05:50:44 +00:00
gradle/wrapper Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
src/main Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
.gitignore Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
.woodpecker.yml Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
LICENSE Add 'LICENSE' (#11) 2020-06-11 22:10:34 +02:00
README.md Move docs to README 2021-07-14 11:36:24 -05:00
build.gradle Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
gradlew Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
gradlew.bat Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00
settings.gradle Convert to gradle, change connection, and add woodpecker (#1) 2022-02-21 05:50:44 +00:00

README.md

Mixtape

A chat/command wRapper get it?

An example of this might be setting up an alias for /wb that simply makes the player say Welcome back!

See examples for more.

All aliases are processed before registered commands.
This means if you make an alias for an existing command, that command will no longer work directly.
To get around that, you can still use the registered command via its namespace.
e.g. /essentials:ban

Example config

Commands

Command Description
/alias <alias> <message> Create a chat alias.
//alias <alias> <command> Create a command alias.
/mixtape list [<player>] List aliases. If a player has the mixtape.list.other permission, they can view other player's aliases as well.
/mixtape delete <alias> Delete an alias.
/mixtape reload Reload Mixtape.

Permissions

Permission Description
mixtape.admin Allows use of Mixtape admin commands, namely /mixtape reload.
mixtape.list Allows a player to list their aliases.
mixtape.list.other Allows a player to list other player's aliases.
mixtape.list.* Wildcard permission for the two above nodes.
mixtape.limit.x Give a player a specific limit (x) for creating aliases. Overrides the global limit.
mixtape.alias.chat Allows players to create chat aliases.
mixtape.alias.command Allows players to create command aliases.
mixtape.alias.* Wildcard permission for the two above nodes.
mixtape.* Wildcard permission for all nodes.

Examples

Commands

//alias wife msg MrsEtzelia
/wife Hey! -> /msg MrsEtzelia Hey!

//alias xray co rb r:<radius> b:diamond_ore,stone #preview
/xray 50 -> /co rb r:50 b:diamond_ore,stone #preview

Chat

/alias wb Welcome back!
/wb -> Welcome back!

/alias wb Welcome back, <player>!
/wb Etzelia -> Welcome back, Etzelia!

/alias lookup /co l r:<radius> a:container
Player asks "How do I check for theft?"
/lookup 10 -> ./co l r:10 a:container

License

MIT