[Mod] Chat Command Aliases [1.0][cmd_aliases]

Post Reply
User avatar
rubenwardy
Moderator
Posts: 6288
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

[Mod] Chat Command Aliases [1.0][cmd_aliases]

by rubenwardy » Post

Code: Select all

/alias a privs
/a
/a player2
Params in alias definition:

Code: Select all

/alias ra /replace air
/ra default:stone
License: CC0
Dependencies: None
GitHub | Download

Inspired by Feature request : commands aliases by kilbith

To do:
  • Persist aliases over shutdown.
Last edited by rubenwardy on Wed May 18, 2016 21:26, edited 2 times in total.

User avatar
DS-minetest
Member
Posts: 1144
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Chat Aliases [1.0][aliases]

by DS-minetest » Post

thats very needed
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

Sokomine
Member
Posts: 4159
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Chat Aliases [1.0][aliases]

by Sokomine » Post

Good idea! Can help when talking to a player with a complex/long name and will be useful for more complex commands as well.
A list of my mods can be found here.

Dragonop
Member
Posts: 1194
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: [Mod] Chat Aliases [1.0][aliases]

by Dragonop » Post

Can all players change the aliases?

User avatar
rubenwardy
Moderator
Posts: 6288
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: [Mod] Chat Aliases [1.0][aliases]

by rubenwardy » Post

Dragonop wrote:Can all players change the aliases?
It's per player, only you can use the aliases you've set.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 10 guests