aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* builtin/../register.lua: Abort make_wrap_deregistration if param is invalidANAND2019-05-04
|
* Add sounds for falling and attached nodes (#7719)DS2019-03-05
| | | | | | | | | * 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
* Statbars: Reduce initial update intervalSmallJoker2019-02-12
| | | | | | Centralize HUD updating in update_builtin_statbars. Fixes race condition in 'on joinplayer' that causes stat bar bugs. Correctly scales stat bars to custom max values set by mods.
* Remove incorrect feature flag (#8086)Paul Ouellette2019-01-19
| | | And document the versions that introduced the features.
* Add eat sound (#7956)Wuzzy2018-12-10
|
* Rename hasprivs command to haspriv (#7860)Ezhh2018-11-13
|
* Add core.remove_detached_inventory (#7684)SmallJoker2018-10-10
| | | | Breaks backwards compatibility for good Bump protocol version
* get_node_drops: Make empty drop return empty table (#7592)tenplus12018-08-30
| | | This stops get_node_drops from returning an empty string when using drop = "" and instead returns the supposed empty table instead {}
* Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)zeuner2018-08-12
| | | adds `entity_independent_selectionbox` to minetest.features
* Replace auth.txt with SQLite auth database (#7279)Ben Deutsch2018-08-05
| | | | * Replace auth.txt with SQLite auth database
* Builtin: Replace deprecated function calls (#7561)SmallJoker2018-07-17
|
* Check if player exists on use of /privs (#7554)ClobberXD2018-07-16
| | | | * /privs: Check if player exists
* core.spawn_falling_node: Keep metadata (#7476)SmallJoker2018-07-09
|
* Builtin/../misc.lua: Replace minetest. with core., improve codestyle (#7540)ClobberXD2018-07-09
|
* Make the server status message customizable (#7357)SmallJoker2018-07-01
| | | | Remove now redundant setting show_statusline_on_connect Improve documentation of `minetest.get_server_status`
* Log usage of /pulverize (#7503)Anand S2018-06-30
|
* Add hasprivs chat command (#7336)Anand S2018-06-12
| | | | | Require 'basic_privs' priv Only the online players are listed.
* Fix the /shutdown command (#7431)SmallJoker2018-06-11
|
* Fix typo (GH#7421)number Zero2018-06-10
|
* CSM/SSM: Add on_mods_loaded callback (#7411)Loïc Blot2018-06-06
| | | | | * CSM/SSM: Add on_mods_loaded callback
* Fix missing ignore textures (#7326)you2018-05-20
|
* Small usage changes for air and ignore items (#7305)Wuzzy2018-05-20
| | | | | | * Remove “you hacker you!” from node description * Prevent placement of ignore in builtin * Prevent giving of "unknown" explicitly
* Builtin auth handler: Speed up file writing (#7252)SmallJoker2018-04-19
|
* Add player inventory callbacksSmallJoker2018-04-02
|
* ObjectRef: Add add_velocity() (#3208)you2018-03-31
| | | | Allow changing the velocity of objects relatively to their current velocity
* core.rotate_node: Do not trigger after_place_node (#6900)SmallJoker2018-03-29
|
* Optional alpha channel support for entitiesstujones112018-03-29
|
* Add reasons to on_dieplayer and on_hpchangeAndrew Ward2018-03-28
|
* is_area_protected: Rename from intersects_protection (#7073)SmallJoker2018-02-25
| | | | | | * is_area_protected: Rename from intersects_protection Return first protected position Clarify docs: Mods may overwrite the function
* /shutdown can't do countdown when using reconnect and/or shutdown message ↵dopik2018-02-19
| | | | | (#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.
* Fix "Ignoring CONTENT_IGNORE redefinition" warning (#4393)you2018-02-18
| | | minetest.override_item still passes to core
* Add `on_auth_fail` callback (#7039)red-0012018-02-15
| | | Called when a client fails to supply the correct password for the account it's attempting to login as.
* Item entity: Delete in 'ignore' nodesparamat2018-02-13
|
* Falling.lua: Delete falling node entities on contact with 'ignore'paramat2018-02-13
| | | | | | 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 (#7013)you2018-02-05
| | | | | | * Add minetest.is_player * First use for is_player
* Item entity: Prevent motion in ignore nodesparamat2018-02-05
|
* Add kill chat command (#6992)Wuzzy2018-02-04
| | | Replace minetest.* with core.* in 1 file
* Make chat command + privilege help slightly more accurate (#6964)Wuzzy2018-01-29
| | | | | | | | | | * Make chat command help slightly more accurate * Slightly more accurate privilege help * Simplify command/priv help * More command/priv help tweaks
* Intersects_protection(): Move from Minetest Game to builtin (#6952)Paramat2018-01-23
| | | | | 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 callback to preserve node metadata as item metadataashtrayoz2017-12-14
|
* Builtin: Fix handle_node_drops crash with nil diggerSmallJoker2017-12-12
|
* Auth handler: Player deletion & Iterator (#6741)sfan52017-12-06
| | | | | | | | * 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`.
* Make core.auth_table private and structure builtin/auth.luasfan52017-12-01
| | | | If you give modders the ability to do something, they will...
* Clearobjects: Send progress messages to terminal using actionstreamparamat2017-11-24
| | | | | Change default mode to 'quick' as 'full' can lock up a server for a long time.
* Sounds: Add falling node soundsAuke Kok2017-11-14
| | | | | | | | 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.
* Make use of safe file writing in auth handler (fixes #6576)sfan52017-11-08
|
* Item entities: Enable item collision detection for sudden movementDTA72017-11-06
|
* 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`
* 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
* 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