Releases: S-S-X/mineunit
Releases · S-S-X/mineunit
v0.8.0
Mineunit v0.8.0 mostly bug fix release, change log since v0.7.0:
- Add load_area no-op function (#90).
- Internal: Fix self tests (#89).
- Fix core.get_player_ip(name) (#87).
- Update execute_on_joinplayer (#87).
- Fix ABM match_nodes helper (#87).
- AuthEntry constructor assertion details (#87).
https://hub.docker.com/r/mineunit/mineunit
Docker image DIGEST:sha256:ad17cc9cec27136a2ec8c36494bafdbcb0c6075d2e05ace36f6acc6ad99f8275 for this release, ATOW :latest.
v0.7.0
Behavior, generic and test execution
- Allowed constant configurable get_us_time step.
- Added
minetest.global_exists(key)
. - Added
mineunit:has_module(name)
method to test if module is loaded. - Added no-op registrations for ore, biome and decoration.
- Also added many other no-op methods.
- Fixed ABM handling performance.
- Configuration file minetest.cfg is not loaded anymore, warnings removed. Use minetest.conf instead.
- Added engine version support, default engine settings and engine features table.
- Added
assert.has_item(inv|pos|player, list, [slot,] expected)
andassert.is_coordinate(thing)
. - Return the result when loading fixtures.
Player / server related
- Added player online status,
minetest.get_connected_players()
returns only players who joined. - Added
Player:do_place(pointed_thing_or_pos)
,Player:do_use
,Player:do_place_from_above
- Added
Player:do_set_wieldslot(invslot)
,Player:do_reset()
and fixed empty pointed_thing. - Added
Player:hud_get_flags()
andPlayer:hud_set_flags(...)
. - Added
Player:set_eye_offset(...)
#75 - Added core.get_player_information #77
- Added
mineunit:get_players()
to get all registered players. - Fixed core.check_player_privilege bug when used without server module.
- Authentication API added.
- Added base entity API, mostly no-op.
- True placement for Player (#47) …
- Improved Player:do_metadata_inventory_put #57
- Fixed player look direction bug.
- Handling write_json/parse_json errors.
Metadata and inventories
- Added default player inventory.
- Added InvRef:contains_item, fix InvRef:get_lists.
- Fix MetaDataRef:to_table, add NodeMetaRef:to_table (#42) …
- Merge pull request #32 from S-S-X/player-inventory …
- Hidden InvList methods and made it behave like table (#25) …
- Fixed NodeMetaRef:to_table #60
- Fixed ItemStack:set_wear() #58
- Fixed other problems with ItemStack, NodeMetaRef, MetaDataRef and InvRef
- Other additions for ItemStack, NodeMetaRef, MetaDataRef and InvRef
World API
- Added incomplete find_nodes_in_area implementation.
- Layout allows areas, just give it list of 2 coordinates instead of single point.
- Added dig_node and remove_node.
- Added
world.set_default_node(node)
, unset locations will return this node instead ofignore
-node. - Added
world.get_node
for better behavior management, functions similar tocore.get_node_or_nil
. - Added
core.get_name_from_content_id
. - Added fake core.compare_block_status.
- Better node alias support.
- Fixed possible world.clear problem. #52
- Non-mapgen VoxelManip functionality. #82
Other
- Added demo spec, can be installed with command
mineunit --demo
. - Updated README.md documentation.
- Updated rockspec.
- Released Docker container image.
v0.6.0
Mineunit v0.6.0 many bugs fixed and new features added.
Change log since v0.5.0:
- Add chat command handling.
- Integrate spy.on patch to not cause side effects when registering spy.
- Add core write_json & parse_json functions.
- Fixed Minetest configuration file name.
- Fix metadata values set to nil or empty string. Actual result was field value
false
, after fix field is properly removed. - Basic on_join/on_leave callbacks.
- Add Player:get_pos / Player:set_pos methods.
- Add Player:do_metadata_inventory_take and Player:do_metadata_inventory_put methods.
- mineunit:protect allows Player as argument.
- Clear metadata on set_node and remove_node. Handle on_destruct/after_destruct callbacks for set_node/remove_node.
- Handle and execute ABMs, partial support (no support for chance, y_min, y_max or catch_up fields).
- InvList type changed from userdata to table.
v0.5.0
- Added more functionality to Player API.
- Added working globalstep, minetest.after and nodetimers.
- Allow changing current mod name temporarily for mod integration/interaction tests.
- Changed type to return userdata for core object instances. Added special mineunit types for objects.
- Implemented of ItemStack and metadata functionality.
- Added -q / --quiet command line option to turn off print from test targets and reduce mineunit messages.
- Added basic chat, crafting and http API.
- Minetest get_content_id function.
- Minetest mkdir no-op method.
- Privilege registration and core privileges from minetest.
Mineunit v0.4.0
Recommended version for Mineunit-actions v0.2
Added command line runner.
Fixed reporting issues, duplicates and missing files.
Many other feature updates and bug fixes, see commit history for detailed information.