Running Grasscutter (some anime game server reimplementation) with Docker
- Install Docker + MongoDB
- Open Terminal and Enter:
docker run --rm -it -v resources:/home/Grasscutter/resources -p 22102:22102/udp -p 443:443/tcp siakbary/dockergc:dev-2.3 -d 'mongodb://2.0.0.100:27017' -b 'localhost' -f 'yes'
or (if you have compose)
"docker compose up" or "docker-compose up"
- Then type "account create yuuki" if there is a new response open the game.
- done 🙂
- Before starting, open game first and then logout if you have logged in before and then exit again.
- Install Fiddler then open Fiddler then click Tools -> Options -> HTTPS Print "Capture Https" and "Decrypt Https" then click "Actions" then click "Trues Root" then click yes if a popup appears.
- In Fiddler in "FiddlerScript" tab, copy script from https://pastebin.com/raw/rfhpS7U5 then click save.
- Login with user yuuki then password random/whatever then login already 🙂
Yes, Simple way is to just change localhost in file in pastebin to address server you want to connect to.
Server Game:
game.yuuki.me (German, 200ms)
jkt.game.yuuki.me (Jakarta, Indonesia 30-40ms)
* In order to access command, please contact me *
* You can login with random username and password, account data will be reset when datebase is reset,error,testing and sometimes server is automatically disconnected due to an error,bug,update. *
Func | Info |
---|---|
d | is ip address for your database server , note: use computer ip if you want to run on your own pc, no "localhost" because it is ip in container |
b | ip public server |
v | ip private server |
m | Welcome message for users |
f | re-download resources if you type "yes" this is useful if you already have a resources folder but there is latest update |
p | running proxy for android user (https://platinmods.com/threads/intercepting-https-traffic-from-apps-on-android-7-and-above-root.131373/) but need a patch from here Grasscutters/Grasscutter#105 |
Port | Info |
---|---|
80 | web server for http, useless so far |
443 | web server for https game only works on https so make sure you have ssl or proxy stuff |
22102 | game communication with udp line |
8080 | proxy mitmproxy |
Power by Grasscutter ❤️