aboutsummaryrefslogtreecommitdiff
path: root/builtin/client/init.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS2022-08-021-0/+1
| | | | | | `settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton2022-07-231-0/+1
|
* Add metatables to lua vectors (#11039)DS2021-06-041-1/+0
| | | Add backwards-compatible metatable functions for vectors.
* CSM: Don't create the client script environment if CSM is disabled (#7874)Paramat2018-11-241-13/+1
| | | | Use the CSM death formspec when CSM is enabled and use the engine death formspec when CSM is disabled. Move the CSM death formspec code to a dedicated file.
* Create a filesystem abstraction layer for CSM and only allow accessing files ↵red-0012017-06-301-1/+1
| | | | | | | | | | | | | | | | | | that are scanned into it. (#5965) * Load client-side mods into memory before executing them. This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure. * Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory. * Fix the issues with backtrace * fix most of the issues * fix code style. * add a comment
* Expose vector helpers to CSMLoic Blot2017-04-061-0/+1
|
* [CSM] implement client side mod loading (#5123)Loïc Blot2017-03-131-1/+0
| | | | | | | | | * client side mods are located in clientmods/ * move builtin/preview.lua to clientmods/preview/init.lua as a preview mod * refactor ModConfiguration class to work properly with client and server using child objects * move some Server constructor mod load code to ModConfiguration to reduce code duplication between client and server * remove mods.{cpp,h} unused functions * use UNORDERED_SET instead of std::set in some modspec storages
* [CSM] Add local formspecs. (#5094)red-0012017-03-131-0/+10
|
* [CSM] sound_play & sound_stop support + client_lua_api doc (#5096)Loïc Blot2017-03-131-1/+2
| | | | | | | | | | * 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
* [CSM] Add client-sided chat commands (#5092)red-0012017-03-131-0/+1
|
* [CSM] Add on_death, on_hp_modification & oh_damage_taken callbacks (#5093)Loïc Blot2017-03-131-14/+3
| | | | | | * Add on_death callback * Add on_hp_modification & on_damage_taken callbacks * move preview code to preview.lua
* [CSM] Client side moddingLoic Blot2017-03-131-0/+22
* 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