827 Commits

Author SHA1 Message Date
luk3yx
916dba380f Bugfixes 2019-03-13 18:22:43 +13:00
luk3yx
f108624989 Enable the password manager by default. 2019-03-13 18:20:28 +13:00
luk3yx
78d2a584a1 Make the password manager faster to respond
• Don't load the "Join Game" tab again before continuing to connect.
2019-03-13 18:05:39 +13:00
luk3yx
e5864b6caf Add button to disable the password manager. 2019-03-13 17:51:45 +13:00
luk3yx
c5db4466b4 Add .saved_passwords to the gitignore. 2019-03-13 17:24:03 +13:00
luk3yx
3c37fabf4b Add a (rudimentary) password manager. 2019-03-13 17:06:07 +13:00
luk3yx
1b2a6cde3c Add chatcommand aliases
• /hasprivs is now an alias for /haspriv.
 • /tp is now an alias for /teleport.
2019-03-13 15:36:56 +13:00
Ezhh
66aeaff750 Rename hasprivs command to haspriv (#7860) 2019-03-13 15:25:01 +13:00
tenplus1
a7f6fb4ef0 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 {}
2019-03-13 15:24:20 +13:00
SmallJoker
b20bb5717c Make the server status message customizable (#7357)
Remove now redundant setting show_statusline_on_connect
Improve documentation of `minetest.get_server_status`
2019-03-13 15:02:44 +13:00
Anand S
bf27f17b1c Add hasprivs chat command (#7336)
Require 'basic_privs' priv
Only the online players are listed.
2019-03-13 15:00:13 +13:00
SmallJoker
19f6ec9450 Fix the /shutdown command (#7431) 2019-03-13 15:00:03 +13:00
number Zero
31a79083a3 Fix typo (GH#7421) 2019-03-13 14:59:49 +13:00
Loïc Blot
9071062448 CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
2019-03-13 14:59:09 +13:00
ClobberXD
e3dcdbad3a Check if player exists on use of /privs (#7554)
* /privs: Check if player exists
2019-03-13 14:53:40 +13:00
Paramat
74f64c1c73 Vertical biome blend: Tune PRNG seed for finer detail (#7329) 2019-03-13 14:46:13 +13:00
luk3yx
55b566f3c2 Append default formspec theme in CSMs. 2019-03-13 08:38:25 +13:00
SmallJoker
47b883b4b9 is_area_protected: Rename from intersects_protection (#7073)
* is_area_protected: Rename from intersects_protection
Return first protected position
Clarify docs: Mods may overwrite the function
2019-03-12 15:36:57 +13:00
Paramat
7fb7a79f8d Intersects_protection(): Move from Minetest Game to builtin (#6952)
A useful function that applies 'core.is_protected()' to a 3D lattice of
points evenly spaced throughout a defined volume, with a parameter for
the maximum spacing of points.
2019-03-12 15:36:34 +13:00
red-001
6b3d44e5c5 Allow the join/leave message to be overridden by mods. 2019-03-12 15:33:25 +13:00
luk3yx
0cee3e3c3a Allow main menu music to be disabled. 2019-03-12 13:40:16 +13:00
HybridDog
0eaf6f7b54 World config: Make depends easier to read (#7396)
* Do not always show every depends textfieds

When there are no dependencies, it does not longer show an empty list.

* Adjust the list height to avoid a scrollbar when possible

* change minimum height and no dependencies message

* Do not get depends for modpacks
2019-03-08 08:11:10 +13:00
luk3yx
7ffdd430bb Set pause_on_lost_focus to true by default. 2019-03-06 15:44:51 +13:00
rubenwardy
397a7e1dd1 Add check to pause game on lost window focus 2019-03-06 15:42:07 +13:00
luk3yx
8f3251799d Fix compilation error 2019-03-06 14:57:10 +13:00
HybridDog
ad9f2fdca4 Add math.factorial (#8298) 2019-03-06 14:28:06 +13:00
DS
ad846371eb Add sounds for falling and attached nodes (#7719)
* Add sounds for falling and attached nodes

The sound specified in `node_definition.sounds.fall` is used.
When a falling node is spawned at a position or an attached node drops, the sound is played at this position.

* allow all sorts of soundspecs
2019-03-06 14:26:26 +13:00
ashtrayoz
35f2bcf9d4 Add callback to preserve node metadata as item metadata 2019-03-06 14:26:17 +13:00
SmallJoker
2cf9d39184 core.spawn_falling_node: Keep metadata (#7476) 2019-03-06 14:24:05 +13:00
zaoqi
5bc6b0f331 Add minetest.spawn_falling_node(pos) (#5339)
* Add minetest.spawn_falling_node(pos)

* lua_api.txt: Add minetest.spawn_falling_node(pos)

* Update minetest.spawn_falling_node(pos)
2019-03-06 14:23:56 +13:00
Auke Kok
27b33013b0 Sounds: Add falling node sounds
Falling nodes should make a sound. This can only be done here,
so for simplicity we just call the sound_play() here with the node
place sound. We ignore any gain value in the sound spec since a
falling node should be loud, so the 1.0 default gain makes sense
here.
2019-03-06 14:22:12 +13:00
SmallJoker
65c3fc3c9b Builtin: Replace deprecated function calls (#7561) 2019-03-06 14:21:39 +13:00
rubenwardy
f53b9d7ee9 Hide uninstall package button on unmodifiable paths (#8255) 2019-03-06 14:19:37 +13:00
SmallJoker
1f2263062c Menu content tab: Fix clipped description and missing depends (#7703) 2019-03-06 14:19:25 +13:00
Paramat
8d722fed10 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).
2019-03-06 14:19:10 +13:00
luk3yx
8f2943204f Change the credits URL to https://edgy1.net/mt4 2019-02-22 11:32:33 +13:00
rubenwardy
0b6a7a14ea Content store: ignore _game in game names in ID generation
Fixes #8269
2019-02-22 11:12:19 +13:00
Paul Ouellette
18931c0df9 Update gamebar on tab enter (#8192) 2019-02-21 14:52:28 +13:00
rubenwardy
29a4b1f97a Fix games not updating on deletion
As reported by @random-geek
2019-02-19 08:14:33 +13:00
Paul Ouellette
e92a4b1b36 Fix content store crash (#8244) 2019-02-19 08:14:24 +13:00
luk3yx
26ef53aa04 Fix menu images when RUN_IN_PLACE is false.
• This is a hacky workaround and should be replaced with a more permanent fix later.
2019-02-16 20:03:26 +13:00
luk3yx
2f382ddee2 Bugfixes
• Fix more compilation errors.
 • Hacky workarounds to get content.minetest.net to send a 0.4-compatible mod list.
   · Send the maximum protocol version of 0 (instead of 33) to work around a bug(?) on content.minetest.net.
2019-02-16 17:34:26 +13:00
Paul Ouellette
f3dfce02e9 Fix pkgmgr game install with RUN_IN_PLACE=0 (#8113) 2019-02-16 16:23:49 +13:00
luk3yx
3743dac163 Fix another git cherry-pick conflict 2019-02-16 16:04:06 +13:00
rubenwardy
4a596638b7 Fix rename modpack dialog not appearing to take affect 2019-02-16 16:00:59 +13:00
rubenwardy
3e3ed681d5 pkgmgr: Fix games list not being updated after game install
Fixes #8074
2019-02-16 15:58:58 +13:00
Paul Ouellette
ff1b37fa5a 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.
2019-02-16 15:57:39 +13:00
luk3yx
d2ab8c7d16 Grammar improvements
d6f2a1c4b8
2019-02-16 15:56:10 +13:00
you
3fc3dec353 Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2019-02-16 15:53:11 +13:00
adrido
697fe27668 Formspec: textarea with scrollbar improvements
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
2019-02-16 15:14:58 +13:00