Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
cb44b12a87
17
podklady.md
17
podklady.md
@ -4,11 +4,20 @@ sudo apt install openjdk-17-jre-headless neofetch btop screen wget curl vim grep
|
||||
groupadd minecraft
|
||||
useradd --system --shell /usr/sbin/nologin --home /opt/minecraft -g minecraft minecraf
|
||||
mkdir /opt/minecraft # it may exist
|
||||
cp Mods.zip Server-v1.2.1.zip /opt/minecraft/
|
||||
cp Mods.zip Forge-1.20.1.jar eula.txt server.properties run.sh /opt/
|
||||
mv Forge-1.20.1.jar minecraft/
|
||||
cd /opt/minecraft/
|
||||
7z x Server-v1.2.1.zip
|
||||
mv Mods.zip mods/
|
||||
7z x mods/Mods.zip -omods
|
||||
java -Xms512M -Xmx2048M -jar Forge-1.20.1.jar --installServer
|
||||
./run.sh
|
||||
rm eula.txt
|
||||
mv ../eula.txt .
|
||||
^C
|
||||
rm -rf world/
|
||||
rm server.properties
|
||||
mv ../server.properties .
|
||||
7z x ../Mods.zip -omods
|
||||
./run.sh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user