echo -e "\e[34;1m==>\e[39;1m Removing ${USER} system user and group... \e[0m"
if getent passwd ${USER} >/dev/null 2>&1; then
userdel ${USER} 2>/dev/null
fi
if getent group ${USER} >/dev/null 2>&1; then
groupdel ${USER}
fi
# Notifying the user of kept dirs
[ -d ${SERVER_ROOT} ] && chown root:root ${SERVER_ROOT} && echo -e "\e[34;1m==>\e[39;1m NOTE: Game saves in ${SERVER_ROOT} were kept on your system.\e[0m"
[ -d /etc/conf.d/minecraft ] && echo -e "\e[34;1m==>\e[39;1m NOTE: Your configuration file /etc/conf.d/minecraft was kept on your system.\e[0m"