aboutsummaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* Add minetest.is_player (#7013)you2018-06-03
| | | | | | * Add minetest.is_player * First use for is_player
* Update documentation regarding authentication handler and related functionssfan52018-06-03
| | | | | | Properly document it instead of referencing the builtin handler as authoritative "example" code. Also adds definition of get_auth_handler() which was missing previously.
* Improve documentation for player:set_attribute()Ezhh2018-06-03
|
* Lua_api.txt: Add documentation of required mapgen aliasesparamat2018-06-03
|
* Add minetest.safe_write_file() to script APIsfan52018-06-03
|
* Add sha1 to lua utils. (#6563)Rob Blanckaert2018-06-03
|
* Fix default item callbacks to work with nil users (#5819)raymoo2018-06-03
| | | | | | | | | * 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`
* Correct `prot_vers` in lua_api.txt.Auke Kok2018-06-03
| | | | | We should avoid providing incorrect struct members in documentation since people will be coding based on them.
* Document orientation parameter of set_attach (#6473)raymoo2018-06-03
|
* Leveled nodebox: Change levels from 1/63rds to 1/64thsparamat2018-06-03
| | | | | Add missing documentation of leveled nodebox to lua_api.txt, plus a little cleaning up nearby.
* Fix core.wrap_text and make its behaviour consistent with the docssfan52018-06-03
| | | | Code based on initial implementation by @dsohler.
* Make dropped items colorableDániel Juhász2018-06-03
|
* Trigger on_rightclick regardless on the formspec meta fieldSmallJoker2018-06-03
| | | | Document behaviour for older clients.
* Automatic item and node colorization (#5640)Dániel Juhász2018-06-03
| | | | | | | | | | | | | | | | | * Automatic item and node colorization Now nodes with a palette yield colored item stacks, and colored items place colored nodes by default. The client predicts the colorization. * Backwards compatibility * Use nil * Style fixes * Fix code style * Document changes
* find_nodes_in_area: Extend maximal count to U32_MAX (#5277)SmallJoker2018-06-03
| | | | | | | Extend documentation, limit area volume Remove u16 count limitation * Prevent integer overflow, replace minp/maxp with pos1/pos2
* fix an example in lua_api (#5604)DS2018-06-03
|
* Fix typos/mistakes in the documentation for colour related functions. (#5936)red-0012018-06-03
|
* Revert version scheme changessfan52017-11-20
| | | | | This reverts commit 41b7823057bdaddd760f932dce802719301c3a0f. This reverts commit 7968f1ddaa67432719d5becdda5ca8bec58faa47.
* New version scheme (#6292)Loïc Blot2017-08-20
| | | | | | | * Version changes: current dev version is now 0.4.17 * This change permit to have multi branches with various versions * Dev version is 0.4.17-dev and next release will be 0.4.17
* Bump version to 0.4.16ShadowNinja2017-06-03
|
* Update remove_player documentationShadowNinja2017-06-03
| | | | | This function only removes player meta data, not player authentication data.
* Mention data type for get/set_attribute in docs (#5884)Wuzzy2017-06-03
|
* Lua_api.txt: Various edits and Markdown syntax improvementsWuzzy2017-06-02
| | | | | | | Add minor bits of missing Lua API documentation. Remove L-system lighting bug warning. Clarify 2 lines in node timer documentation. Fix many Markdown syntax errors in lua_api.txt.
* Document hardware coloring and soft node overlays (#5876)Dániel Juhász2017-06-02
|
* [CSM] Add send_chat_message and run_server_chatcommand API functions (#5747)Pierre-Adrien Langrognet2017-05-21
| | | | | | | | | | | | * [CSM] Add send_chat_message and run_server_chatcommand API functions * Add client-side chat message rate limiting * Limit out chat queue size * [CSM] Add minetest.clear_out_chat_queue API function and .clear_chat_queue chatcommand * Last fixes/cleanups before merge
* [CSM] Add function to get the definition of items (#5732)bigfoot5472017-05-21
| | | | | Add node def and item def documentation. Please be ready for merge!
* Fix CSM crash (#5779)red-0012017-05-20
| | | Caused by dc5bc6c and them made worse by 5ebf8f9
* When minimap is disabled in configuration, really disable it (#5771)Loïc Blot2017-05-19
| | | | * When minimap is disabled in configuration, really disable it
* CSM: Document forgotten functionsSmallJoker2017-05-16
|
* Replace inconsistent mentions of core.* with minetest.* (#5749)rubenwardy2017-05-12
|
* Private nodemeta (#5702)sfan52017-05-10
| | | | * Private node metadata that isn't sent to the client
* Revert custom player collision box and step height commitsparamat2017-05-09
| | | | | These caused inability to pass through 2 node high spaces or step up onto slabs or steps when a new client connected to an older server.
* Player attrs: permits to remove an attribute by setting value to nil (#5716)Loïc Blot2017-05-07
| | | | | | | | | | * Player attrs: permits to remove an attribute by setting value to nil When doing player:set_attribute("attr", nil) remove attribute Also remove a useless check on C++ API part (already done by checkplayer) Fix #5709
* Player properties: Set correct default collisionboxparamat2017-05-07
| | | | | | | | | Recent commit b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975 removed a hardcoded player collisionbox which resulted on falling back to an incorrect default. This stopped players walking through 2-node high spaces and made the player slightly wider. Improve docs for custom player collisionbox feature and reformat nearby lines.
* Make the player collisionbox settableTeTpaAka2017-05-06
|
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* [CSM] add `on_item_use` (#5544)red-0012017-05-06
|
* [CSM] Add camera API (#5609)bigfoot5472017-05-05
| | | | | | | * [CSM] Add camera API roper rebase & squash * Address nerzhul's review
* Add option to also check the center to `find_node_near` (#5255)red-0012017-05-04
| | | | | * Add option to also check the center to `find_node_near`
* Add function to get server info.red-0012017-05-04
|
* Set sky API: Add bool for clouds in front of custom skyboxparamat2017-05-02
| | | | | | | Default true. Add 'm_clouds_enabled' bool to sky.h, set from new bool in 'set sky' API. Make 'getCloudsVisible()' depend on 'm_clouds_enabled' instead of 'm_visible' (whether normal sky is visible).
* Sneak: Improve and fix various thingsSmallJoker2017-05-03
| | | | | | Remove useless `got_teleported`. Fix jitter when walking against the sneak limits. Fix damage evading on sneak ladders.
* Sound API: Add fading soundsBrandon2017-05-03
|
* Add clouds APIBen Deutsch2017-04-30
|
* [CSM] Add event on_place_node API lua (#5548)Vincent Glize2017-04-29
| | | | * [CSM] Add event on_place_node API lua
* [CSM] add screenshot api lua (#5674)Vincent Glize2017-04-29
| | | | * [CSM] add screenshot api lua
* Fix click-digging torches (#5652)you2017-04-28
| | | | Torches are dug instantly again. When the digging time is 0, a delay of 0.15 seconds is added between digging nodes. If the left mouse button is released, the delay is set to 0, thus click-digging.
* Allow mesh and nodeboxes to wave like plants or leaves. (#3497)Auke Kok2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We introduce a new value for "waving" - 2: 0 - waving disabled 1 - wave like a plant 2 - wave like a leave Plantlike nodes will only allow waving = 1, but for leaves we will permit both 1 and 2 since current minetest_game sets it to 1 for all leaves. This makes it somewhat backwards compatible. For mesh and nodebox, values 1 and 2 are both valid, and the node can wave in both fashions as desired. I've tested this with the crops:corn plants, which are mesh nodes, and the results are really good. The code change is trivial as well, so I've opted to document the waving parameter in lua_api.txt because it was missing from there. Nodeboxes likely will not wave properly unless waving = 2. However it's possible that waving=1 may be desired by some mod developers for geometries I have not tried, so the code will not prohibit either value for mesh and nodebox drawtypes. Add lua_api.txt documentation for this feature and document both the existing functionality and the expansion to mesh and nodebox drawtypes.
* Allow scripts to get the client protocol version in non-debug builds. (#5649)red-0012017-04-27
|
* Fix incorrect formspec-tooltip doc, add detail in 'floodable' & 'on_flood' ↵Bluebird2017-04-27
| | | | | | | | | | docs (#5660) * Fix incorrect formspec tooltip documentation * Improve `floodable` and `on_flood` documentation. The original documentation did not specify that liquids should not themselves be floodable. This is probably something that should be mentioned.