aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_player.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hax's version of Minetest Server 5.6.0Test_User2024-06-281-1/+8
|
* Fix damage wraparound if very high damage (#11872)Wuzzy2022-01-061-1/+1
|
* Implement on_rightclickplayer callback (#10775)JDiaz2021-01-111-0/+1
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-05-231-2/+2
| | | | | | 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
* Move PlayerSAO to dedicated filesLoic Blot2020-04-111-0/+1
|
* Consistent HP and damage types (#8167)SmallJoker2019-02-101-1/+1
| | | | | Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter.
* Run callback in IDropAction, refactor function argumentsSmallJoker2018-04-021-19/+10
|
* Add player inventory callbacksSmallJoker2018-04-021-0/+45
|
* Add reasons to on_dieplayer and on_hpchangeAndrew Ward2018-03-281-2/+4
|
* Add `on_auth_fail` callback (#7039)red-0012018-02-151-0/+1
| | | Called when a client fails to supply the correct password for the account it's attempting to login as.
* Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot2017-09-041-0/+1
| | | | | | | | | * 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 Blot2017-08-201-1/+1
| | | | | | | | | | | * 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
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-171-4/+1
| | | | * Migrate cpp headers to pragma once
* Pass clang-format on 14 trivial header files fixesLoic Blot2017-04-071-8/+6
| | | | Also remove them from whitelist
* Server: Add reason for leave to `on_leaveplayer` callbacksDiego Martinez2016-06-111-1/+1
|
* Add minetest.register_on_player_hpchangeTeTpaAka2015-06-131-0/+1
|
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-191-6/+4
| | | | | | 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_punchplayerBrandon2015-05-151-0/+5
|
* Add 'on_prejoinplayer' callbackkaeza2013-12-121-0/+1
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-0/+2
|
* Allow mods to listen to cheat detections using minetest.register_on_cheat()Perttu Ahola2013-08-041-0/+1
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-251-0/+44
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)