aboutsummaryrefslogtreecommitdiff
path: root/builtin
AgeCommit message (Collapse)Author
2017-09-04Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot
* Implement minetest.register_on_userlimit_check This new callback permits to bypass the max_users parameter with new mods condition, based on player name or IP Only one mod needs to permit it. Move core part for builtin privileges checks to builtin
2017-09-04World start time: Add setting for this, default unchangedparamat
2017-09-02Remove 3D noise from getSteps function (#6360)Vaughan Lapsley
2017-08-30Remove nodeupdate and nodeupdate_singleRui
2017-08-30Zoom: Move enabling zoom to a new player object propertyparamat
Default enabled for no change in default behaviour. Remove 'zoom' privilege.
2017-08-29Formspec: Add options to set background color and opacity (fullscreen mode + ↵Loïc Blot
default mode) (#5493) * Formspec: Add options to set background color and opacity (fullscreen mode) * Enhance previous comment: Set formspec background when regenerate UI. * This permit to do the calcul only at regen and override it with bgcolor tag * Add a setting for default background color into formspec, separated from fullscreen * Add a little performance gain on formspecs using a const ref instead of copying formspec string
2017-08-29Fix mistake when calling on_priv_grant/revoke, and document them (#6341)rubenwardy
2017-08-28Advanced settings: Make 'controls', 'graphics', 'sound' more accessibleparamat
Move client 'controls', 'graphics' and 'sound' into the first level to be immediately visible to players who may not realise these come under 'client'. These are the settings that new players or players on a server are likely to want to access while not having understanding of what comes under 'client'. Leave client 'network' and 'advanced' under 'client' as these are more advanced. Move 'show entity selection boxes' from the bizarre location in 'client'>'network' to 'graphics'>'in game'>'advanced'.
2017-08-27Lua API: Add function to deregister single biomes (#5445)zeuner
2017-08-26Add '@n' escape sequences and some documentation on translated strings.Nathanaël Courant
2017-08-26Add on_grant and on_revoke callbacks (#4713)rubenwardy
* Add register_on_priv_grant/revoke, and on_grant/revoke to privs. Call from /grant and /revoke * Call on_grant and on_revoke callbacks from set_privs
2017-08-26Check item_drop amount clientside (#6242)rubenwardy
2017-08-24Builtin item: Tidy up (#4370)SmallJoker
New code structure Use setting movement_gravity Reset age on merge Set merge radius to 1.0m
2017-08-24Add clientside translations.Ekdohibs
2017-08-24Safe digging and placing (#6127)Ben Deutsch
* Setting: Safe digging and placing * New setting 'safe_dig_and_place' under Controls * If set, digging and placing will not auto-repeat * Releasing buttons unblocks the respective action again * Useful for inexperienced users in creative mode where default repeat times may be too short * Safe placing (right click repetition) does not need a guarding flag * Added new setting to minetest.conf.example
2017-08-23Respect object property hp_max field for players (#6287)SmallJoker
* Respect object property hp_max field for players This allows modders to configure the maximal HP per player * Statbars: Downscale bar to full 20 HP when exceeding this value Add default max HP for players and breath constants to builtin Document the constants * Rename PLAYER_MAX_HP -> PLAYER_MAX_HP_DEFAULT
2017-08-18Make world creation menu automatically generate a random world name (#6257)lisacvuk
* Make world creation menu automatically generate a name. * Name is now initialy empty, and generated if player tries to create a world without a name.
2017-08-17Reduce dedicated server step to 0.09 (#6252)Loïc Blot
Minetest performance improvement has been huge since months, server step reduction will permit to handle client events a little bit faster without too many penalty costs due to core engine
2017-08-17New lighting curve (#5279)Vitaliy
* New lighting curve * Make polynomial lighting curve * Update default lighting settings
2017-08-14Advanced settings: Re-organise mapgen settings for ease of useparamat
Add a comment about the auto-generated minetest.conf.example possibly appearing in the bin folder.
2017-08-14Make dropped items colorableDániel Juhász
2017-08-13Add slippery group for nodes (players/items slide)Wuzzy
2017-08-13Add short description for disabled texture packsWuzzy
2017-08-13Change “Use” key name to “Special”TeTpaAka
2017-08-12Remove cloud_height settingBen Deutsch
With the cloud API, the cloud_height setting has become obsolete and replaceable by a mod. It, and supporting code, can be removed.
2017-08-12Abort if static_spawnpoint is an invalid setting instead of just giving an ↵Hybrid Dog
error log
2017-08-09Update credits (#6228)Zeno-
2017-07-30Make direct item selection keys freely bindableWuzzy
2017-07-26Mgv7: Add 'mount_zero_level' parameterparamat
Allows setting of the mountain 'zero level' (y where density gradient is zero). It is easy to vertically shift smooth terrain by editing noise parameter 'offset', but vertically shifting mountain terrain was complex and imprecise, involving making a calculation based on an average of the mountain height parameter.
2017-07-22Mgv7: Add option to repeat surface biomes in floatlandsparamat
2017-07-18Window size: use 1024x600 to avoid a smaller UIparamat
The change from 800x600 to 1024x576 (16:9) was a reduction in height which caused user interface to become smaller. Continue to use width 1024 as it is a common small screen width.
2017-07-18[CSM] Add flavour limits controlled by server (#5930)Loïc Blot
* [CSM] Add flavour limits controlled by server Server send flavour limits to client permitting to disable or limit some Lua calls * Add limits for reading nodedefs and itemdefs * flavour: Add lookup node limits * Merge get_node_or_nil into get_node. Sending fake node doesn't make sense in CSM, just return nil if node is not available for any reason * Add node range customization when noderange flavour is enabled (default 8 nodes) * Limit nodes range & disable chat message sending by default * Bump protocol version
2017-07-15Revert "CSM: Revert "[CSM] Add send_chat_message and run_server_chatcommand""Loic Blot
This reverts commit bdac12761cd92960c3df83c932aa610f2322215f.
2017-07-15Default window size: Increase to 1024x576, aspect ratio 16:9paramat
2017-07-15CSM: Revert "[CSM] Add send_chat_message and run_server_chatcommand"rubenwardy
Original PR: #5747. This reverts commit 39f4a2f607d44738d60db84eba4b30e3d7450204.
2017-07-14Remove remaining modstore code (#6120)Elijah Duffy
2017-07-11Advanced settings: Reformat noise parameter format exampleparamat
Previously the example ran off the edge of the formspec. Also include 'lacunarity' in the format instead of treating it as an option.
2017-07-07Mapgen Carpathian: Add lava_depth parametervlapsley
2017-07-06Mapgen: Add Carpathian mapgen (#6015)Vaughan Lapsley
2017-07-02Dungeons: Add setting to prevent projecting dungeonsparamat
Prevents dungeons generating into ignore nodes in ungenerated mapchunks, which can occasionally result in a dungeon projecting from the terrain.
2017-06-30Create a filesystem abstraction layer for CSM and only allow accessing files ↵red-001
that are scanned into it. (#5965) * Load client-side mods into memory before executing them. This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure. * Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory. * Fix the issues with backtrace * fix most of the issues * fix code style. * add a comment
2017-06-29Change the server description after a search (#6074)Vincent Glize
2017-06-26Add Arm Inertia (#6050)kilbith
2017-06-24Helper methods for hardware colorization (#5870)Dániel Juhász
2017-06-22CavesRandomWalk: Make 'lava_depth' a mapgen parameterparamat
As with 'large_cave_depth', lava depth was previously a fixed y value and therefore incompatible with the ability to shift terrain vertically. Add 'lava_depth' mapgen parameter to mgflat, mgfractal, mgv5, mgv7.
2017-06-22Add minetest.rgba function that returns ColorString from RGBA or RGB valuesGael-de-Sailly
2017-06-21Mgv5/v7/fractal: Add 'large_cave_depth' parameter to replace fixed valueparamat
The value cannot be fixed because we can shift terrain vertically. This also makes these mapgens consistent with mgflat and mgvalleys which have 'large_cave_depth' parameters.
2017-06-20Automatic item and node colorization (#5640)Dániel Juhász
* 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
2017-06-15Improve chatcommand params consistency (#5985)Ezhh
* Fix and improve params consistency * Move parenthesis requirement to descriptions
2017-06-11Improve the path select GUI (#5852)red-001
- Allow lua to chose whatever directories or files can be selected - Fix selecting directories - Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu` - Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog` - Remove duplicate code and fix code style. Related changes - fix `clang-format` whitelist. - Regenerate minetest.conf.example