Browse Source

improve text formatting

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
bbebbfb4c4
  1. 180
      README.md
  2. 18
      webapp/views/pages/modding.ejs

180
README.md

@ -1,32 +1,55 @@
# EnlivenMinetest
1. ENLIVEN is a subgame for minetest with the goals of providing immersion and lessons for humanity.
(see also webapp/README.md)
2. The [ENLIVEN project](https://github.com/poikilos/EnlivenMinetest) (aka EnlivenMinetest) includes tools for installing and maintaining the server and client for internet and LAN use, and now includes the mtanalyze (formerly minetest-chunkymap) project which includes many tools including chunkymap. The server and client are just the Minetest server and client repackaged (or just web installer scripts in the case of the server), and therefore 100% compatible with other copies of Minetest server and client of the same version--including using other subgames, which client will download from servers as usual.
1. ENLIVEN is a subgame for minetest with the goals of providing
immersion and lessons for humanity.
2. The [ENLIVEN project](https://github.com/poikilos/EnlivenMinetest)
(aka EnlivenMinetest) includes tools for installing and maintaining
the server and client for internet and LAN use, and now includes the
mtanalyze (formerly minetest-chunkymap) project which includes many
tools including chunkymap. The server and client are just the
Minetest server and client repackaged (or just web installer scripts
in the case of the server), and therefore 100% compatible with other
copies of Minetest server and client of the same version--including
using other subgames, which client will download from servers as
usual.
## Primary Features of EnlivenMinetest Project
* Server installer for ENLIVEN on linux server (Ubuntu so far)
* Client installer for single-player ENLIVEN, including on Windows
* automatically install Minetest client with a usable minetest.conf (for improved graphics)
* automatically install Minetest client with a usable minetest.conf (for
improved graphics)
## Primary Features of ENLIVEN subgame
* birthstones, improved fork: <https://github.com/poikilos/birthstones>
(also part of Bucket_Game)
### Planned Features
There are several improvements I may implement in new or existing mods. See the [Issues](https://github.com/poikilos/EnlivenMinetest/issues) section of the GitHub project.
* See also install-ENLIVEN-minetest_game.sh for a full list of mods from the old ENLIVEN that will probably be added to the new ENLIVEN which is based on Bucket_Game (many of the mods are already present because they are in Bucket_Game!)
* Issues not yet added to the GitHub project's Issues are at [Minetest Kanboard](https://poikilos.dyndns.org/kanboard/?controller=BoardViewController&action=readonly&token=f214530d2f1294d90279631ce66b2e8b8569c6f15faf3773086476158bc8)
There are several improvements I may implement in new or existing mods.
See the [Issues](https://github.com/poikilos/EnlivenMinetest/issues)
section of the GitHub project.
* See also install-ENLIVEN-minetest_game.sh for a full list of mods from
the old ENLIVEN that will probably be added to the new ENLIVEN which
is based on Bucket_Game (many of the mods are already present because
they are in Bucket_Game!)
* Issues not yet added to the GitHub project's Issues are at
[Minetest Kanboard](https://poikilos.dyndns.org/kanboard/?controller=BoardViewController&action=readonly&token=f214530d2f1294d90279631ce66b2e8b8569c6f15faf3773086476158bc8)
#### node.js server manager
* capture log
* do not store redundant messages such as hunger_ng debug mode (see <https://pastebin.com/dDBg40vf>) or saving playereffects
* detect restarts (even if no 'separator'--see <https://pastebin.com/Jv3vkhFA>)
* do not store redundant messages such as hunger_ng debug mode (see
<https://pastebin.com/dDBg40vf>) or saving playereffects
* detect restarts (even if no 'separator'--see
<https://pastebin.com/Jv3vkhFA>)
## DISCLAIMERS
* Please read the Sources and License section of this document. You must agree to the licenses mentioned in order to use and copy this program.
* Please read the Sources and License section of this document. You must
agree to the licenses mentioned in order to use and copy this program.
* Any script code related to redis has not been successfully tested.
* Make sure you convert your world to leveldb and place it in your server's worlds folder $HOME/.minetest/worlds/, as this set of scripts hasn't been tested with any other database nor worlds folder location, and nightly backup scripts cater to leveldb.
* Make sure you convert your world to leveldb and place it in your
server's worlds folder $HOME/.minetest/worlds/, as this set of scripts
hasn't been tested with any other database nor worlds folder location,
and nightly backup scripts cater to leveldb.
## Install
@ -65,20 +88,30 @@ bash install-mts.sh --client
## How to use
### Windows Client
Click "Releases" for the installer, which has the singleplayer and multiplayer client for ENLIVEN.
* alternate download site is [expertmultimedia.com](http://www.expertmultimedia.com/index.php?htmlref=tutoring.html "Expert Multimedia")
* you must install to C:\Games\ENLIVEN (or possibly other path without spaces, as long as you don't move the launcher) in order for ENLIVEN to run.
ENLIVEN subgame is a subgame of Minetest
The ENLIVEN client runs Minetest, which can be used as a client for other Minetest servers with different subgames, but has these advantages:
Click "Releases" for the installer, which has the singleplayer and
multiplayer client for ENLIVEN.
* alternate download site is
[expertmultimedia.com](http://www.expertmultimedia.com/index.php?htmlref=tutoring.html "Expert Multimedia")
* you must install to C:\Games\ENLIVEN (or possibly other path without
spaces, as long as you don't move the launcher) in order for ENLIVEN
to run.
#### ENLIVEN subgame is a subgame of Minetest
The ENLIVEN client runs Minetest, which can be used as a client for
other Minetest servers with different subgames, but has these
advantages:
* is able to be installed automatically
* comes with high quality OpenGL graphics settings in minetest.conf for modern computers
* is able to run ENLIVEN subgame in singleplayer mode without any changes
* comes with high quality OpenGL graphics settings in minetest.conf for
modern computers
* is able to run ENLIVEN subgame in singleplayer mode without any
changes
### Server
#### Install on linux server
* open terminal (root NOT recommended)
* IF you are a decicated server, first run `touch $HOME/i_am_dedicated_minetest_server` then run:
* IF you are a decicated server, first run
`touch $HOME/i_am_dedicated_minetest_server` then run:
```bash
if [ ! -d webapp ]; then
echo "ERROR: this will only work from the extracted or cloned EnlivenMinetest directory"
@ -97,69 +130,115 @@ bash reset-minetest.sh
bash install-mts.sh
# If you want to install the client, you should instead run
# bash install-mts.sh --client
# (defaults to client if $HOME/Desktop/org.minetest.minetest.desktop file exists)
# (defaults to client if $HOME/Desktop/org.minetest.minetest.desktop
# file exists)
```
### mtanalyze
(not maintained, kept for legacy use--if you fix anything, please submit a pull request)
* mtanalyze is a set of tools including a live map for Minetest servers and singleplayer if using LevelDB
(not maintained, kept for legacy use--if you fix anything, please submit
a pull request)
* mtanalyze is a set of tools including a live map for Minetest servers
and singleplayer if using LevelDB
* for more information, see README.md in mtanalyze folder.
#### Customization
* The farming plugin is overwritten with farming redo in the minetest_game based install script. Bucket_Game already has something good, apparently based on farming redo.
* Before using anything in the change_world_name_manually_first and subfolders, change the values of the variables in the folder name as noted before using.
* If you have a dedicated server, the value server_dedicated = false should be changed to server_dedicated = true in your SERVER's minetest.conf in the ENLIVEN folder that the installer creates.
* The farming plugin is overwritten with farming redo in the
minetest_game based install script. Bucket_Game already has something
good, apparently based on farming redo.
* Before using anything in the change_world_name_manually_first and
subfolders, change the values of the variables in the folder name as
noted before using.
* If you have a dedicated server, the value server_dedicated = false
should be changed to server_dedicated = true in your SERVER's
minetest.conf in the ENLIVEN folder that the installer creates.
#### Security and Performance Notes
* The root installer script (deprecated) changes owner and group for ENLIVEN's world.mt and world.mt.1st if present to $USER
* The included minetest.conf recommended for your clients (patches/subgame/minetest.*client.conf) includes the line enable_local_map_saving = true, which will cache the world locally on their machines. You can feel free to change that according to your preference.
* The root installer script (deprecated) changes owner and group for
ENLIVEN's world.mt and world.mt.1st if present to $USER
* The included minetest.conf recommended for your clients
(patches/subgame/minetest.*client.conf) includes the line
`enable_local_map_saving = true`, which will cache the world locally
on their machines. You can feel free to change that according to your
preference.
## Naming conventions:
* The filenames without extensions
* The abbreviation "mts" is for minetest server-specific scripts or variables
* du-show-big searches your hard drive for big files, in case $HOME/.minetest/debug.txt fills your drive, or a log rotate utility fails (going into a cumulative copy loop, or not) in regard to debug.txt, filling up your drive
* The network folder contains some stuff for networks, which is usually only useful for using Minetest in a network cafe or school.
(The purpose of minetest_userscript_localENLIVEN_server_only.vbs is to make sure the user only uses the hostname localENLIVEN, however this only changes the default, and cannot be enforced in any way as far as I know without recompiling the client.)
* The abbreviation "mts" is for minetest server-specific scripts or
variables
* du-show-big searches your hard drive for big files, in case
$HOME/.minetest/debug.txt fills your drive, or a log rotate utility
fails (going into a cumulative copy loop, or not) in regard to
debug.txt, filling up your drive
* The network folder contains some stuff for networks, which is usually
only useful for using Minetest in a network cafe or school.
(The purpose of minetest_userscript_localENLIVEN_server_only.vbs is to
make sure the user only uses the hostname localENLIVEN, however this
only changes the default, and cannot be enforced in any way as far as
I know without recompiling the client.)
## Changes
see CHANGELOG.md
## Network Deployment
* minetest_userscript_localENLIVEN_server_only.vbs logon script in network folder only works if you make C:\games\Minetest writable to Authenticated Users, in order for minetest.conf to be created via this script (feel free to offer comments on how to avoid making the entire Minetest folder writable to Authenticated Users [I haven't experimented with which of the files and subfolders can be set to do not inherit])
* minetest_userscript_localENLIVEN_server_only.vbs does not read the recommended minetest.conf, so it echoes the lines manually. Ideally it would analyze the recommended one and change the server settings.
* minetest_userscript_localENLIVEN_server_only.vbs logon script in
network folder only works if you make C:\games\Minetest writable to
Authenticated Users, in order for minetest.conf to be created via this
script (feel free to offer comments on how to avoid making the entire
Minetest folder writable to Authenticated Users [I haven't
experimented with which of the files and subfolders can be set to do
not inherit])
* minetest_userscript_localENLIVEN_server_only.vbs does not read the
recommended minetest.conf, so it echoes the lines manually. Ideally it
would analyze the recommended one and change the server settings.
## Building
* scripts and sources for recreating ENLIVEN subgame are at the EnlivenMinetest project page: https://github.com/poikilos/EnlivenMinetest
Further steps needed to recreate:
* scripts and sources for recreating ENLIVEN subgame are at the
EnlivenMinetest project page:
https://github.com/poikilos/EnlivenMinetest
### Further steps needed to recreate:
* extract entire zip from sfan5
* run postinstall.bat
* change version number in C:\Users\Owner\Documents\GitHub\EnlivenMinetest\winclient\install ENLIVEN.iss
* change version number in C:\Users\Owner\Documents\GitHub\EnlivenMinetest\winclient\launcher-src\ENLIVEN.pro
* change version number in %USERPROFILE%\Documents\GitHub\EnlivenMinetest\winclient\install ENLIVEN.iss
* change version number in %USERPROFILE%\Documents\GitHub\EnlivenMinetest\winclient\launcher-src\ENLIVEN.pro
### additional notes
* The recommended minetest.conf for subgame, including for server, is in the ENLIVEN subgame folder (also available at [EnlivenMinetest on GitHub](https://github.com/poikilos/EnlivenMinetest)
* The recommended minetest.conf for subgame, including for server, is in
the ENLIVEN subgame folder (also available at [EnlivenMinetest on
GitHub](https://github.com/poikilos/EnlivenMinetest)
## Sources and License
Authors: poikilos (Jake Gustafson)
ENLIVEN project (aka EnlivenMinetest), including launcher (ENLIVEN application) and ENLIVEN subgame, is released under the LGPL v2.1 license (see LICENSE), except media which is released under the CC-BY-SA 3.0 license (see LICENSE). There are other exceptions to this license and authorship where specified below and in subfolders.
Source code is available at [https://github.com/poikilos/EnlivenMinetest](https://github.com/poikilos/EnlivenMinetest).
ENLIVEN project (aka EnlivenMinetest), including launcher (ENLIVEN
application) and ENLIVEN subgame, is released under the LGPL v2.1
license (see LICENSE), except media which is released under the CC BY-SA
3.0 license (see LICENSE). There are other exceptions to this license
and authorship where specified below and in subfolders.
Source code is available at
[https://github.com/poikilos/EnlivenMinetest](https://github.com/poikilos/EnlivenMinetest).
### Minetest
Minetest is included with releases--for Minetest license, please read README.txt in Minetest's doc folder which is provided in releases.
* Included build is sfan5's build from https://minetest.kitsunemimi.pw/builds
release: minetest-0.4.15-8729e7d-win64
Minetest is included with releases--for Minetest license, please read
README.txt in Minetest's doc folder which is provided in releases.
* Included build is sfan5's build from
https://minetest.kitsunemimi.pw/builds release:
minetest-0.4.15-8729e7d-win64
#### Windows Releases
##### Differences from sfan5's build
(changed by EnlivenMinetest project)
* removed Voxelgarden subgame
* added minetest.conf similar to the one generated by ENLIVEN scripts for schools vbscript, except with public servers enabled
* added files specific to ENLIVEN, including launcher (ENLIVEN application), ENLIVEN subgame (including optional child-friendly changes for schools), other files, and licenses of added files.
* added minetest.conf similar to the one generated by ENLIVEN scripts
for schools vbscript, except with public servers enabled
* added files specific to ENLIVEN, including launcher (ENLIVEN
application), ENLIVEN subgame (including optional child-friendly
changes for schools), other files, and licenses of added files.
### Qt
Qt 5.7.0 files are under the LGPLv3 unless required by licenses in qtlicenses folder.
Sources for Qt 5.7.0 are available via http://www.qt.io
The following files belong to Qt 5.7.0:
* Qt 5.7.0 files are under the LGPLv3 unless required by licenses in
qtlicenses folder.
* Sources for Qt 5.7.0 are available via http://www.qt.io
* The following files belong to Qt 5.7.0:
```
iconengines\*
imageformats\*
platforms\*
@ -175,6 +254,7 @@ Qt5Core.dll
Qt5Gui.dll
Qt5Svg.dll
Qt5Widgets.dll
```
## Developer Notes
@ -184,4 +264,6 @@ Qt5Widgets.dll
* program ~4m
### Regression Tests
* Use of input in python, where should never be used except in poikilos.py and minetestinfo.py for first-time setup or when interactive_enable is True
* Use of input in python, where should never be used except in
poikilos.py and minetestinfo.py for first-time setup or when
`interactive_enable` is `True`

18
webapp/views/pages/modding.ejs

@ -241,18 +241,18 @@ minetest.register_ore function).</p>
"creatures:chicken" not defined</samp></p>
<p>If you have the error above, you have removed a mod or customized a
creature so it has a different name.</p>
<p>To convert the mob to some other mob, try something like:</p>
<code>mobs:alias_mob("creatures:chicken", "codermobs:chicken")</code>
<p>If you have an unknown node (you see blocks in the game that say
<p>To convert the mob to some other mob, try something like:<br/>
<code>mobs:alias_mob("creatures:chicken", "codermobs:chicken")</code><br/>
If you have an unknown node (you see blocks in the game that say
"unknown node" on them), you may need an additional mod to support
your world. If you removed a mod on purpose or a node was renamed in a
later version (see nftools example below), you can use Minetest's
builtin alias function to make a mod to convert the nodes:
<code>minetest.register_alias("name", "convert_to")</code>
Example content for init.lua:
<code>minetest.register_alias("nftools:aquamarine_ore", "nftools:stone_with_turquoise")</code>
In that case, your depends.txt must contain one line:
<code>nftools</code>
builtin alias function to make a mod to convert the nodes:<br/>
<code>minetest.register_alias("name", "convert_to")</code><br/>
Example content for init.lua:<br/>
<code>minetest.register_alias("nftools:aquamarine_ore", "nftools:stone_with_turquoise")</code><br/>
In that case, your depends.txt must contain one line:<br/>
<code>nftools</code><br/>
</p>
<p>The alias function may be confusing: You are registering the alias
parameter 1 for parameter 2, which means that you are defining parameter

Loading…
Cancel
Save