Loïc Blot
ccc3af128c
CSM/SSM: Add on_mods_loaded callback ( #7411 )
...
* CSM/SSM: Add on_mods_loaded callback
2018-06-06 12:53:59 +02:00
red-001
49ff1d2ea8
[CSM] Remove on_connect
callback ( #6941 )
...
Fixes #6939
2018-01-21 18:27:27 +01:00
Vincent Glize
4e19791cde
[CSM] Add callback on open inventory ( #5793 )
2017-10-02 22:09:49 +02:00
Loïc Blot
921151d97a
C++ modernize: Pragma once ( #6264 )
...
* Migrate cpp headers to pragma once
2017-08-17 22:19:39 +02:00
red-001
5ebf8f9450
[CSM] add on_item_use
( #5544 )
2017-05-06 21:12:44 +02:00
Vincent Glize
dc5bc6cac7
[CSM] Add event on_place_node API lua ( #5548 )
...
* [CSM] Add event on_place_node API lua
2017-04-29 12:08:16 +02:00
Loic Blot
01f9d05f23
code style fix on src/script/cpp_api/s_client.h
2017-04-08 08:45:58 +02:00
Vincent Glize
f73534640a
[CSM] Add event on_connect player API lua ( #5540 )
...
* Add event on_connect player API lua
2017-04-08 08:20:30 +02:00
Loic Blot
4af99b75cf
Pass clang-format on 14 trivial header files fixes
...
Also remove them from whitelist
2017-04-07 23:22:00 +02:00
Loïc Blot
0891975ad6
[CSM] Add core.get_timeofday & core.get_day_count env calls ( #5401 )
...
* [CSM] Add core.get_timeofday & core.get_day_count env calls
* [CSM] Add core.get_node_level, core.get_node_max_level, core.find_node_near
2017-03-17 07:48:29 +01:00
red-001
0727bb3ddd
[CSM] Add on_punchnode
callback
2017-03-13 23:56:05 +01:00
red-001
073f5cf03d
[CSM] Add on_dignode
callback ( #5140 )
2017-03-13 23:56:05 +01:00
red-001
c42c53fccf
[CSM] Add local formspecs. ( #5094 )
2017-03-13 23:56:05 +01:00
Loïc Blot
2c19d51409
[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
Loïc Blot
9978f5af82
[CSM] Add on_death, on_hp_modification & oh_damage_taken callbacks ( #5093 )
...
* Add on_death callback
* Add on_hp_modification & on_damage_taken callbacks
* move preview code to preview.lua
2017-03-13 23:56:05 +01:00
Loic Blot
2efae3ffd7
[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