aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hax's version of Minetest Server 5.6.0Test_User2024-06-285-11/+84
|
* Run Minetest update checker on startup (#7629)SmallJoker2022-08-021-0/+2
| | | | | | | This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
* Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS2022-08-021-0/+3
| | | | | | `settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Fix some warnings (#12615)rubenwardy2022-07-301-3/+6
|
* Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton2022-07-231-6/+2
|
* Add check_mod_configuration to main menurubenwardy2022-07-142-1/+98
|
* Animated particlespawners and more (#11545)Lexi Hale2022-07-133-119/+488
| | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
* Sounds: Various little improvements (#12486)SmallJoker2022-07-091-12/+14
| | | | | Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
* Allow to set maximum star opacity at daytime (#11663)Wuzzy2022-07-021-0/+5
|
* Fix two memleak reports from Coverity (#12466)JosiahWI2022-06-261-1/+2
|
* Re-order sound-related code (#12382)SmallJoker2022-06-202-7/+6
| | | | | | | | Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
* Fix entity related bugssfan52022-06-151-1/+1
| | | | | * Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
* Android: Add support for sharing debug.txt (#12370)rubenwardy2022-06-052-0/+16
|
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-051-0/+8
| | | | | | | | | | New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
* Add helper functions to make tool usable n times (#12047)Wuzzy2022-06-034-2/+46
|
* Fix use-after-free in node meta cleanupsfan52022-05-291-1/+3
| | | | bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
* Reject registering node with empty namesfan52022-05-291-0/+3
| | | | fixes #10769
* Get rid of node metadata when it becomes emptysfan52022-05-292-7/+12
| | | | fixes #8943
* Add API function to invoke player respawnsfan52022-05-292-0/+20
| | | | closes #12272
* Protect a few more settings from being set from modssfan52022-05-291-4/+17
| | | | Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
* Deprecate game.conf name, use title instead (#12030)rubenwardy2022-05-211-1/+10
|
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-0213-4/+236
|
* Refactor some Lua API functions in preparation for async envsfan52022-05-023-31/+27
|
* Remove some unused variable from Lua class wrapperssfan52022-05-024-23/+20
|
* Clean up some auth packet handling related codesfan52022-04-281-3/+6
|
* Remove unneeded ObjectRef setter return values (#12179)Lars Müller2022-04-101-30/+17
|
* Spacing fixesShadowNinja2022-04-082-3/+3
|
* Disentangle map implementations (#12148)Jude Melton-Houghton2022-04-072-2/+2
| | | | Fixes violation of Liskov substitution principle Fixes #12144
* Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS2022-03-292-21/+14
|
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-262-0/+49
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Readd basic_debug as a HUD flag (#12020)Lars Müller2022-03-051-14/+5
|
* Allow get_sky to return a table (#11963)Zughy2022-03-052-28/+62
|
* Lua API documentation: Various fixes (#12059)SmallJoker2022-02-231-24/+25
| | | | | Change 1: Clarify when on_step collision information is provided Change 2: Document PostgreSQL and Redis settings Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions
* Fix broken server startup if curl is disabled (#12046)sfan52022-02-042-17/+25
|
* Use virtual paths to specify exact mod to enable (#11784)rubenwardy2022-01-301-6/+6
|
* Define control(bits) as "unset" for entities (#11995)Lars Müller2022-01-271-5/+8
|
* Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy2022-01-221-69/+71
|
* Mainmenu game-related changes (#11887)sfan52022-01-091-11/+39
| | | | | | | fixes: * Switching between games does not immediately hide creative mode / damage buttons if so specified * World creation menu has a game selection list even though the menu already provides a gamebar * Showing gameid in world list is unnecessary * Choice of mapgen parameters in menu persists between games (and was half-broken)
* Restore pass-through of direction keys (#11924)sfan52022-01-092-19/+31
| | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
* Use a database for mod storage (#11763)Jude Melton-Houghton2022-01-071-7/+11
|
* Refactor trusted mod checking codesfan52021-12-182-67/+4
|
* Don't let HTTP API pass through untrusted functionsfan52021-12-182-4/+22
| | | | This has been a problem since the first day, oops.
* Restructure devtest's unittests and run them in CI (#11859)sfan52021-12-181-1/+1
|
* Implemented disconnect_player (#10492)Corey Powell2021-11-262-8/+8
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix find_nodes_in_area misbehaving with out-of-map coordinates (#11770)sfan52021-11-261-14/+17
| | | This ensures that no overflows (side-effects) happen within the find_nodes_in_area function by limiting coordinates like done in the map generation code.
* Lua API: Add `rmdir`, `cpdir` and `mvdir` (#9638)Elijah Duffy2021-11-102-0/+58
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix number of tool uses being off by 1..32767 (#11110)Wuzzy2021-10-313-10/+15
|
* Fix item duplication if player dies during interact callback (alternative) ↵sfan52021-10-251-1/+1
| | | | (#11662)
* Remove a few unused functions reported by callcatcher (#11658)SmallJoker2021-10-123-16/+4
|
* Move instead of copy during content install if possiblesfan52021-10-071-16/+14
|