Go to file
ExeVirus 840c055fc3
Merge pull request #3 from AFCMS/setting
Do not show `Creative Mode`, `Enable Damage`, `Host Server` checkboxes with minetest 5.5-dev
2021-08-13 06:34:38 -04:00
.github/workflows add luacheck workflow 2021-07-19 23:25:29 +02:00
menu Version 1.0 2021-07-16 12:32:43 -04:00
mods/formspec_edit Update insecure error message to be more helpful 2021-07-20 17:09:30 -04:00
.editorconfig add some configuration files 2021-07-19 23:28:22 +02:00
.gitattributes add some configuration files 2021-07-19 23:28:22 +02:00
.gitignore allow to load a different file 2021-07-19 23:58:41 +02:00
.luacheckrc fix `.luacheckrc` 2021-07-20 00:54:58 +02:00
LICENSE Version 1.0 2021-07-16 12:32:43 -04:00
README.md Merge branch 'master' into globalstep 2021-07-20 17:01:30 -04:00
game.conf Do not show Creative Mode, Enable Damage, Host Server checkboxes with minetest 5.5-dev 2021-08-13 11:43:17 +02:00
minetest.conf Version 1.0 2021-07-16 12:32:43 -04:00
preview.png Version 1.0 2021-07-16 12:32:43 -04:00
settingtypes.txt mcl2 and mtg styling support 2021-07-20 00:48:51 +02:00

README.md

Formspec Editor

REALTIME formspec viewer/editor "game" for minetest

formspec editor preview

Getting Started

This mod needs access to an insecure environment in order to work.

Add formspec_edit to secure.trusted_mods in your minetest.conf file.

The file formspec.spec in your:

minetest_folder/games/formspec_editor/mods/formspec_edit

contains a formspec you can edit and see updates of in real time. (You can also specify a file location with the formspec_editor.file_path setting.) Simply add the game to MT, load up a level of Formspec Editor, and you will be greeted with the formspec.

  • To make edits, open the file in your editor of choice and make changes as you see fit. When you hit save, the formspec will auto-update. Best when used side by side.
  • To exit just hit or use a button_exit[] button. Both send the fields.quit message.
  • You can test with images if you want, adding a "textures" folder to the formspec_edit gamemod folder, otherwise images will default to random colors.
  • You can show the formspec with builtin, minetest_game or mineclone2 styling (see the formspec_editor.style setting)
  • You can change the refresh rate by changing the formspec_editor.update_time setting