Zurueck zum Dashboard

Hypixel AFK

Minecraft-AFK-Projekt fuer Hypixel SkyBlock auf dem Hetzner VPS.

Normalmodus: 1x1x24, VNC aus, fuer Dauerbetrieb.

Debugmodus: 1280x720x24, VNC an, fuer kurze Fehlersuche.

Automatik: Join Hypixel, SkyBlock starten, nach Hause warpen, Shift 5 Sekunden halten, Rejoin zufaellig alle 3-5 Stunden.

Starten

/opt/manage.sh start 9 normal

Debug starten

/opt/manage.sh stop 9
/opt/manage.sh start 9 debug

VNC fuer Debug

ssh -L 5900:127.0.0.1:5900 root@178.104.178.113

Danach im VNC-Client mit 127.0.0.1:5900 verbinden. Das Passwort liegt auf dem VPS in /root/projects/minecraft-afk/vnc-password.txt.

Stoppen

/opt/manage.sh stop 9

Logs

tail -f /root/projects/minecraft-afk/logs/current.log
tail -f /root/projects/minecraft-afk/logs/autocommands.log
tail -f /root/projects/minecraft-afk/logs/rejoin.log
tail -f /root/projects/minecraft-afk/logs/cron.log

Random Rejoin

Cron ruft alle 5 Minuten den Scheduler auf. Der Scheduler fuehrt nur dann einen Rejoin aus, wenn der gespeicherte zufaellige Zeitpunkt erreicht ist.

date -Is -d @$(cat /root/projects/minecraft-afk/run/next_rejoin_at)

Status pruefen

ps -C java -C Xvfb -C x11vnc -o pid,comm,pcpu,pmem,rss --sort=-pcpu
DISPLAY=:99 xwininfo -root -tree
DISPLAY=:99 xdpyinfo | sed -n '/screen #0:/,/depth of root/p'

Performance