summaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* 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
* Customizeable max breath for players (#6411)SmallJoker2017-09-15
| | | | * Customizeable maximal breath for players
* Item drop: Tune to land exactly 2 nodes away with level view (#6410)Paramat2017-09-13
|
* Allow the join/leave message to be overridden by mods.red-0012017-09-11
|
* Fix dropped item look (#6370)you2017-09-11
| | | | | | | | | | | | | | * 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
* Fix crash on revocation of removed privilegerubenwardy2017-09-08
|
* Prevent /spawnentity from spawning unknown entity (#6388)Wuzzy2017-09-08
|
* Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot2017-09-04
| | | | | | | | | * 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
* Remove nodeupdate and nodeupdate_singleRui2017-08-30
|
* Zoom: Move enabling zoom to a new player object propertyparamat2017-08-30
| | | | | Default enabled for no change in default behaviour. Remove 'zoom' privilege.
* Fix mistake when calling on_priv_grant/revoke, and document them (#6341)rubenwardy2017-08-29
|
* Lua API: Add function to deregister single biomes (#5445)zeuner2017-08-27
|
* Add on_grant and on_revoke callbacks (#4713)rubenwardy2017-08-26
| | | | | | * 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
* Check item_drop amount clientside (#6242)rubenwardy2017-08-26
|
* Builtin item: Tidy up (#4370)SmallJoker2017-08-24
| | | | | | 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 (#6287)SmallJoker2017-08-23
| | | | | | | | | | | * 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
* Make dropped items colorableDániel Juhász2017-08-14
|
* Add slippery group for nodes (players/items slide)Wuzzy2017-08-13
|
* Abort if static_spawnpoint is an invalid setting instead of just giving an ↵Hybrid Dog2017-08-12
| | | | error log
* Create a filesystem abstraction layer for CSM and only allow accessing files ↵red-0012017-06-30
| | | | | | | | | | | | | | | | | | 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
* Helper methods for hardware colorization (#5870)Dániel Juhász2017-06-24
|