new horizons
This commit is contained in:
parent
d200f8562f
commit
66c5bd587a
@ -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
|
||||
|
||||
|
||||
@ -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
9
user_jvm_args.txt
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user