Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix broken server startup if curl is disabled (#12046) | sfan5 | 2022-05-12 |
| | |||
* | Define control(bits) as "unset" for entities (#11995) | Lars Müller | 2022-01-27 |
| | |||
* | Allow resetting celestial vault elements by leaving its arguments empty (#11922) | Zughy | 2022-01-22 |
| | |||
* | Minor improvements to Lua sandbox | sfan5 | 2022-01-15 |
| | |||
* | Mainmenu game-related changes (#11887) | sfan5 | 2022-01-09 |
| | | | | | | | 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) | sfan5 | 2022-01-09 |
| | | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable. | ||
* | Use a database for mod storage (#11763) | Jude Melton-Houghton | 2022-01-07 |
| | |||
* | Fix damage wraparound if very high damage (#11872) | Wuzzy | 2022-01-06 |
| | |||
* | Refactor trusted mod checking code | sfan5 | 2021-12-18 |
| | |||
* | Remove setlocal and setupvalue from `debug` table whitelist | sfan5 | 2021-12-18 |
| | | | | | It's likely that these could be used trick mods into revealing the insecure environment even if they do everything right (which is already hard enough). | ||
* | Don't let HTTP API pass through untrusted function | sfan5 | 2021-12-18 |
| | | | | This has been a problem since the first day, oops. | ||
* | Restructure devtest's unittests and run them in CI (#11859) | sfan5 | 2021-12-18 |
| | |||
* | Implemented disconnect_player (#10492) | Corey Powell | 2021-11-26 |
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||
* | Fix find_nodes_in_area misbehaving with out-of-map coordinates (#11770) | sfan5 | 2021-11-26 |
| | | | 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. | ||
* | Add Lua bitop library (#9847) | Lejo | 2021-11-26 |
| | |||
* | Lua API: Add `rmdir`, `cpdir` and `mvdir` (#9638) | Elijah Duffy | 2021-11-10 |
| | | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||
* | Fix number of tool uses being off by 1..32767 (#11110) | Wuzzy | 2021-10-31 |
| | |||
* | Fix item duplication if player dies during interact callback (alternative) ↵ | sfan5 | 2021-10-25 |
| | | | | (#11662) | ||
* | Remove a few unused functions reported by callcatcher (#11658) | SmallJoker | 2021-10-12 |
| | |||
* | Move instead of copy during content install if possible | sfan5 | 2021-10-07 |
| | |||
* | Move archive extraction in content store to async job | sfan5 | 2021-10-07 |
| | |||
* | Make fs::extractZipFile thread-safe | sfan5 | 2021-10-07 |
| | |||
* | Add "MINETEST_MOD_PATH" environment variable (#11515) | emixa-d | 2021-10-07 |
| | | | | This adds an environment variable MINETEST_MOD_PATH. When it exists, Minetest will look there for mods in addition to ~/.minetest/mods/. | ||
* | Fix crash when calling remove/kick/ban_player on start (#11672) | Wuzzy | 2021-10-05 |
| | |||
* | Make MetaDataRef:get return nil instead of nothing (#11666) | Jude Melton-Houghton | 2021-10-05 |
| | |||
* | Add get_server_max_lag() (#11671) | Wuzzy | 2021-10-05 |
| | |||
* | Split liquid_viscosity to liquid_viscosity and move_resistance (#10810) | Wuzzy | 2021-10-01 |
| | |||
* | Fix trivial typos | sfan5 | 2021-09-19 |
| | |||
* | Make sure relevant std::stringstreams are set to binary | sfan5 | 2021-09-11 |
| | |||
* | Clean up/improve some scriptapi error handling code | sfan5 | 2021-09-10 |
| | |||
* | Dynamic_Add_Media v2 (#11550) | sfan5 | 2021-09-09 |
| | |||
* | Async-related script cleanups | sfan5 | 2021-08-28 |
| | |||
* | Remove redundant on_dieplayer calls | savilli | 2021-08-28 |
| | |||
* | Joystick sensitivity for player movement (#11262) | NeroBurner | 2021-08-27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit deprecates the forward, backward, left, and right binary inputs currently used for player movement in the PlayerControl struct. In their place, it adds the movement_speed and movement_direction values, which represents the player movement is a polar coordinate system. movement_speed is a scalar from 0.0 to 1.0. movement_direction is an angle from 0 to +-Pi: FWD 0 _ LFT / \ RGT -Pi/2 | | +Pi/2 \_/ +-Pi BCK Boolean movement bits will still be set for server telegrams and Lua script invocations to provide full backward compatibility. When generating these values from an analog input, a direction is considered active when it is 22.5 degrees away from either orthogonal axis. Co-authored-by: Markus Koch <markus@notsyncing.net> Co-authored-by: sfan5 <sfan5@live.de> | ||
* | HUD: Reject and warn on invalid stat types (#11548) | SmallJoker | 2021-08-21 |
| | | | | This comes into play on older servers which do not know the "stat" type. Warnings are only logged once to avoid spam within globalstep callbacks | ||
* | Validate staticdata and object property length limits (#11511) | sfan5 | 2021-08-19 |
| | | | | | | Some games provide users with enough freedom to create items with metadata longer than 64KB, preventing this from causing issues is on them but we'll still do the minimum not to abort the server if this happens. | ||
* | Add a simple PNG image encoder with Lua API (#11485) | hecks | 2021-07-29 |
| | | | | | | | | | * Add a simple PNG image encoder with Lua API Add ColorSpec to RGBA converter Make a safety wrapper for the encoder Create devtest examples Co-authored-by: hecktest <> Co-authored-by: sfan5 <sfan5@live.de> | ||
* | Add bold, italic and monospace font styling for HUD text elements (#11478) | sfan5 | 2021-07-27 |
| | | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de> | ||
* | Refactor video driver name retrieval (#11413) | hecks | 2021-07-11 |
| | | | Co-authored-by: hecktest <> | ||
* | Add API for mods to hook liquid transformation events (#11405) | Warr1024 | 2021-07-09 |
| | | | | | | | | | Add API for mods to hook liquid transformation events Without this API, there is no reliable way for mods to be notified when liquid transform modifies nodes and mods are forced to poll for changes. This allows mods to detect changes to flowing liquid nodes and liquid renewal using event-driven logic. | ||
* | Auth API: Error when accessed prior to ServerEnv init (#11398) | SmallJoker | 2021-06-30 |
| | |||
* | Inventory: Make addList() consistent (#11382) | SmallJoker | 2021-06-30 |
| | | | | Fixes list clearing for inv:set_list() using same size, since 2db6b07. addList() now clears the list in all cases. Use setSize() to resize without clearing. | ||
* | Inventory: show error on invalid list names (#11368) | SmallJoker | 2021-06-20 |
| | |||
* | Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333) | sfence | 2021-06-20 |
| | | | This check can be used by ABM to reduce CPU usage. | ||
* | Drop --videomodes, fullscreen_bpp and high_precision_fpu settings | sfan5 | 2021-06-16 |
| | | | | These have been pointless for a while. | ||
* | Add metatables to lua vectors (#11039) | DS | 2021-06-04 |
| | | | Add backwards-compatible metatable functions for vectors. | ||
* | Add core.compare_block_status function (#11247) | SmallJoker | 2021-05-30 |
| | | | Makes it possible to check the status of the mapblock in a future-extensible way. | ||
* | script: Replace calls to depreated luaL_openlib | sfan5 | 2021-05-30 |
| | |||
* | Fix curl_timeout being ignored for Lua HTTP fetches | sfan5 | 2021-05-17 |
| | |||
* | fix: extractZipFile is not part of Client but more generic. | Loic Blot | 2021-05-06 |
| | | | | This solve a crash from mainmenu while extracting the zip |