![]() ![]() In the following instructions, to edit a file with GNU nano, replace editor with nano. Install it with sudo apt install nano if you are using a Debian based distro. (GNU nano is an easy to use command-line text editor if you plan to edit the file from the terminal. In the /opt/mscs/server/forge-1.17.1 directory, edit run.sh. Ĭontinue below at Create a Server (1.17.1) Manual Because the directory contains the forge version (for example `1.17.1-37.1.1`), `*` is used as a wildcard. `sed -i "s|libraries|$(pwd)/libraries|g" libraries/net/minecraftforge/forge/*/unix_args.txt`: This adds the current path to all occurences of the word libraries in the `unix_args.txt` file. `sed -i "s|libraries|$(pwd)/libraries|g" run.sh`: This replaces with its full directory path in the `bash.sh` file. `sed -i &|g" run.sh`: This adds `-nogui ` in front of with `&` being the matched pattern. The forge-auto-installer.txt includes a loaderType variable for distinguishing. Forge and NeoForged Support: Now supports both Forge and NeoForged. FORGE Installation: Installs FORGE with guided installation in the console or with forge-auto-installer.txt. Sed -i "s|libraries| $( pwd ) /libraries|g" libraries/net/minecraftforge/forge/ */unix_args.txtĮxplanation of the sed commands - `sed -i run.sh`: This matches all occurences of that aren't followed by `"` and adds the current directory followed by a / to it (or rather, replaces the with an followed by the current directory). Automatic Start: Enables automatic server start with just two files since the CE22 update. Go to the Forge download site and select a version for your OS. ![]() Sed -i "s|libraries| $( pwd ) /libraries|g" run.sh Open the Minecraft Launcher and make sure that the ‘’Play’’ button has an arrow beside it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |