Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add `minetest.settings` to CSM API and allow CSMs to provide ↵ | AFCMS | 2022-08-02 |
| | | | | | | `settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> | ||
* | Fix entity related bugs | sfan5 | 2022-06-15 |
| | | | | | * Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil | ||
* | on_deactivate: distinguish removal and unloading (#11931) | Lars Müller | 2022-06-11 |
| | | | Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed. | ||
* | Remove debug.get/setmetatable from security whitelist | stefan | 2022-05-29 |
| | | | | fixes #12216 | ||
* | Async environment for mods to do concurrent tasks (#11131) | sfan5 | 2022-05-02 |
| | |||
* | Spacing fixes | ShadowNinja | 2022-04-08 |
| | |||
* | Store vector metatable in registry | Jude Melton-Houghton | 2022-03-29 |
| | |||
* | Fix the documentation of InvRef:get_lists() and clean up code (#12150) | DS | 2022-03-29 |
| | |||
* | Minor improvements to Lua sandbox | sfan5 | 2022-01-15 |
| | |||
* | 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). | ||
* | Restructure devtest's unittests and run them in CI (#11859) | sfan5 | 2021-12-18 |
| | |||
* | Add Lua bitop library (#9847) | Lejo | 2021-11-26 |
| | |||
* | Fix item duplication if player dies during interact callback (alternative) ↵ | sfan5 | 2021-10-25 |
| | | | | (#11662) | ||
* | Split liquid_viscosity to liquid_viscosity and move_resistance (#10810) | Wuzzy | 2021-10-01 |
| | |||
* | Fix trivial typos | sfan5 | 2021-09-19 |
| | |||
* | 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 |
| | |||
* | 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. | ||
* | 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. | ||
* | Isolate library tables between sandbox and insecure env | sfan5 | 2021-04-18 |
| | |||
* | Degrotate support for mesh nodes (#7840) | Vitaliy | 2021-03-30 |
| | |||
* | Fix minetest.dig_node returning true when node isn't diggable (#10890) | rubenwardy | 2021-01-31 |
| | |||
* | Rework use_texture_alpha to provide three opaque/clip/blend modes | sfan5 | 2021-01-29 |
| | | | | | The change that turns nodeboxes and meshes opaque when possible is kept, as is the compatibility code that warns modders to adjust their nodedefs. | ||
* | Remove dead code (#10845) | rubenwardy | 2021-01-22 |
| | |||
* | Implement on_rightclickplayer callback (#10775) | JDiaz | 2021-01-11 |
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||
* | Add on_deactivate callback for luaentities (#10723) | hecks | 2021-01-02 |
| | |||
* | Fix some minor code issues all over the place | sfan5 | 2020-12-24 |
| | |||
* | Fix CSMs on arm64 (#10553) | luk3yx | 2020-10-25 |
| | |||
* | Fix Lua panic when error() message is not a string | Paul Ouellette | 2020-06-07 |
| | |||
* | Value copy / allocation optimizations mostly in server, SAO and serialize code | sfan5 | 2020-05-27 |
| | |||
* | Add on_authplayer callback and 'last_login' to on_joinplayer (#9574) | sorcerykid | 2020-05-23 |
| | | | | | | 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 | ||
* | Expose collision information to LuaEntity on_step | sfan5 | 2020-04-27 |
| | |||
* | script: Put getGuiEngine() inside a client-only #ifdef | sfan5 | 2020-04-27 |
| | |||
* | Drop content_sao.{cpp,h} | Loic Blot | 2020-04-11 |
| | | | | | | | Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation | ||
* | Move PlayerSAO to dedicated files | Loic Blot | 2020-04-11 |
| | |||
* | Move serveractiveobject & unitsao | Loic Blot | 2020-04-11 |
| | | | | | Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files | ||
* | Work around LuaJIT issues on aarch64 (#9614) | sfan5 | 2020-04-08 |
| | | | | - Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata - Replace CUSTOM_RIDX_SCRIPTAPI with full userdata | ||
* | Overall improvements to log messages (#9598) | sfan5 | 2020-04-08 |
| | | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places. | ||
* | Script API: Document ObjectRef handling in a comment | sfan5 | 2020-02-23 |
| | |||
* | [CSM] Expose more env functions | sfan5 | 2019-11-11 |
| | |||
* | Call on_secondary_use when object is right-clicked | sfan5 | 2019-11-10 |
| | |||
* | Load client mods into memory before execution. | sfan5 | 2019-11-09 |
| | | | | Preperation for server-sent CSM which will eventually need this. | ||
* | Refactor loading of Lua code with mod security | sfan5 | 2019-11-09 |
| | |||
* | CSM: Fix itemstack:get_meta() 'metadata' indexing error | SmallJoker | 2019-09-14 |
| | |||
* | Load CSM environment after the restrictions are known | SmallJoker | 2019-09-14 |
| | | | | | | | Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors | ||
* | Merge pull request #8776 from osjc/FixGetNode | Jozef Behran | 2019-08-10 |
| | | | Finish getNode cleanup | ||
* | Allow customizing chat message format (#8529) | ANAND | 2019-08-08 |
| |