aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
AgeCommit message (Collapse)Author
2015-11-21Log static_spawn error only onceRui
2015-11-12Add the player name to dropped itemsRobert Zenz
The player name is now added in the field "dropped_by" on the created entity.
2015-11-07Improve LuaVoxelManip documentationkwolekr
2015-11-02Add callback parameter for core.emerge_area()kwolekr
2015-10-31minetest. to core.Rui914
2015-10-25Check if hitter has inventory when punching itemBlockMen
Fixes #3280
2015-10-22Add more ways to pass data to check_player_privsRobert Zenz
The callback can now be invoked with either the player object or name as the first parameter, and with either a table or a list of strings, like this: minetest.check_player_privs(player_name, { shout = true, fly = true }) minetest.check_player_privs(player_name, "shout", "fly") minetest.check_player_privs(player, { shout = true, fly = true }) minetest.check_player_privs(player, "shout", "fly")
2015-10-14Refactor loggingShadowNinja
- Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
2015-10-12Localize digprop_err functionRui
2015-10-04Added minetest.wallmounted_to_dirFernando Carmona Varo
2015-09-29Some map border related fixesest31
1. Check for entity addition success in spawn_item implementation 2. Check for success in item_drop callback, so that the player doesn't lose the item if they are outside bounds and try to drop it. 3. When existing player joins game, check that their position is inside map bounds. If not, set their position to the return value of findSpawnPos(). 4. Make findSpawnPos() respect the border 2 fixes a lua crash if a player drops an item outside map bounds. 3 fixes an assertion crash if a player leaves when being outside map bounds, and then rejoins.
2015-09-23Add /emergeblocks command and core.emerge_area() Lua APIkwolekr
2015-09-03Small fixes of minetest.has_featureRui
2015-09-01Minor tweaks __builtin:falling_nodeRui
2015-08-12SAPI: Track last executed mod and include in error messageskwolekr
2015-07-18Add ability to specify coordinates for /spawnentityMarcin
2015-06-14Remove reference to deprecated privilegeCraig Davison
2015-06-13Add minetest.register_on_player_hpchangeTeTpaAka
2015-06-06Decrease minetest.after globalstep lagHybridDog
* abort if theres no active timer * only reduce the timer.time of all timers when its necessary * move updating timers_to_add into a seperate function
2015-06-02Nicer time setting loggingest31
Now logs ACTION[ServerThread]: player sets time to 6:03 instead of ACTION[ServerThread]: player sets time to 6:3
2015-05-16Added hour:minute format to time commandLeMagnesium
* The time command now accepts parameters in the form <hour>:<minute>, and if invoked with no parameters returns the current time in said format.
2015-05-15Add minetest.register_on_punchplayerBrandon
2015-05-15Don't crash if an item gets dropped into unloaded spacetenplus1
Items dropped into unloaded map space will crash game so here's a fix...
2015-05-15Item entity merging refactorest31
Don't ident too much, and add a comment.
2015-05-12Add code to support raillike group namesNovatux
2015-04-26Fix minetest.clear_* creating new LOCAL table instead of clearing the ↵Tomas Brod
existing one. On calling clear_redistered_biomes the registered_biomes table is cleared by creating a new empty table, but the pointer is not updated to point to the new one. So after calling more register_biome, the registered_biome table always contains 0 items, which is an error. Instead, the table is cleared by removing all its items so the pointer (minetest.registered_*) remains valid.
2015-04-05Add reason to kicked log message and use present tenseest31
2015-03-05Radius parameter for /deleteblocks hereSmallJoker
2015-02-27Add /setpassword and /clearpassword loggingest31
2015-02-18Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot
reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
2015-02-16Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy
2015-02-08Hud: Modify Y-positioning of health/breath starbars to prevent overlapping ↵kwolekr
with Hotbar
2015-01-27Prevent null concatenation when /deleteblocks is provided an incorrect formatkwolekr
2015-01-15Simplify deleteblocks chat command argument parsingkwolekr
Add optional core.pos_to_string decimal place rounding Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2015-01-15Add ability to delete MapBlocks from mapkwolekr
Also add a Lua API and chatcommand for this
2015-01-13builtin: Unify register wrapper functions and wrap clear_registered_* ↵kwolekr
functions too
2015-01-11Remove builtin_biome.lua from builtin and add simple biome minimalparamat
2015-01-05Add registered_ores and registered_decorationsShadowNinja
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-12-18Temporarily set default biome in builtinkwolekr
This should probably be removed when minetest_game has proper biomes. If I hear "the whole map is just stone!" again after this, I am going to detonate.
2014-12-04Make dropped items larger and rotate fasterCalinou
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Fix some undeclared global variablesCraig Davison
2014-11-19Add strict moduleShadowNinja
Also fix leaking globals found by it.
2014-11-14Improved VoxelArea variable locality, thus performanceWouters Dorian
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-08Add last_login field to auth.txtRyan Newell
Also shortens some related code and adds more parameters to string.split.
2014-10-07Add a better error message when trying to teleport another player without ↵LeMagnesium
bring privileges
2014-09-28Use round if falling node is misplacedSmallJoker
Fixes: http://i.imgur.com/arAWw1i.png (middle-right)
2014-08-24Fix retval of entity.get_staticdata beeing lost while profiling is enabledsapier
2014-08-22Remove buildable_to nodes without dropping item when replaced by a falling nodeCasimir
2014-08-19Mod profiling supportsapier
Config settings: profiling = true/false (gather statistics) detailed_profiling = true/false (break mod times to callbacks) Chat commands: save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)