aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2017-12-17Allow 'default' parameter in 'settings:get_bool' functionJordan Irwin
Default value is used when the setting key is not found in the config file. If default value is not set, 'nil' is returned. #6188
2017-12-16Give subgames the ability to disallow specific mapgens (#6792)Ezhh
2017-12-14Add callback to preserve node metadata as item metadataashtrayoz
2017-12-10Lua_api.txt: Fix a spelling errorashtrayoz
2017-12-06Auth handler: Player deletion & Iterator (#6741)sfan5
* Add player deletion method to auth handler (fixes #6653) * Support iterating over the auth database There was no way to do this previously and a recent commit broke doing this the "hacky" way by accessing `core.auth_table`.
2017-12-04Zoom: Set zoom FOV per-player using a player object propertyparamat
Remove player object property 'can zoom'. Add player object property 'zoom fov'. Remove clientside setting for 'zoom fov'. Object property default is 15 degrees in creative mode, zoom disabled in survival mode. Needed due to zoom now loading and/or generating distant world according to zoom FOV. Update object properties serialisation version to 3.
2017-12-01Update documentation regarding authentication handler and related functionssfan5
Properly document it instead of referencing the builtin handler as authoritative "example" code. Also adds definition of get_auth_handler() which was missing previously.
2017-12-01Lua_api.txt: Remove MT version, fix spelling and clean upezhh
Removes references to MT version in intro section. Update bump_version.sh to no longer manage version information.
2017-11-29Fix spelling mistakes in client_lua_api.txtBluebird
2017-11-28Client lua api documentation: .md -> .txtparamat
For consistency, and for much improved access on Github. On Github: .md disables being able to link to a line, needed daily when quickly referring people to particular lines. Search returns results in .md files, but you cannot then click the line number to go to that line in the document, making searching difficult. Line numbers are not displayed for .md documents.
2017-11-28Fix lua_api.txt indentation issuesezhh
2017-11-28Fix documentation formatting for on_death callbackEzhh
2017-11-25Improve documentation for player:set_attribute()Ezhh
2017-11-24Fix misspellingsgituser2194
"diffferent" to "different" "occuring" to "occurring" "determin" to "determine" "ommited" to "omitted" "authetification" to "authentication" "conponent" to "component" "ommitted" to "omitted" "celcius" to "Celsius" "succesful" to "successful" Misspellings found using GNU Spell version 1.0
2017-11-19Stratum ore: Add option for a constant thickness stratumparamat
Add a 'stratum thickness' integer parameter, as an alternative to providing a 2nd noise parameter for thickness variation.
2017-11-17Ore API documentation: Update and improveparamat
2017-11-13Lua_api.txt: Add documentation of required mapgen aliasesparamat
2017-11-08Add minetest.safe_write_file() to script APIsfan5
2017-11-06Lua_api.txt: Add documentation for 'eye_height' player object propertyparamat
2017-10-30Add sha1 to lua utils. (#6563)Rob Blanckaert
2017-10-29CSM: Add a way to get current locale from CSMlisacvuk
2017-10-29Biome API: Add decoration flags for underground decorationsparamat
Add "all_floors" and "all_ceilings" flags for simple and schematic decorations. Decorations are placed on all floor and/or ceiling surfaces. Decorations are placed before dungeon generation so placement in dungeons is not possible. Add 'getSurfaces()' function to mapgen.cpp that returns 2 arrays of y coordinates for all floor and ceiling surfaces in a specified node column. Move 'getHeight()' checks into DecoSimple and DecoSchematic. Delete 'getHeight()' functions.
2017-10-29Allow overriding tool capabilities through itemstack metadataraymoo
This makes it possible to modify the tool capabilities of individual itemstacks by calling a method on itemstack metadata references.
2017-10-28Fix default item callbacks to work with nil users (#5819)raymoo
* Fix default item callbacks to work with nil users * item.lua: Handle node drops for invalid players The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used. Remove redundant `local _, dropped_item`
2017-10-23Lua_api.txt: Revert changes to NoiseParams format exampleMuhammad Rifqi Priyo Susanto
2017-10-23Improvements/fixes for noise parameter input in advanced settingsMuhammad Rifqi Priyo Susanto
Formspec input for each individual noise parameter and flag. Allow noise flags to be set in advanced settings, previously only settable in minetest.conf. Standardise 'group format' for noise parameters set in minetest.conf, as only these support noise flags. However the older 'single line' format is still accepted to support existing minetest.conf files. Therefore auto-generate minetest.conf.example with noise parameters in 'group format'. Setting 'type' in settingtypes.txt is now either 'noise_params_2D' or 'noise_params_3D', the dimension number is displayed in the advanced settings edit page.
2017-10-19Correct `prot_vers` in lua_api.txt.Auke Kok
We should avoid providing incorrect struct members in documentation since people will be coding based on them.
2017-10-15Real global textures (#6105)Vitaliy
* Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
2017-10-10Simple decorations: Make 'place_offset_y' usable with simple decorationsparamat
Necessary for placing the base cube of 'plantlike_rooted' drawtype in the seabed instead of on it. Useful for placing decorations sunk into, or buried in, the ground.
2017-10-09Simple decorations: Add 'param2_max' parameter for random param2paramat
If 'param2_max' is not used, parameter 'param2' works as before for compatibility. If 'param2_max' is used, 'param2' and 'param2_max' become the lower and upper bounds of a per-decoration random param2.
2017-10-09Formspec: textarea with scrollbar improvementsadrido
Increase scrollrate depending on fontsize Scroll on mousewheel Allow scrolling and marking text on non writable textareas Update lua api about readonly mode Show scrollbar if text overflows
2017-10-09FormSpec : Add an auto vertical scrollbar to the textareaadelcoding1
2017-10-05Move register_on_modchannel_signal() (#6497)James Alexander Stevenson
Moved from lua_api.txt to client_lua_api.md.
2017-10-02[CSM] Add callback on open inventory (#5793)Vincent Glize
2017-10-01Stratum ore: Allow use with no noise for simple horizontal strataparamat
If either of the 2 noise parameters are omitted the ore will occur from y_min to y_max in a simple horizontal stratum. As this does not compute noise performance improves, and is ideal for placing many layers. Clean up some nearby ore documentation.
2017-09-28Lua_api.txt: Clarify arguments of functions, plus some cleanupHybrid Dog
2017-09-28Document orientation parameter of set_attach (#6473)raymoo
2017-09-28Add static_save property to luaentites to not save them statically. (#5112)orwell96
* Add no_static_save property to luaentites to not save them statically. This allows for temporary objects that would get deleted anyway as soon as they are loaded again without the static saving overhead. * Use positive meaning for static_save object property * Invert meaning also for the LUA parameter Note: getboolfield() does not change &result when field does not exist, so it defaults to the default value in the header file, which is 'true'. * Extend push_object_properties()
2017-09-26Implement mod communication channels (#6351)Loïc Blot
Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method
2017-09-25Can_zoom player object property: Add missing documentationparamat
2017-09-19Rooted plantlike drawtype: Add remaining documentationparamat
Plus a small clarification of 'glasslike framed' documentation.
2017-09-18Leveled nodebox: Change levels from 1/63rds to 1/64thsparamat
Add missing documentation of leveled nodebox to lua_api.txt, plus a little cleaning up nearby.
2017-09-17Biome API: Revert biomes, decos, ores being relative to water levelparamat
Feature is unnecessary and would greatly complicate future development, it would also make 'get biome at pos' extremely complex. Mgv7: Revert option to repeat surface biomes in floatlands, which depended on the above.
2017-09-16Generate biomes: Recalculate biome at biome lower limitparamat
Prevents biome nodes passing below the defined y_min of that biome.
2017-09-15Customizeable max breath for players (#6411)SmallJoker
* Customizeable maximal breath for players
2017-09-14Object properties: Add 'glow', disables light's effect if negativeRob Blanckaert
The 'glow' value is added to the ambient light value. Negative 'glow' disables light's effect on object colour, for faking self-lighting, UI-style entities, or programmatic colouring in mods.
2017-09-12Fix core.wrap_text and make its behaviour consistent with the docssfan5
Code based on initial implementation by @dsohler.
2017-09-11Implement client node dig predictionAuke Kok
Dig prediction allows clients to remove dug nodes without waiting for server acknowledgement. This patch allows mods to override dig prediction, it can either be turned off or a different "prediction node" can be selected.
2017-09-11Allow the join/leave message to be overridden by mods.red-001
2017-09-10Schematic decorations: Add 'place_offset_y' placement parameterparamat
For precise control of schematic vertical position relative to the 'place_on' node. Avoids workarounds that add empty nodes to a schematic and therefore reduce performance. Also remove long-unused decoration cutoff code.