Required
Optional
Windows
- Download and unzip
Linux
- Open Terminal
- git clone https://github.com/MrFermz/server-rcon-api
- Edit config file in
config.json
{
"host": "Ip of minecraft server",
"port": 7000,
"rcon": {
"port": 25575,
"password": "password"
},
"query": {
"port": 25565
}
}
- Save
config.json
- Run
RUN.sh
orRUN.bat
if in Windows. - If success you can see
xxx.xx.xx.xx:7000 Ready.
- Have fun.
Windows
- โหลดมาแล้วแตกไฟล์
Linux
- เปิด Terminal
- git clone https://github.com/MrFermz/server-rcon-api
- แก้ไขไฟล์เพื่อตั้งค่าเซิฟเวอร์ตัวเอง
config.json
{
"host": "Ip ของเซิฟเวอร์ Minecraft",
"port": 7000,
"rcon": {
"port": 25575,
"password": "รหัส rcon"
},
"query": {
"port": 25565
}
}
- บันทึก
config.json
- รันไฟล์
RUN.sh
หรือRUN.bat
ถ้าใช้ Windows - ถ้าสำเร็จจะขึ้นข้อความว่า
xxx.xx.xx.xx:7000 Ready.
- เสร็จแล้ว