MTSM/README.md

91 lines
2.6 KiB
Markdown
Raw Permalink Normal View History

2021-02-01 20:41:40 -08:00
MTSM - Minetest Server Manager
----
MTSM is a simple server manager with a tiny bash event manager. It requires
no setup (except setting properties in the config.php script) and the start
of MTSM's event manager. MTSM is released under the CC-BY-SA v3.0 unported.
MTSM was written by Chris Dorman, 2021 <https://cddo.cc>
Requirements
----
* PHP5+
* Minetest, Multicraft, Etc, installed and configured for your system.
* Super user privleges for the event manager unless executed as the web server user.
Setup
----
* Modify config.php to your needs
* Visit page to generate mtm_db for flat file user database
* Execute MTSM backend as SU: sudo ./start-mtsm start
2021-02-01 20:48:57 -08:00
* Copy a fresh minetest source tree (compiled with binaries) into servers/ in a .tgz archive
2021-02-01 20:47:21 -08:00
**(THIS MUST BE DONE FOR THE SCRIPT TO COPY AND START A FRESH SERVER)**
2021-02-01 20:41:40 -08:00
2021-02-01 20:50:08 -08:00
##### minetest-current.tgz archive tree
2021-02-01 20:41:40 -08:00
* servers/minetest-current.tgz
- bin/
- minetestserver
- games/
2021-02-01 20:48:57 -08:00
- devtest
- minetest_game
- ...
2021-02-01 20:41:40 -08:00
and so on!
2021-02-01 20:50:08 -08:00
##### multicraft.tgz archive tree
2021-02-01 20:41:40 -08:00
* servers/multicraft.tgz
- bin/
- multicraftserver
- games/
2021-02-01 20:48:57 -08:00
- devtest
- minetest_game
- ...
2021-02-01 20:41:40 -08:00
and so on!
* These archives are uncompressed by the event manager when each user creates a server.
This step is crucial for an operating MTSM installation.
Mods / Gamepacks
----
* Mods are sharable to all users, and should be copied to mods/ within the MTSM tree.
* Minetest games should be installed, as a directory, in games/ within the MTSM tree.
ChangeLog
----
2021-02-03 15:44:37 -08:00
2/03/2021 - v1.2
* Can disable and enable registration tokens for register in config.php
2/03/2021 - v1.1b
* CSS clean-up
* Admin configuration of server max slots -> config.php
2021-02-03 14:21:00 -08:00
2/03/2021 - v1.1
* Allow for user mods directory
* Add user mod upload portal (ZIP only)
* CSS tweaks
* Bugfixes in mod reset function
2021-02-03 14:21:00 -08:00
* Server creation cleanup
* Administration panel for registration token generation and server management
* User / Server delete functions *TO BE ADDED*
2021-02-01 20:41:40 -08:00
2/01/2021 - v1.0
* Working PHP front end with user registeration and login
* Working bash back end for server management
* Allows each user to create 1 server, minetest-current or multicraft
* Allows user ability to start / stop server
* configure minetest.conf (to an extent)
* PHP email validation via filter_var
* Allows users the ability to enable mods, via mod menu.
* User viewable logfile, minetest.conf, and soon world.mt
Licensing
----
MTSM (C) Chris Dorman, 2021. MTSM is released under CC-BY-SA version 3.0 and is
2021-02-01 20:47:21 -08:00
released as is. Any games / mods that are within the MTSM file tree are subject
to their own license agreements and are in no way mine!