aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_player.cpp
AgeCommit message (Collapse)Author
2016-06-11Server: Add reason for leave to `on_leaveplayer` callbacksDiego Martinez
2015-08-27Push error handler afresh each time lua_pcall is usedKahrl
Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
2015-08-12SAPI: Track last executed mod and include in error messageskwolekr
2015-08-05Improve Script CPP API diagnosticskwolekr
2015-06-13Add minetest.register_on_player_hpchangeTeTpaAka
2015-05-19Replace instances of std::map<std::string, std::string> with StringMapkwolekr
Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
2015-05-15Add minetest.register_on_punchplayerBrandon
2014-10-07Fix object reference pushing functions when called from coroutinesShadowNinja
2014-05-08Use "core" namespace internallyShadowNinja
2013-12-12Add 'on_prejoinplayer' callbackkaeza
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-04Allow mods to listen to cheat detections using minetest.register_on_cheat()Perttu Ahola
2013-05-25Move scriptapi to separate folder (by sapier)sapier
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)