![]() 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 1.16.4 Forge not showing up in Minecraft Launcher - Support - General CurseForge - Minecraft CurseForge. 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. Forge for minecraft 1.16.4 not working - Support & Bug Reports - Forge Forums. `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. 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).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |