| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
(#7055)
Delay was converted from the param string and not the delay value, thus never using the actual given delay value when used in combination with other string values in the param, in this case reconnect and the shutdown messsage.
|
|
|
| |
minetest.override_item still passes to core
|
|
|
| |
Called when a client fails to supply the correct password for the account it's attempting to login as.
|
| |
|
|
|
|
|
|
| |
Prevents falling node entities entering the ignore at a world edge and
resting on unloaded nodes 16 nodes below, unreachable, undiggable and
still being processed by 'on step' because they don't revert to nodes.
|
|
|
|
|
|
| |
* Add minetest.is_player
* First use for is_player
|
| |
|
|
|
| |
Replace minetest.* with core.* in 1 file
|
|
|
|
|
|
|
|
|
|
| |
* Make chat command help slightly more accurate
* Slightly more accurate privilege help
* Simplify command/priv help
* More command/priv help tweaks
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Add player deletion method to auth handler (fixes #6653)
* Support iterating over the auth database
There was no way to do this previously and a recent commit
broke doing this the "hacky" way by accessing `core.auth_table`.
|
|
|
|
| |
If you give modders the ability to do something, they will...
|
|
|
|
|
| |
Change default mode to 'quick' as 'full' can lock up a server for a
long time.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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`
|
|
|
|
|
|
| |
* Do not grant all privs to admins.
* Default give_to_admin to give_to_singleplayer
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
* Customizeable maximal breath for players
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
Default enabled for no change in default behaviour.
Remove 'zoom' privilege.
|
| |
|
| |
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
| |
New code structure
Use setting movement_gravity
Reset age on merge
Set merge radius to 1.0m
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
error log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* Fix and improve params consistency
* Move parenthesis requirement to descriptions
|
|
|
|
|
|
| |
* [CSM] Add function to get player privileges + move related help functions to common
* Added @Zeno- const
|
| |
|
|
|
| |
Allow players to clear their own inventory or that of another player with /clearinv command. server privilege is required to clear another player's inventory, no privileges are required to clear your own inventory.'
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Player data to Database
Add player data into databases (SQLite3 & PG only)
PostgreSQL & SQLite: better POO Design for databases
Add --migrate-players argument to server + deprecation warning
* Remove players directory if empty
|
| |
|
| |
|