aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* 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
|
* Automatic item and node colorization (#5640)Dániel Juhász2017-06-20
| | | | | | | | | | | | | | | | | * 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
* Improve chatcommand params consistency (#5985)Ezhh2017-06-15
| | | | | | * Fix and improve params consistency * Move parenthesis requirement to descriptions
* [CSM] Add function to get player privileges (#5933)red-0012017-06-07
| | | | | | * [CSM] Add function to get player privileges + move related help functions to common * Added @Zeno- const
* Remove “inf” argument from shutdown command help (#5880)Wuzzy2017-06-02
|
* Add /clearinv chat command (#4994)Elijah Duffy2017-05-20
| | | 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.'
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | 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 (#5475)Loïc Blot2017-04-23
| | | | | | | | | | | | * 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
* Add /fixlight chat commandDániel Juhász2017-04-22
|
* Implement delayed server shutdown with cancelation (#4664)Loïc Blot2017-04-15
|
* Hardware coloring for itemstacksDániel Juhász2017-04-08
| | | | | | | | | | Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
* Move chat command handling code from C++ to Lua (#5528)red-0012017-04-08
|