Essential Commands

Essential Commands

108k Downloads

Split "/home X" into separate commands

tprudhomme opened this issue ยท 3 comments

commented

Hi, thanks for this great mod, makes my life much easier!
I was wondering if it would be possible to have all the core functions of /home's subcommands into separate commands. Here's an example:
/sethome HomeName - Create a home, would have home autocompletion
/delhome HomeName - Delete a home, would have home autocompletion
/home HomeName - Teleport to a home, no clicking in chat, would have home autocompletion
/home (or /homes) - list the available homes in chat

This is the syntax that most people are used to when coming from bukkit/spigot/paper servers and oftentimes other modpacks.
Essentials (original Bukkit plugin), EssentialsX (Current most popular Essentials plugin for spigot/paper) and even CMI (Most popular EssentialsX alternative paid plugin for Spigot/Paper) all use this scheme.

If not possible, no worries!

commented

hiya! thanks for the kind words.

This is indeed possible with the help of a very useful mod called CommandAliases.

I actually have a premade set of aliases you can use that do most of what you're after. Instructions on how to use can be found in this PR comment (I should really put this somewhere more visible...)

lmk if you have any questions!

commented

Closing due to inactivity. Feel free to reopen if this does not entirely address your use case.

commented

Thank you very much! Sorry i've been quite busy. Your suggestion is highly helpful, i will give it a shot tommorow.