minecraft
my directory location is /home/mysqli/server/ Failed to verify user name online-mode=true change to false in server.properties sudo useradd -r -m -U -d /opt/mysqli -s /bin/bash mysqli iptables -I INPUT -p tcp --dport 25565 --syn -j ACCEPT /etc/systemd/system vi minecraft.service systemctl start minecraft.service systemctl status minecraft.service [Unit] Description=Minecraft Server After=network.target [Service] User=mysqli Nice=1 KillMode=none SuccessExitStatus=0 1 ProtectHome=true ProtectSystem=full PrivateDevices=true NoNewPrivileges=true WorkingDirectory=/opt/minecraft/server ExecStart=/usr/bin/java -Xmx4024M -Xms4024M -jar server.jar nogui ExecStop=/opt/minecraft/tools/mcrcon/mcrcon -H 127.0.0.1 -P 25575 -p bumkailash stop [Install] WantedBy=multi-user.target Setup Instructions 1. Install Java The first step is to make sure that we have Java installed. Minecraft requires Java 1.8 or higher, so we must verify the installed version using java -version . [user@h...