Skip to content

Commit

Permalink
fix(verify-server): disable online mode (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobk999 authored Aug 21, 2024
1 parent e3c1880 commit 5088dcd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions apps/verify-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ const serverLogo = readFileSync(getLogoPath(UserLogo.DEFAULT, 64), {
});

const server = createServer({
host: config("verifyServer.hostIp"),
maxPlayers: 2,
motd: "§9§lStatsify Verification",
version: false,
errorHandler: (_, error) => {
"host": config("verifyServer.hostIp"),
"maxPlayers": 2,
"motd": "§9§lStatsify Verification",
"version": false,
"online-mode": false,
"errorHandler": (_, error) => {
logger.error(error);
},
beforePing: (response) => {
"beforePing": (response) => {
// Remove the version from the response
response.version.name = "";

Expand Down

0 comments on commit 5088dcd

Please sign in to comment.