Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix damage wraparound if very high damage (#11872) | Wuzzy | 2022-01-06 | 1 | -1/+1 |
| | |||||
* | Implement on_rightclickplayer callback (#10775) | JDiaz | 2021-01-11 | 1 | -0/+13 |
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||||
* | Add on_authplayer callback and 'last_login' to on_joinplayer (#9574) | sorcerykid | 2020-05-23 | 1 | -6/+13 |
| | | | | | | Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1 | ||||
* | Consistent HP and damage types (#8167) | SmallJoker | 2019-02-10 | 1 | -2/+2 |
| | | | | | Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter. | ||||
* | Fix wrong code comment (#8061) | DS | 2019-01-06 | 1 | -1/+1 |
| | | | "Get core.registered_on_chat_messages" to "Get core.registered_on_player_receive_fields" where `core.registered_on_player_receive_fields` is gotten | ||||
* | Modernize lua read (part 2 & 3): C++ templating assurance (#7410) | Loïc Blot | 2018-06-30 | 1 | -4/+3 |
| | | | | | | | | | * Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value | ||||
* | Run callback in IDropAction, refactor function arguments | SmallJoker | 2018-04-02 | 1 | -31/+21 |
| | |||||
* | Add player inventory callbacks | SmallJoker | 2018-04-02 | 1 | -0/+146 |
| | |||||
* | Add reasons to on_dieplayer and on_hpchange | Andrew Ward | 2018-03-28 | 1 | -6/+14 |
| | |||||
* | Add `on_auth_fail` callback (#7039) | red-001 | 2018-02-15 | 1 | -0/+11 |
| | | | Called when a client fails to supply the correct password for the account it's attempting to login as. | ||||
* | Fix crash on can_bypass_userlimit returning non-boolean | rubenwardy | 2018-01-03 | 1 | -1/+0 |
| | |||||
* | Implement minetest.register_can_bypass_userlimit (#6369) | Loïc Blot | 2017-09-04 | 1 | -0/+15 |
| | | | | | | | | | * Implement minetest.register_on_userlimit_check This new callback permits to bypass the max_users parameter with new mods condition, based on player name or IP Only one mod needs to permit it. Move core part for builtin privileges checks to builtin | ||||
* | Modernize source code: last part (#6285) | Loïc Blot | 2017-08-20 | 1 | -5/+0 |
| | | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes | ||||
* | Server: Add reason for leave to `on_leaveplayer` callbacks | Diego Martinez | 2016-06-11 | 1 | -2/+4 |
| | |||||
* | Push error handler afresh each time lua_pcall is used | Kahrl | 2015-08-27 | 1 | -2/+4 |
| | | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace. | ||||
* | SAPI: Track last executed mod and include in error messages | kwolekr | 2015-08-12 | 1 | -9/+9 |
| | |||||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 | 1 | -2/+1 |
| | |||||
* | Add minetest.register_on_player_hpchange | TeTpaAka | 2015-06-13 | 1 | -0/+19 |
| | |||||
* | Replace instances of std::map<std::string, std::string> with StringMap | kwolekr | 2015-05-19 | 1 | -8/+13 |
| | | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators | ||||
* | Add minetest.register_on_punchplayer | Brandon | 2015-05-15 | 1 | -0/+24 |
| | |||||
* | Fix object reference pushing functions when called from coroutines | ShadowNinja | 2014-10-07 | 1 | -7/+7 |
| | |||||
* | Use "core" namespace internally | ShadowNinja | 2014-05-08 | 1 | -16/+16 |
| | |||||
* | Add 'on_prejoinplayer' callback | kaeza | 2013-12-12 | 1 | -0/+18 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -7/+8 |
| | |||||
* | Allow mods to listen to cheat detections using minetest.register_on_cheat() | Perttu Ahola | 2013-08-04 | 1 | -0/+16 |
| | |||||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 | 1 | -0/+113 |
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl) |