This python script scans eth0 and grabs the IP then adds that IP to "external_ip" in the required config files in the DarkflameServer
This is built mainly for WSL2 users
Python 3.8
netifaces
Place the main.py file in DarkflameServer/build where your config files are located
authconfig.ini
chatconfig.ini
masterconfig.ini
main.py
Run this in the WSL2 terminal (make sure you are in your build directory)
python3 main.py