17 Commits

Author SHA1 Message Date
SmallJoker
1dd555ebd4 [CSM] Correct the log destination of print() (#5784) 2017-05-20 16:46:12 +02:00
red-001
c1cbc9b991 Add function to get server info. 2017-05-04 04:25:45 +01:00
Vincent Glize
8b9f88a170 [CSM] add screenshot api lua (#5674)
* [CSM] add screenshot api lua
2017-04-29 09:16:06 +02:00
red-001
1ffa35176b [CSM] Add function to get the server protocol version. (#5529) 2017-04-06 22:50:45 +02:00
red-001
f86c274718 [CSM] Add support for positional audio. (#5516)
Fixes parts of #5389.
2017-04-06 08:14:31 +02:00
red-001
450c75a365 [CSM] Add local node meta reference. (#5508) 2017-04-04 07:41:37 +02:00
red-001
887549792a [CSM] Add function and chat command to disconnect from server. (#5487) 2017-04-01 13:40:56 +02:00
Loic Blot
114b1d89de Fix clang-format Columns Width
Also fix l_client.cpp/h and remove them from whitelist
2017-03-31 22:29:34 +02:00
bigfoot547
06aac53a03 [CSM] Add function to get player names in range (#5435)
* [CSM] Add function to get currently connected player names
2017-03-22 21:13:03 +01:00
red-001
c43ad771f6 Add get_wielded_item 2017-03-13 23:56:05 +01:00
red-001
b261ab875f [CSM] Add get_node and get_node_or_nil 2017-03-13 23:56:05 +01:00
Loic Blot
cff2797dd4 [CSM] storage + fixes 2017-03-13 23:56:05 +01:00
red-001
2001a8c195 [CSM] Add local formspecs. (#5094) 2017-03-13 23:56:05 +01:00
Loïc Blot
04680f648a [CSM] sound_play & sound_stop support + client_lua_api doc (#5096)
* squashed: CSM: Implement register_globalstep
  * Re-use fatal error mechanism from server to disconnect client on CSM error
  * Little client functions cleanups

* squashed: CSM: add core.after function
  * core.after is shared code between client & server
  * ModApiUtil get_us_time feature enabled for client
2017-03-13 23:56:05 +01:00
red-001
1c7fd8a35c [CSM] Add client-sided chat commands (#5092) 2017-03-13 23:56:05 +01:00
red-001
4fea6c30de [CSM] Add method that display chat to client-sided lua. (#5089) (#5091)
* squashed: [Client-sided scripting] Don't register functions that don't work. (#5091)
2017-03-13 23:56:05 +01:00
Loic Blot
045cc40d91 [CSM] Client side modding
* rename GameScripting to ServerScripting
* Make getBuiltinLuaPath static serverside
* Add on_shutdown callback
* Add on_receiving_chat_message & on_sending_chat_message callbacks
* ScriptApiBase: use IGameDef instead of Server
  This permits to share common attribute between client & server
* Enable mod security in client side modding without conditions
2017-03-13 23:56:05 +01:00