Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CSM: Bugfixes to camera:get_pos() and camera:get_fov() | sfan5 | 2020-05-14 | 1 | -1/+1 |
| | | | closes #9857 | ||||
* | Various features and fixes | sfan5 | 2020-04-11 | 1 | -35/+5 |
| | |||||
* | [CSM] Fix and improve minetest.get_language() | sfan5 | 2019-11-11 | 1 | -6/+11 |
| | | | | | Previously this method would accidentally reset the locale and break everything. | ||||
* | [CSM] Implement minetest.get_csm_restrictions() | sfan5 | 2019-11-11 | 1 | -0/+3 |
| | | | | fixes #8068 | ||||
* | Run on_item_use CSM callback even if item is not marked usable | sfan5 | 2019-11-11 | 1 | -0/+4 |
| | | | | | Mods may want to to handle item interaction even if the item is not marked usable (= server-side callback exists). | ||||
* | [CSM] Expose more env functions | sfan5 | 2019-11-11 | 1 | -5/+16 |
| | |||||
* | Be lenient with extra slashes for CSM paths | sfan5 | 2019-11-09 | 1 | -1/+1 |
| | |||||
* | [CSM] Remove non-functional minetest.get_day_count() | sfan5 | 2019-11-09 | 1 | -2/+1 |
| | |||||
* | Introduce get_modpath() for CSM | sfan5 | 2019-11-09 | 2 | -4/+4 |
| | |||||
* | CSM/SSM: Add on_mods_loaded callback (#7411) | Loïc Blot | 2018-06-06 | 1 | -0/+5 |
| | | | | | * CSM/SSM: Add on_mods_loaded callback | ||||
* | [CSM] Remove `on_connect` callback (#6941) | red-001 | 2018-01-21 | 1 | -15/+13 |
| | | | Fixes #6939 | ||||
* | [CSM] Add basic HUD manipulation. (#6067) | red-001 | 2018-01-20 | 1 | -2/+20 |
| | | | | | | * [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now. | ||||
* | [CSM] Add callback on open inventory (#5793) | Vincent Glize | 2017-10-02 | 1 | -0/+6 |
| | |||||
* | preview: try to send mod channel messages 4 seconds after joining, not after ↵ | Loic Blot | 2017-09-26 | 1 | -6/+6 |
| | | | | loading mod | ||||
* | Implement mod communication channels (#6351) | Loïc Blot | 2017-09-26 | 1 | -0/+22 |
| | | | | | | | | | | Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method | ||||
* | Create a filesystem abstraction layer for CSM and only allow accessing files ↵ | red-001 | 2017-06-30 | 3 | -0/+4 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | CSM: Fix documentation error for register_on_*_chat_messages (#5917) | DS | 2017-06-09 | 1 | -3/+2 |
| | |||||
* | [CSM] Add function to get player privileges (#5933) | red-001 | 2017-06-07 | 1 | -0/+6 |
| | | | | | | * [CSM] Add function to get player privileges + move related help functions to common * Added @Zeno- const | ||||
* | [CSM] Fix crash when the minimap is disabled. Caused by e25a38e | SmallJoker | 2017-05-20 | 1 | -1/+7 |
| | |||||
* | [CSM] add `on_item_use` (#5544) | red-001 | 2017-05-06 | 1 | -0/+7 |
| | |||||
* | Add function to get server info. | red-001 | 2017-05-04 | 1 | -1/+5 |
| | |||||
* | [CSM] Add event on_place_node API lua (#5548) | Vincent Glize | 2017-04-29 | 1 | -0/+7 |
| | | | | * [CSM] Add event on_place_node API lua | ||||
* | [CSM] Add function to set minimap shape (#5569) | bigfoot547 | 2017-04-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | * [CSM] Add function to set minimap shape Also deprecates `toggle_shape`. * Oh fish, I messed that one up! * Fix Style * Sorry, I missed something I still had the `luamethod` call in there! * Add getters * Remove extra line * Remove useless variable Please review again @nerzhul . Thanks! * Satisfy nerzhul | ||||
* | [CSM] Move `.list_players` and `.disconnect` to builtin. (#5550) | red-001 | 2017-04-10 | 1 | -13/+0 |
| | |||||
* | [CSM] Add event on_connect player API lua (#5540) | Vincent Glize | 2017-04-08 | 1 | -0/+4 |
| | | | | * Add event on_connect player API lua | ||||
* | [CSM] Add function to get the server protocol version. (#5529) | red-001 | 2017-04-06 | 1 | -0/+1 |
| | |||||
* | [CSM] Add function and chat command to disconnect from server. (#5487) | red-001 | 2017-04-01 | 1 | -0/+7 |
| | |||||
* | [CSM] Add function to get player names in range (#5435) | bigfoot547 | 2017-03-22 | 1 | -1/+8 |
| | | | * [CSM] Add function to get currently connected player names | ||||
* | Give CSM access to use `core.colorize()` (#5113) | red-001 | 2017-03-17 | 1 | -0/+6 |
| | |||||
* | [CSM] Fix minimap problems (#5405) | Loïc Blot | 2017-03-17 | 1 | -2/+6 |
| | | | This fixes issue #5404 | ||||
* | [CSM] Add core.get_timeofday & core.get_day_count env calls (#5401) | Loïc Blot | 2017-03-17 | 1 | -0/+9 |
| | | | | | | * [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 | ||||
* | [CSM] Add minimap API modifiers (#5399) | Loïc Blot | 2017-03-16 | 1 | -0/+12 |
| | | | | | | | | * Rename Mapper (too generic) to Minimap * Add lua functions to get/set position, angle, mode for minimap * Client: rename m_mapper to m_minimap * Add minimap to core.ui namespace (core.ui.minimap) * Add various functions to manage minimap (show, hide, toggle_shape) * Cleanup trivial declaration in client | ||||
* | Add ModStorageAPI to client side modding (#5396) | Loïc Blot | 2017-03-16 | 1 | -0/+3 |
| | | | mod storage is located into user_path / client / mod_storage | ||||
* | Add `get_wielded_item` | red-001 | 2017-03-13 | 1 | -0/+22 |
| | |||||
* | [CSM] Add `on_punchnode` callback | red-001 | 2017-03-13 | 1 | -0/+8 |
| | |||||
* | [CSM] Add `get_node` and `get_node_or_nil` | red-001 | 2017-03-13 | 1 | -1/+9 |
| | |||||
* | [CSM] Add `on_dignode` callback (#5140) | red-001 | 2017-03-13 | 1 | -0/+6 |
| | |||||
* | [CSM] storage + fixes | Loic Blot | 2017-03-13 | 1 | -1/+3 |
| | |||||
* | [CSM] implement client side mod loading (#5123) | Loïc Blot | 2017-03-13 | 1 | -0/+42 |
* 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 |