| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
| |
* CSM/SSM: Add on_mods_loaded callback
|
| |
|
|
|
|
|
|
| |
* Remove “you hacker you!” from node description
* Prevent placement of ignore in builtin
* Prevent giving of "unknown" explicitly
|
| |
|
| |
|
|
|
|
| |
Allow changing the velocity of objects relatively to their current velocity
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* is_area_protected: Rename from intersects_protection
Return first protected position
Clarify docs: Mods may overwrite the function
|
|
|
|
|
| |
(#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
|
| |
|
| |
|