summaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* Fix default item callbacks to work with nil users (#5819)raymoo2017-10-28
| | | | | | | | | * 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`
* Improvements/fixes for noise parameter input in advanced settingsMuhammad Rifqi Priyo Susanto2017-10-23
| | | | | | | | | | | | | | | | 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.
* don't pass g_settings around, and use it directlyEsteban I. RM2017-10-17
|
* Implement #6096Esteban I. RM2017-10-17
|
* Real global textures (#6105)Vitaliy2017-10-15
| | | | | | | | * Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
* Profiler: Fix var args not being passed to callback register functionrubenwardy2017-10-14
| | | | Fixes #6517
* Formspec: textarea with scrollbar improvementsadrido2017-10-09
| | | | | | | | | | | | 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
* Do not grant all privs to the admin - changes game behavior (#6460)lhofhansl2017-10-07
| | | | | | * Do not grant all privs to admins. * Default give_to_admin to give_to_singleplayer
* Add setting for near plane distance. (#6395)Rob Blanckaert2017-10-07
| | | | | | | * Allow setting the near plane * - Add near_plane limit of 0.5 to prevent x-ray. - Add more details to near_plane setting.
* settingtypes.txt: Update zoom description (#6443)James Alexander Stevenson2017-10-06
|
* [CSM] Add callback on open inventory (#5793)Vincent Glize2017-10-02
|
* Add mute setting (toggled by the mute key and in the volume menu) (#6415)DTA72017-09-26
| | | | * Add mute setting (toggled by the mute key and in the volume menu)
* Implement mod communication channels (#6351)Loïc Blot2017-09-26
| | | | | | | | | | 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
* Set placer to nil instead of a non-functional one in item_OnPlace (#6449)DTA72017-09-21
| | | | | | * Set placer to nil instead of a non-functional one This requires nil checks in core.rotate_node and core.rotate_and_place.
* Biome API: Revert biomes, decos, ores being relative to water levelparamat2017-09-17
| | | | | | | 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.
* Fix Rotate Node Placement (#6424)tenplus12017-09-16
| | | This properly checks for creative mode or privilege when using fixed rotate_node() function.
* Correct tooltip_append_itemstring terminology (#6421)DTA72017-09-16
|
* Add setting to display the itemstring after the tooltip in the inventory. ↵DTA72017-09-15
| | | | | | (#6413) * Add setting to display the itemstring after the tooltip in the inventory.
* Customizeable max breath for players (#6411)SmallJoker2017-09-15
| | | | * Customizeable maximal breath for players
* Item drop: Tune to land exactly 2 nodes away with level view (#6410)Paramat2017-09-13
|
* Network: Remove large parts of deprecated legacy code (#6404)SmallJoker2017-09-12
| | | | Also remove the setting 'send_pre_v25_init' Keep old enum entries for obsolete commands
* Fix core.wrap_text and make its behaviour consistent with the docssfan52017-09-12
| | | | Code based on initial implementation by @dsohler.
* Allow the join/leave message to be overridden by mods.red-0012017-09-11
|
* Fix dropped item look (#6370)you2017-09-11
| | | | | | | | | | | | | | * Abort set_item when it does nothing * Do not adjust dropped item size linearly Instead use cube root because the item count is proportional to the volume, not to the length. * Make the item rotate slower when it's bigger Bigger items chafe more on the ground, so they can't rotate as fast as small ones * Fix items flying in air
* Fix crash on revocation of removed privilegerubenwardy2017-09-08
|
* Server: Calculate maximal total block sends dynamically (#6393)SmallJoker2017-09-09
| | | The block sends per client is 1/2 when reaching the maximal player count.
* Prevent /spawnentity from spawning unknown entity (#6388)Wuzzy2017-09-08
|
* Remove DSTACK keybind setting (#6378)Rui2017-09-05
|
* Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot2017-09-04
| | | | | | | | | * 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
* World start time: Add setting for this, default unchangedparamat2017-09-04
|
* Remove 3D noise from getSteps function (#6360)Vaughan Lapsley2017-09-02
|
* Remove nodeupdate and nodeupdate_singleRui2017-08-30
|
* Zoom: Move enabling zoom to a new player object propertyparamat2017-08-30
| | | | | Default enabled for no change in default behaviour. Remove 'zoom' privilege.
* Formspec: Add options to set background color and opacity (fullscreen mode + ↵Loïc Blot2017-08-29
| | | | | | | | | | | | 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
* Fix mistake when calling on_priv_grant/revoke, and document them (#6341)rubenwardy2017-08-29
|
* Advanced settings: Make 'controls', 'graphics', 'sound' more accessibleparamat2017-08-28
| | | | | | | | | | | | | 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'.
* Lua API: Add function to deregister single biomes (#5445)zeuner2017-08-27
|
* Add '@n' escape sequences and some documentation on translated strings.Nathanaël Courant2017-08-26
|
* Add on_grant and on_revoke callbacks (#4713)rubenwardy2017-08-26
| | | | | | * 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
* Check item_drop amount clientside (#6242)rubenwardy2017-08-26
|
* Builtin item: Tidy up (#4370)SmallJoker2017-08-24
| | | | | | New code structure Use setting movement_gravity Reset age on merge Set merge radius to 1.0m
* Add clientside translations.Ekdohibs2017-08-24
|
* Safe digging and placing (#6127)Ben Deutsch2017-08-24
| | | | | | | | | | | | | | * 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
* Respect object property hp_max field for players (#6287)SmallJoker2017-08-23
| | | | | | | | | | | * 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
* Make world creation menu automatically generate a random world name (#6257)lisacvuk2017-08-18
| | | | | | * 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.
* Reduce dedicated server step to 0.09 (#6252)Loïc Blot2017-08-17
| | | 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
* New lighting curve (#5279)Vitaliy2017-08-17
| | | | | | | | * New lighting curve * Make polynomial lighting curve * Update default lighting settings
* Advanced settings: Re-organise mapgen settings for ease of useparamat2017-08-14
| | | | | Add a comment about the auto-generated minetest.conf.example possibly appearing in the bin folder.
* Make dropped items colorableDániel Juhász2017-08-14
|
* Add slippery group for nodes (players/items slide)Wuzzy2017-08-13
|