CommandShortener
Simple and lightweight plugin to create custom commands.
What will the custom commands do?
They will execute another commands.
If you want the custom commands to send messages, check out my ShortInfos plugin.
Configuration
The default config.yml looks like this:
test: 'me This is a test command'
With this configuration, when you execute /test (AS A PLAYER!), you will actually execute /me This is a test command.
This is how it works.
Commands:
If you don't want to manually edit the config.yml, you can add/remove short commands with in-game cmds:
/commandshortener reload - Reloads configuration
/commandshortener add <Short command> <Full command> - Adds ,,<Short command>: <Full command>'' to config.yml
/commandshortener remove <Short command> - Removes it from config.yml
Permission is cmdshortener.use for /commandshortener, but there is no permission yet for the shorted commands!
Examples:
After executing /cmdshort (alias of /commandshortener) add hello say hi
next time you execute /hello, you will execute /say hi. (If you want to add it manually, go to config.yml, add hello: 'say hi' to a new line. Then, reload the configuration ( /cmdshort reload) and it will work.)
To remove it, type /cmdshort remove test, and next time you execute /hello, you won't execute /say hi with it.
Also, it works with spaces (so e.g /a b) in <Short command>! All you have to do is manually add the command to config.yml (e.g adv <yourname>: 'advancement grant <yourname> everything'), then reload the configuration, and after executing /adv <yourname>, it will give you all advancements/achievements
To remove it, you have to manually do it.
Also, when you add a new command, and add it like /something, you can't execute /Something or /SOMETHING, just /something. If you want it to ignore case, just tell me in the Discussions.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta