Improved the KoTH Flag system (Added getFlagValue method).