@vk

Options 2 and 3) require the user to opt-in to allowing your mod to escape the mod security sandbox. Look for minetest.request_insecure_environment()

The IRC mod shows an example of how to include and use sockets.

For Option 3, you'd do this:

local ie = minetest.require_insecure_environment()
ie.os.execute("path/to/program")

Explaining this is on my to do list for the book!

2/2

@vk Minetest has mod security on by default, which prevents mods from being able to access the file system and computer outside of Minetest.

However, there are ways around this:

1. Communicating with HTTP
2. Communicating with sockets
3. Running the program

Option 1) requires the user to opt-in to allowing your mod to make HTTP requests. Look for minetest.request_http_api()

1/2

The book is also not just about modding, but about making games with Minetest too. Suggestions for an alternative title would be welcome!

The Minetest Modding Book has been a work in progress for many years, but is soon approaching its first edition.

Feedback would be awesome. Where is it lacking? What does it do well? What did you find hard to understand?

rubenwardy.com/minetest_moddin

The perfect complement to a weather mod - Rain Barrels and Wells by Piezo_ allows your ecofriendly build to collect rainwater content.minetest.net/packages/

Today is the World Meteorological Day 2019! Celebrate by trying out one of our many weather mods, for example snowdrift by paramat

content.minetest.net/packages/

You can make the world hexagonal instead of cube-based using a cool new proof-of-concept mod by modder @GreenXenith@twitter.com

content.minetest.net/packages/

RT @tokyoedtech@twitter.com

My students are doing an art and tech mashup lesson making a Book Wall of their favorite characters in the app. We've got characters from , , among others.

πŸ¦πŸ”—: twitter.com/tokyoedtech/status

RT @BirgitLachner

Startrek meets ... bastele gerade an einem Mod, den ich "StarTest" nenne. Angefangen habe ich mit dem Boden. Farbwahl nach dem Design von TNG, glaube ich .

πŸ¦πŸ”—: twitter.com/BirgitLachner/stat

Minetest boosted
Minetest boosted
Minetest boosted
Minetest boosted

@Nezchan two things are happening soon: we're releasing 0.5.0, but also changing the versioning system, by removing the leading zero. So what would have been 0.5.0 is now 5.0.0. It's a change from 0.MAJOR.MINOR.PATCH to MAJOR.MINOR.PATCH

Minetest 5.0.0 release candidate 2 is now available! forum.minetest.net/viewtopic.p

This is likely to be the final release candidate before the full release. There are now no known big issues remaining to be fixed

Minetest boosted

It's easy to make blueprints using the editor, Goxel.

Here's a short tour of the features I've been using:
codeforyendor.xyz/goxel-for-bl

Show more
Fosstodon

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.