morelore:server-pack
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| morelore:server-pack [2023/03/28 06:10] – AnarchyOf5 | morelore:server-pack [2023/09/30 15:46] (current) – Updated header notice AnarchyOf5 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== How to install MoreLore on your own Server ====== | ====== How to install MoreLore on your own Server ====== | ||
| + | |||
| + | **Update: 30 Sep 2023 - THIS PAGE IS OUTDATED (But still works). A proper server pack is available now on Curseforge. Due to some mod resolution issues, and having to open a new support ticket every time, I do not update the server pack for every release.** | ||
| Eventually I plan to release a proper server pack, but until then use these steps to get up and running. | Eventually I plan to release a proper server pack, but until then use these steps to get up and running. | ||
| Line 8: | Line 10: | ||
| - Download the latest Fabric server installer following the instructions [[https:// | - Download the latest Fabric server installer following the instructions [[https:// | ||
| - Fortunately, | - Fortunately, | ||
| - | - Copy over the following folders from the client instance, into your newly created server | + | - Copy over the following folders from the client instance, into your newly created server | 
| * mods | * mods | ||
| * config | * config | ||
| Line 15: | Line 17: | ||
| ===== Start and Stop Script ===== | ===== Start and Stop Script ===== | ||
| - | To automate the process of starting and stopping your server, you can use the following bash code as a reference. If you are hosting this on a dedicated Linux server, I recommend using either screen or tmux to run the game in the background. This will allow you to ssh in and attach/detch from the current game session without the server shutting down. | + | To automate the process of starting and stopping your server, you can use the following bash code as a reference. If you are hosting this on a dedicated Linux server, I recommend using either | 
| #!/bin/sh | #!/bin/sh | ||
| Line 23: | Line 25: | ||
| ALLOCATED_RAM=" | ALLOCATED_RAM=" | ||
| JVM_ARGUMENTS=" | JVM_ARGUMENTS=" | ||
| - | FABRIC_VERSION=" | ||
| - | FABRIC_LOADER_VERSION=" | ||
| - | MC_VERSION=" | ||
| FILE=" | FILE=" | ||
|  |  | ||
| Line 33: | Line 32: | ||
| echo " | echo " | ||
| - | You can save this code into a file named whatever you want with a .sh extension. Make sure to make it executable using the following command (on Linux) | + | You can save this code into a file named whatever you want with a '' | 
| chmod +x YourFile.sh | chmod +x YourFile.sh | ||
| + |  | ||
| + | After that you are good to go! Keep in mind that if you run this is an active shell, the server will stop when you close that shell/ | ||
| + | |||
| + | screen -S Minecraft | ||
| + | |||
| + | This will create a new session called minecraft and pop you in it. Then run shell script to start the server: | ||
| + | |||
| + | ./ | ||
| + | |||
| + | As it boots up, you can " | ||
| + | |||
| + | To return to you session in the future you can use: | ||
| + | |||
| + | screen -R Minecraft | ||
| + | |||
| + | If everything goes smooth, you should now have a working MoreLore server to play on with your friends! Congratulations. | ||
morelore/server-pack.1679983801.txt.gz · Last modified:  by AnarchyOf5
                
                