자료실

마인크래프트 서버 버킷 열기

지난사람 2021. 1. 13. 19:03
--포트포워딩 필요: 공유기 설정 안들어가지면 랜선으로 연결해보셈
--방화벽 고급 설정-인바운드 규칙-포트 설정
 
 
 
 
 
 
 
1. 런처에서 server.jar 다운로드
2. 
메모장에 java -Xmx2048M -Xms2048M -jar server.jar nogui 입력후 저장. BAT파일로 확장자를 바꾼다.
 
 xmx:최대 메모리 Xms:모르겠음.
 

Java options

 

더보기
Java options should be added before the -jar part on the command line.
 
The most important thing for a minecraft server is memory to run with. Use the -Xmx switch to change how much memory it's allowed to use. -Xmx2G is usually more than enough.
-Xms (the initial memory size) does not affect performance in the long run, but you can set it too. -Xms512M should be enough.
 
A "soft max heap size" (-XX:SoftMaxHeapSize=1G) is available for some versions of JRE. 
The JRE will try to only use that much memory, but will go over to a maximum of -Xmx if necessary. 
If you are running many things on your server, this may be useful.
 
Use -d64 if your server is on a 64-bit Solaris system using 64-bit Java.
 
 
 

3. server.jar 파일을 실행해서 생기는 eula 파일의 false를 true로 바꿔준다.

 

4. 서버 호스트도 다른 사람과 똑같이 멀티에서 자신의 아이피 써서 들어간다.