summaryrefslogtreecommitdiff
path: root/src/script
Commit message (Collapse)AuthorAge
* Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND2020-08-15
| | | | Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
* Fix precision not working in hud_change (#10186)Lars Müller2020-08-12
|
* Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo2020-07-29
|
* Sanitize world directory names on create. Keep original name separate (#9432)Hugues Ross2020-07-28
| | | Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc).
* Revert "Auto delete MetaData when = 0 (#8770)" (#10183)Lars Müller2020-07-16
| | | This reverts commit 808eb4c5714da5ac36f4a70653d6b3805060828c.
* Implement grouped mode for find_nodes_in_area (#9888)sfan52020-07-14
| | | plus general improvements to find_node_* functions
* Quick workaround for crashing destructor on Mingw32sfan52020-07-09
| | | | closes #10137
* Fix HTTP API not being available in async mainmenu (#10086)rubenwardy2020-06-22
|
* Add warning when disabling secure.enable_security (#9943)rubenwardy2020-06-20
|
* Make shading of CAOs optional (#10033)Danila Shutov2020-06-16
|
* Exposing the zoom key to Lua API (#9903)Lars Müller2020-06-13
| | | Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
* Server pushing media at runtime (#9961)sfan52020-06-13
|
* LuaItemStack: Add __tostring metamethod (#8785)Paul Ouellette2020-06-09
| | | | | * LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject
* Fix Lua panic when error() message is not a stringPaul Ouellette2020-06-07
|
* Add HTTP API to main menu (#9998)rubenwardy2020-06-06
|
* Lua API: Log incorrect parameter types as error (#9954)SmallJoker2020-06-01
| | | | | Incorrect parameter types are logged as errors, taking coercion into account. This is a workaround to ensure mod compatibility. Duplicate warnings are ignored per server instance.
* Value copy / allocation optimizations mostly in server, SAO and serialize codesfan52020-05-27
|
* Implement spawning particles with node texture appearancesfan52020-05-23
|
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-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
* Modernize include guards and add missing ones (#9898)Awkor2020-05-23
|
* Check for valid base64 before decoding (#9904)Lejo12020-05-22
|
* Cleanup of particle & particlespawner structures and code (#9893)sfan52020-05-22
|
* Allow more than 255 biomes, document new maximum (#9855)Paramat2020-05-20
| | | | Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
* CSM: Fix crashing minetest.get_item_def()sfan52020-05-20
| | | | fixes #9884
* Rework functionality of leveled nodes (#9852)Wuzzy2020-05-19
| | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Add core.open_url() to main menu API (#8592)rubenwardy2020-05-17
|
* CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan52020-05-14
| | | closes #9857
* Damage texture modifier (#9833)Lars Müller2020-05-11
| | | Adds a new object property "damage_texture_modifier"
* Add support for statbar “off state” icons (#9462)Wuzzy2020-05-11
| | | | | | | This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
* Server class code cleanups (#9769)Loïc Blot2020-05-07
| | | | | | | | | | | | | | | | | | | * Server::overrideDayNightRatio doesn't require to return bool There is no sense to sending null player, the caller should send a valid object * Server::init: make private & cleanup This function is always called before start() and loads some variables which can be loaded in constructor directly. Make it private and call it directly in start * Split Server inventory responsibility to a dedicated object This splits permit to found various historical issues: * duplicate lookups on player connection * sending inventory to non related player when a player connects * non friendly lookups on detached inventories ownership This reduce the detached inventory complexity and also increased the lookup performance in a quite interesting way for servers with thousands of inventories.
* Expose collided objects in moveresultsfan52020-05-06
| | | | closes #9787
* Fix remaining issues with mapgen scriptapisfan52020-05-05
|
* Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copysfan52020-05-05
|
* Sky API: Rename *_tint to fog_*_tint for consistencySmallJoker2020-05-05
|
* Rename moveresult speed to velocitySmallJoker2020-05-05
|
* Auto delete MetaData when = 0 (#8770)Lejo2020-05-02
| | | | * Auto delete MetaData when = 0
* set_fov: Add support for time-based transitions (#9705)ANAND2020-05-02
|
* Allow connection info to be missing from minetest.get_player_information() ↵sfan52020-05-01
| | | | | | (#9739) fixes #9352 This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a.
* Give the online lua mainmenu also the client_list and mods (#8691)Lejo2020-05-01
|
* Expose collision information to LuaEntity on_stepsfan52020-04-27
|
* Forbid object:attach(obj, ...) (#9762)Loïc Blot2020-04-27
| | | Fixes #9761
* Script: Enforce type checks if not nil (#9748)SmallJoker2020-04-27
| | | | * Script: Enforce type checks if not nil
* script: Put getGuiEngine() inside a client-only #ifdefsfan52020-04-27
|
* script: Fix add_entity returning unusable ref if object deleted in on_activatesfan52020-04-27
|
* Add server side translations capability (#9733)EvidenceB Kidscode2020-04-25
| | | | * Add server side translations capability
* Fix configuration caching in log_deprecated (#9697)HybridDog2020-04-22
| | | | | | * Fix configuration caching in log_deprecated The configured variable was never set to true. I've set the variables to thread_local because the configuration should be reloaded after reentering the world from mainmenu.
* Fix alias handling of get_content_id (#9712)sfan52020-04-19
| | | fixes #9632
* script: Move SAO usability check so that it covers all functions (#9698)sfan52020-04-18
| | | see also 91eef646a59575bd9ae792e257bb6ad12fafc0b1
* Optimize get_objects_inside_radius calls (#9671)Loïc Blot2020-04-16
| | | | | | | | | * Optimize getObjectsInsideRadius calls our previous implementation calls the ActiveObjectMgr to return ids and then lookup those ids in the same map and test each object Instead now we call the global map to return the pointers directly and we ask filtering when building the list using lamba. This drop double looping over ranges of active objects (and then filtered one) and drop x lookups on the map regarding the first call results
* Fix parsing JSON with large integers (#9674)sfan52020-04-15
|