new horizons

This commit is contained in:
godot 2024-07-15 21:46:26 +02:00
parent d200f8562f
commit 66c5bd587a
3 changed files with 13 additions and 2 deletions

View File

@ -16,4 +16,6 @@ To switch user use:
# To be nice
- [x] do not hardcode soma variables
- [x] BASH script ???
- [x] BASH script
- [ ] manual set up of min/max RAM

View File

@ -80,7 +80,7 @@ java -Xms512M -Xmx2048M -jar Forge-1.20.1.jar --installServer
cd -
mv eula.txt server-icon.png server.properties run.sh /opt/minecraft/
mv eula.txt server-icon.png server.properties run.sh user_jm_args.txt /opt/minecraft/
mkdir /opt/minecraft/mods

9
user_jvm_args.txt Normal file
View File

@ -0,0 +1,9 @@
# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M
# A good default for a modded server is 4GB.
# Uncomment the next line to set it.
# -Xmx4G