aboutsummaryrefslogtreecommitdiff
path: root/src/network/socket.h
diff options
context:
space:
mode:
authorupdatepo.sh <script@mt>2020-04-03 23:17:42 +0200
committersfan5 <sfan5@live.de>2020-04-03 23:19:36 +0200
commit6940e5a191e14c024a123d91a66855ff298c5b84 (patch)
tree55867f531efc92b5865422dfceab1e10375dc46f /src/network/socket.h
parent65884816be554313afbbb94033b39e51a2155316 (diff)
downloadminetest-6940e5a191e14c024a123d91a66855ff298c5b84.tar.gz
minetest-6940e5a191e14c024a123d91a66855ff298c5b84.tar.bz2
minetest-6940e5a191e14c024a123d91a66855ff298c5b84.zip
Update minetest.conf.example, settings_translation_file.cpp
Diffstat (limited to 'src/network/socket.h')
0 files changed, 0 insertions, 0 deletions
span class="hl opt">.display_chat_message(core.gettext("issued command: ") .. message) end if first_char ~= "." then return false end local cmd, param = string.match(message, "^%.([^ ]+) *(.*)") param = param or "" if not cmd then core.display_chat_message(core.gettext("-!- Empty command")) return true end -- Run core.registered_on_chatcommand callbacks. if core.run_callbacks(core.registered_on_chatcommand, 5, cmd, param) then return true end local cmd_def = core.registered_chatcommands[cmd] if cmd_def then core.set_last_run_mod(cmd_def.mod_origin) local _, result = cmd_def.func(param) if result then core.display_chat_message(result) end else core.display_chat_message(core.gettext("-!- Invalid command: ") .. cmd) end return true end) core.register_chatcommand("list_players", { description = core.gettext("List online players"),