]> git.lizzy.rs Git - elidragon_v2.git/commitdiff
Merge pull request #1 from HimbeerserverDE/master
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>
Sat, 20 Feb 2021 10:25:59 +0000 (11:25 +0100)
committerGitHub <noreply@github.com>
Sat, 20 Feb 2021 10:25:59 +0000 (11:25 +0100)
Minor setup script fixes + tidy multiserver config

1  2 
README
scripts/setup.sh

diff --combined README
index 9a211cfe0f6aa4c5568d14607ae27cd6c8584668,38648dd822170d2a57d40a5b2b585aba4724d9c6..c33aec8ca71902ad8d6dc6b2526b99ac121388d5
--- 1/README
--- 2/README
+++ b/README
@@@ -14,12 -14,12 +14,12 @@@ Elidragon v2 runs on top of the latest 
  Quick guide for installation and running
  ----------------------------------------
  
 -ElidragonV2 requires a GNU/Linux system to run. The setup and update scripts rely on apt and sudo. Go 1.15 or higher is required.
 +Elidragon v2 requires a GNU/Linux system to run. The setup and update scripts rely on apt and sudo. Go 1.15 or higher is required.
  
  1. Create a new user using adduser and switch to it. The user should be able to use sudo.
  2. git clone this repository into that user's home directory and rename it to .minetest
  3. cd into .minetest
- 4. run scripts/setup.sh - this will automatically install minetest and screen. Also, it initialized the submodules - all external mods and MineClone2 are installed automatically. It will also install multiserver and mt rudp.
+ 4. run scripts/setup.sh - this will automatically install minetest and screen. Also, it initialized the submodules - all external mods and MineClone2 are installed automatically. It will also install multiserver and its dependencies.
  5. run scripts/start.sh - this will automatically start all worlds. If one world crashes / shuts down it will automatically restart.
  
  To update, run scripts/update.sh, to restart all worlds run scripts/restart.sh and to stop all worlds run scripts/stop.sh
@@@ -71,4 -71,4 +71,4 @@@ For any new mod an entry needs to be ad
  Adding new worlds
  -----------------
  
- If you want to add a new world, add a folder to the worlds/directory. Then, create .gitignore, world.mt and minetest.conf in that directory. .gitignore needs to contain * to ignore everything, and !minetest.conf and !world.mt to include these two. minetest.conf and world.mt need to be created and filled, world.mt needs to contain load_mod_xy = true / false for every added mod, see the Adding existing mods section for that. Also, world.mt needs to contain database settings for map, players and auth data and settings to enable / disable creative mode and damage. Each world also has it's own configuration file. The concept for worlds and mods is that some mods are for one world only e.g. the skyblock mod for the skyblock world, and some are shared. Make sure that each world has the mods enabled that the enabled mods depend on. Every world needs to have a port specified in the config file and needs to be added to the multiserver configuration. Only the lobby server is supposed to announce to the server list.
+ If you want to add a new world, add a folder to the worlds/directory. Then, create .gitignore, world.mt and minetest.conf in that directory. .gitignore needs to contain * to ignore everything, and !minetest.conf and !world.mt to include these two. minetest.conf and world.mt need to be created and filled, world.mt needs to contain load_mod_xy = true / false for every added mod, see the Adding existing mods section for that. Also, world.mt needs to contain database settings for map, players and auth data and settings to enable / disable creative mode and damage. Each world also has it's own configuration file. The concept for worlds and mods is that some mods are for one world only e.g. the skyblock mod for the skyblock world, and some are shared. Make sure that each world has the mods enabled that the enabled mods depend on. Every world needs to have a port specified in the config file and needs to be added to the multiserver configuration. Only the lobby server is supposed to announce to the server list and should announce the port multiserver is running on.
diff --combined scripts/setup.sh
index 5474a09c2685263aa7e087d9367f5f6f97f7be68,8c7aa2f51f17c72474012f18908780f9118eb231..37460abb5cad4d2c74c77fa1be95316121418e52
@@@ -10,8 -10,7 +10,7 @@@ sudo add-apt-repository ppa:minetestdev
  sudo apt-get update -y
  
  # Install minetest and screen
 -apt install minetest screen -y
 +sudo apt install minetest screen -y
  
- # Install multiserver & rudp
- go get github.com/anon/multiserver
+ # Install multiserver and its dependencies
  go get github.com/HimbeerserverDE/multiserver