Commit Graph

1016 Commits

Author SHA1 Message Date
rubenwardy a69666caa9
Fix rename modpack dialog not appearing to take affect 2022-05-21 16:16:46 +02:00
numzero f153266f8c
Fix modpack rename dialog selecting the wrong mod 2022-05-21 16:16:45 +02:00
rubenwardy 52de9fcd47
Content store: Fix overlapping labels 2022-05-21 16:16:45 +02:00
paramat 37619f1b6b
Settings: Slightly increase block generate, block send, object send distances (#8147) 2022-05-21 16:16:45 +02:00
rubenwardy fb70e83b24
Content store: Fix storage leak by storing screenshots in cache (#8137) 2022-05-21 16:16:44 +02:00
rubenwardy f1675a10d3
Content store: Use composite key to track installations (#8054)
Fixes #7967 'Package manager doesn't track content reliably'.
2022-05-21 16:16:44 +02:00
srfqi c9922b15ff
Add setting to disable confirmation on new player registration (#8102) 2022-05-21 16:16:43 +02:00
paramat abbcd8741a
Rename 'Advanced Settings' button to 'All Settings' (#8131) 2022-05-21 16:16:43 +02:00
Wuzzy 889e9039a4
Make advanced settings noiseparams strings translatable (#8062)
Various minor language improvements in settingtypes.txt.
2022-05-21 16:16:42 +02:00
srfqi d808652180
Advanced settings noiseparams: No tailing comma for empty flags
Previously, when editing noiseparams and disabling all the noise
flags, the noiseparam is displyed in advanced settings with a
tailing comma.
2022-05-21 16:16:42 +02:00
Paul Ouellette 289186639f
Remove incorrect feature flag (#8086)
And document the versions that introduced the features.
2022-05-21 16:16:41 +02:00
Paul Ouellette 86a724a406
Fix some misspellings (#8104) 2022-05-21 16:16:41 +02:00
SmallJoker 338465899e
world.mt: Only accept true/false/nil values (#8055)
This patch will make distinguishable mods in modpacks possible in the future
`nil` checks are required to provide backwards-compatibility for fresh configured worlds
2022-05-21 16:16:41 +02:00
rubenwardy 9275e49a34
pkgmgr: Fix games list not being updated after game install
Fixes #8074
2022-05-21 16:16:40 +02:00
paramat a4f320242f
Settingtypes.txt: Rewrite documentation of 'num_emerge_threads' (#8066) 2022-05-21 16:16:40 +02:00
rubenwardy e683cead1c
Content store: Disable more details dialog for now (#8060)
* Content store: Disable more details dialog for now
2022-05-21 16:16:39 +02:00
rubenwardy 18400b1851
Content store: Fix update button not working 2022-05-21 16:16:39 +02:00
rubenwardy c36f81565b
Deprecate modpack.txt and use modpack.conf instead (#7892)
* Deprecate modpack.txt and use modpack.conf instead
2022-05-21 16:16:38 +02:00
paramat 03c82d48a1
CSM restrictions: Make 'LOAD_CLIENT_MODS' disable loading of 'builtin' (#8000)
Previously, when the CSM restriction 'LOAD_CLIENT_MODS' was used a
client was still able to add CSM code to 'builtin' to bypass that
restriction, because 'builtin' is not yet verified.

Until server-sent CSM and verifying of 'builtin' are complete, make
'LOAD_CLIENT_MODS' disable the loading of builtin.

Clarify code comments and messages to distinguish between client-side
modding and client-side scripting. 'Scripting' includes 'builtin',
'modding' does not.
2022-05-21 16:16:38 +02:00
Moose d928ddd18a
autojump setting: Remove repeated doc line (#8041) 2022-05-21 16:16:38 +02:00
random-geek 0b44261522
Extend pitch fly mode to swimming (#7943) 2022-05-21 16:16:37 +02:00
rubenwardy 9b771420d1
Fix installed modpacks not being found correctly 2022-05-21 16:16:37 +02:00
rubenwardy 59af35cf68
Content store: Fix bugs relating to packages list size 2022-05-21 16:16:36 +02:00
Loïc Blot 74641de4d5
CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)
* CSM: add requested CSM_RF_READ_PLAYERINFO

This new CSM limit permit to limit PLAYERINFO read from server.

It affects get_player_names call
2022-05-21 16:16:36 +02:00
paramat b2eb5fca5b
Remove 'Reset singleplayer world' button from full menu on Android (#8017)
Make button appearence dependent on menustyle not platform.
Button only functions with simple menu.
2022-05-21 16:16:35 +02:00
SmallJoker 24fb09eb40
Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
Patch supplied by @pgimeno. Thank you.
2022-05-21 16:16:35 +02:00
rubenwardy caa02f7b10
Fix ContentDB packages timing out by using download_file instead (#7891) 2022-05-21 16:16:34 +02:00
random-geek bf317a486d
Content store: Fix missing screenshot in package view dialog 2022-05-21 16:16:34 +02:00
Wuzzy 76bd1c7939
Add eat sound (#7956) 2022-05-21 16:16:33 +02:00
paramat d36ff1f24d
Main menu style: Set to 'full' for Android, remove 'auto' option (#7936) 2022-05-21 16:16:33 +02:00
rubenwardy 44fb7e708e
Disable game bar and header on Android (#7940) 2022-05-21 16:16:32 +02:00
paramat 3496b88810
Declare mapgens v5 and flat stable. Add missing carpathian (#7942) 2022-05-21 16:16:32 +02:00
Paul Ouellette 43ddecfffd
Improve world configure menu (#7922)
Replace `Subgame mods` with <game name> mods.
Display game description on left instead of dependencies.
Fix double DIR_DELIM in some paths.
2022-05-21 16:16:31 +02:00
Vanessa Dannenberg f394f47079
Raise hotbar limit to 32 slots, add associated keybinding options (#7916)
add associated keybinding options
update docs and settingtypes
2022-05-21 16:16:31 +02:00
Paul Ouellette 057f1f4873
Remove unused settings (#7929) 2022-05-21 16:16:30 +02:00
kurzkopfgleitbeutler d9132e1919
Fix spelling of setting descriptions (#7829) 2022-05-21 16:16:30 +02:00
Gaël C acc2343795
Added pitch fly mode (#7817)
In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly.
It allows smoother and more complex movements.
Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
2022-05-21 16:16:29 +02:00
ANAND d86b78a903
Content store: Hide navigation buttons when there's no packages 2022-05-21 16:16:29 +02:00
paramat 54617ebb02
CSM: Don't create the client script environment if CSM is disabled (#7874)
Use the CSM death formspec when CSM is enabled and use the engine death formspec when CSM is disabled.
Move the CSM death formspec code to a dedicated file.
2022-05-21 16:16:28 +02:00
Ben Deutsch f9e5873277
Client-side autojump. Remove Android-only stepheight autojump (#7228)
Works by detecting a collision while moving forward and then
simulating a jump. If the simulated jump is more successful,
an artificial jump key press is injected in the client.

Includes setting and key change GUI element for enabling and
disabling this feature.
2022-05-21 16:16:28 +02:00
sfan5 a86c8d0741
Remove obsolete section in ipv6_server description
This section no longer applies since c66d97726931aa8dde7d8a1ffa5b8e41234f4660.
2022-05-21 16:16:27 +02:00
stujones11 b42a49f264
Android: Improve UI scaling on smaller high-density displays (#7834)
* Android: Improve UI scaling on smaller high-density displays
2022-05-21 16:16:27 +02:00
Ezhh d45099af04
Rename hasprivs command to haspriv (#7860) 2022-05-21 16:16:26 +02:00
ANAND 400811345e
dlg_contentstore.lua: Various fixes and improvements (#7612)
Add missing 'core.formspec_escape' to 'get_screenshot'.
Add warning label when no packages fetched.
Internal name of the "Update" button was the same as "Install". Rename to 'update_'.
2022-05-21 16:16:26 +02:00
HybridDog 06cb2c9348
Enable subtle fall bobbing (#7856)
Set the default value of fall_bobbing_amount to 0.03
2022-05-21 16:16:26 +02:00
ChimneySwift 0b17717cdb
Escape special characters when searching the server list (#7842)
Simple fix to stop searching for "[" or other special characters causing a crash.
2022-05-21 16:16:25 +02:00
srfqi 27a428dc8a
Conf.example generation: Remove quotation marks from noise flags (#7844) 2022-05-21 16:16:25 +02:00
paramat 884c00862a
Content store: Add show_nonfree_packages setting to advanced settings (#7846) 2022-05-21 16:16:24 +02:00
random-geek 732605b7c6
Improve content store layout (#7806) 2022-05-21 16:16:24 +02:00
Pierre-Yves Rollo a1bcc6ba94
Fix string.split returning an empty table if string starts with sepearator (#7827)
Calling string.split(":A:B:C:D", ":") returns an empty array.
This is due to first empty string not making repeat loop decreasing max_split which has a 0 value when reaching until.
Changing max_splits default value from -1 to -2 fixes that issue.
2022-05-21 16:16:23 +02:00
paramat b72c46443f
Advanced settings: Fix noise parameter flags (#7819)
Populate the 'checkboxes' table with bools when creating the editing formspec.
2022-05-21 16:16:23 +02:00
SmallJoker 622db08246
Mainmenu: Clean up and improve advanced settings dialogues (#7802)
Improvements:
1. Formspec size and description box are calculated last
2. Width and height are now adjustable per setting type
3. Error message (dialogdata.error_message) shortens the description field and is placed below
4. Add more spacing for larger fonts
5. More comments and extensible by setting different height and width values
2022-05-21 16:16:22 +02:00
paramat 959a4b979b
Settingtypes.txt: Various language improvements, document stable mapgens (#7801) 2022-05-21 16:16:22 +02:00
paramat 8c0937caee
Advanced settings tree menu: Resize, fix clipped values (#7790) 2022-05-21 16:16:22 +02:00
paramat 62f9d15714
Advanced settings menu: Centre setting edit box (#7778) 2022-05-21 16:16:21 +02:00
paramat 931b3b4c14
Settingtypes.txt: Limit comments to 90 columns to fix clipped lines (#7777) 2022-05-21 16:16:21 +02:00
paramat 974e0febcf
Add a warning to the 'chunksize' setting (#7775)
Several users have been causing problems by increasing this value.
2022-05-21 16:16:20 +02:00
SmallJoker ac46613f9c
Add core.remove_detached_inventory (#7684)
Breaks backwards compatibility for good
Bump protocol version
2022-05-21 16:16:20 +02:00
paramat 1dba8b8933
Various grammar improvements (#7769)
In builtin//pkgmgr.lua, README.md and settingtypes.txt.
Based on 2 pull requests by comradekingu.
2022-05-21 16:16:19 +02:00
SmallJoker 19e83f39db
Remove settings properly (#7676) 2022-05-21 16:16:19 +02:00
numzero f7c4228ac0
Software inventorycube (#7651)
Fixes missing/upside-down images on Android.
2022-05-21 16:16:19 +02:00
paramat 39398b9ed6
Builtin//misc_helpers: Various fixes (#7737)
Remove unused variable 'seplen'.
Fix 'cparam2'->'param2'.
Do not initialise variable 'p' twice.
2022-05-21 16:16:18 +02:00
SmallJoker faeb4bbc5f
Menu content tab: Fix clipped description and missing depends (#7703) 2022-05-21 16:16:18 +02:00
tenplus1 9d010c2c66
get_node_drops: Make empty drop return empty table (#7592)
This stops get_node_drops from returning an empty string when using drop = "" and instead returns the supposed empty table instead {}
2022-05-21 16:16:17 +02:00
paramat 2d06c7f22c
Content tab: Fix clipped text in texture pack button (#7667)
Wider buttons to not clip 'Disable Texture Pack' text when using a
small game window (1024x600, the default).
2022-05-21 16:16:17 +02:00
HybridDog a269d45a3b
World config: Add modpack descriptions and remove dependencies there (#7397)
* Allow adding descriptions to modpacks using description.txt
* Use a proper multiline formspec element: textarea
2022-05-21 16:16:16 +02:00
paramat 2e92f0f02b
Mgv5: Change tunnel parameters to those of other mapgens (#7641)
Make tunnels wider and use the noise parameters of most other mapgens.
All other underground features are already identical to all other
non-mgv6 mapgens, this final change modernises and improves the tunnels.
2022-05-21 16:16:16 +02:00
zeuner a4b8ce3f7a
Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)
adds `entity_independent_selectionbox` to minetest.features
2022-05-21 16:16:15 +02:00
Ben Deutsch c5318d9e1a
Replace auth.txt with SQLite auth database (#7279)
* Replace auth.txt with SQLite auth database
2022-05-21 16:16:15 +02:00
texmex a96e24cb15
Make the primary, flow-advancing action the right-most (#7594) 2022-05-21 16:16:14 +02:00
SmallJoker 46ef9c91d0
Settings: Fix indents, chat_message_*. Update translations (#7580) 2022-05-21 16:16:14 +02:00
numzero e996c3af5f
Disable shaders GUI on unsupported drivers (#7563)
* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable
2022-05-21 16:16:13 +02:00
HybridDog 279c7eab3d
Update mip mapping and textarea documentation (#7315)
* Fix textarea formspec documentation
The label is shown and the background isn't
* Document the missing gamma correction when generating mip maps
* Remove duplicate text (such as size parameter descriptions)
2022-05-21 16:16:13 +02:00
paramat f8d2210c59
CSM: Disallow exploitable clientside mod functions by default (#7547) 2022-05-21 16:16:12 +02:00
paramat ad60c303bd
Mgvalleys: Make river depth variation and humidity drop optional (#7532)
Add 2 new mapgen flags to make river depth variation and humidity drop
with altitude independently optional, instead of both being enabled by
the 'humid rivers' flag.

Simplify and clarify related code by removing a low priority
optimisation regarding 't_heat'.
Remove unnecessary optimisation bools and use spflags directly instead.
Improve and fix documentation in settingtypes.txt.
A few minor code cleanups.
2022-05-21 16:16:11 +02:00
SmallJoker c08b05bb36
Builtin: Replace deprecated function calls (#7561) 2022-05-21 16:16:09 +02:00
ANAND 7e76781495
Check if player exists on use of /privs (#7554)
* /privs: Check if player exists
2022-05-21 16:16:09 +02:00
lhofhansl af894f5421
Adjust some settings to modern environments and networks. (#7549) 2022-05-21 16:16:09 +02:00
srfqi b5d31c5953
Android: Add 'aux' button (#7477)
Add 'aux' button.
Use joystick to trigger 'aux' button when forward and out of main circle, by enabling
'virtual_joystick_triggers_aux' setting.
2022-05-21 16:16:08 +02:00
SmallJoker 1c0eb83cc3
core.spawn_falling_node: Keep metadata (#7476) 2022-05-21 16:16:08 +02:00
ANAND a66fee83c3
Builtin/../misc.lua: Replace minetest. with core., improve codestyle (#7540) 2022-05-21 16:16:07 +02:00
SmallJoker cb6d408a48
Make the server status message customizable (#7357)
Remove now redundant setting show_statusline_on_connect
Improve documentation of `minetest.get_server_status`
2022-05-21 16:16:07 +02:00
ANAND 8409b62388
Log usage of /pulverize (#7503) 2022-05-21 16:16:06 +02:00
paramat 04a7c23585
Mgvalleys: Fix 'mgvalleys_spflags' setting name (#7495) 2022-05-21 16:16:06 +02:00
SmallJoker 35b6de3595
Rename CSM flavours to restrictions
& Satisfy LINT
2022-05-21 16:16:06 +02:00
sfan5 f1b3fd2295
Remove misleading documentation about IPv6 server announcing 2022-05-21 16:16:05 +02:00
rubenwardy 76fc93c91d
Update to new ContentDB API 2022-05-21 16:16:05 +02:00
nOOb3167 4f676807e2
Make os.tempfolder work correctly for MinGW & MSVC (#7443) 2022-05-21 16:16:04 +02:00
ANAND 3c4bc11a38
Add hasprivs chat command (#7336)
Require 'basic_privs' priv
Only the online players are listed.
2022-05-21 16:16:04 +02:00
SmallJoker 5213469460
Fix the /shutdown command (#7431) 2022-05-21 16:16:03 +02:00
numzero 5a20e6cdcf
Fix typo (GH#7421) 2022-05-21 16:16:03 +02:00
paramat 7ae3ad01b8
Mapgen flags: Add 'biomes' global mapgen flag (#7355)
Previously the only way to disable biomes was to 'clear' the registered
biomes in a mod, but this method causes large amounts of unnecessary
processing:
1. Calculation of 4 2D noises.
2. Looping through all nodes of a mapchunk replacing nodes with identical
nodes.
The new flag disables those operations.
2022-05-21 16:16:03 +02:00
tukkek 734995c515
Stop autoforward on BACKWARD key-press (#7417) 2022-05-21 16:16:02 +02:00
Loïc Blot 1a7574e9cd
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
2022-05-21 16:16:02 +02:00
nOOb3167 738d5dfd3b
Fix builtin lua function os.tempfolder (#7368)
* Fix builtin lua function os.tempfolder
2022-05-21 16:16:01 +02:00
otdav33 f2c786edb3
Add crossview support (#7361) 2022-05-21 16:16:01 +02:00
HybridDog 0a09472aee
Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2022-05-21 16:16:00 +02:00
HybridDog 7eb2fe1d58
Fix missing ignore textures (#7326) 2022-05-21 16:16:00 +02:00
Wuzzy 6b6dce5f89
Small usage changes for air and ignore items (#7305)
* Remove “you hacker you!” from node description
* Prevent placement of ignore in builtin
* Prevent giving of "unknown" explicitly
2022-05-21 16:15:59 +02:00
rubenwardy 595d45bc57
Add screenshots to online content browser 2022-05-21 16:15:59 +02:00