From 2800ad2853a89c7c73d88497c0cebcc948ce1cc3 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Tue, 8 Sep 2020 15:15:48 +1200 Subject: [PATCH] Deprecate sscsm.global_exists(). This function will probably continue existing as it is used internally. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3dd4d09..371bbff 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,6 @@ above this size limit it could still work. SSCSMs can access most functions on [client_lua_api.txt](https://github.com/minetest/minetest/blob/master/doc/client_lua_api.txt), as well as a separate `sscsm` namespace: - - `sscsm.global_exists(name)`: The same as `minetest.global_exists`. - `sscsm.register_on_mods_loaded(callback)`: Runs the callback once all SSCSMs are loaded. - `sscsm.register_chatcommand(...)`: Similar to @@ -151,7 +150,8 @@ SSCSMs can access most functions on [client_lua_api.txt](https://github.com/mine - `sscsm.register_on_com_receive(channel, function(msg))`: Registers a function to be called when a message on `channel` is received from the server. - + - `sscsm.global_exists(name)`: Deprecated, use `minetest.global_exists(name)` + instead. To communicate with the server-side mods, it is possible to open a mod channel.