diff options
author | Och Noe <och_noe@forksworld.de> | 2020-10-01 20:16:38 +0200 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2020-10-01 20:16:38 +0200 |
commit | cb750996ff2569f9a3756e8b9681daf2328a65c8 (patch) | |
tree | f7e8cddaeacff8af11121589cbf029cbc01d68ca | |
parent | 647bef69ef48a8d7eee81eeb61f9d4c1e377b4c7 (diff) | |
download | cs_waypoints-cb750996ff2569f9a3756e8b9681daf2328a65c8.tar.gz cs_waypoints-cb750996ff2569f9a3756e8b9681daf2328a65c8.tar.bz2 cs_waypoints-cb750996ff2569f9a3756e8b9681daf2328a65c8.zip |
.tp as shortcut for /teleport
-rw-r--r-- | init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -481,6 +481,16 @@ minetest.register_chatcommand('wp_show', { func = show_pos, } ) + + +minetest.register_chatcommand('tp', { + params = '<position/player>', + description = 'shortcut for /teleport', + func = safe(function(param) + safe(minetest.run_server_chatcommand('teleport',param )) + end), + } + ) -- wp_grep written by erstazi (player at Linux-Forks.de ) |