gekware / minecraft-server-hibernation

Autostart and stop minecraft-server when players join/leave
GNU General Public License v3.0
377 stars 36 forks source link

Added alias of "mine" with "/" #282

Open 3ri4nG0ld opened 4 months ago

3ri4nG0ld commented 4 months ago

As I commented in #281 I think it would be much easier to use the console if we have an alias of the "mine" command as "/", so I have created this pr to implement it

It's not the best way to implement it, but for a simple feature like this I don't think it will be a problem.

gekigek99 commented 1 month ago

why do you want to use character / in particular?

If we want to use aliases we might as well implement them in a more maintainable and less messy way I think... I was thinking of specifying a list [mine, /, ...] that represents a certain action.

I'm not such a fan of aliases anyway, people tend to get confused especially when switching versions... (and there is more risk of a collision with other minecraft flavors/mods)