BanManager-WebUI icon indicating copy to clipboard operation
BanManager-WebUI copied to clipboard

Bedrock players can't appeal

Open bbugsco opened this issue 1 year ago • 0 comments

When connecting through Geyser/Floodgate as a bedrock player, players have a period '.' before their name ex: '.bbugsco'

Issue is in line 117 server/routes/session.js if (!/^[a-z0-9_]{2,16}$/i.test(request.body.name)) return throwError(400, 'Invalid name')

to fix, replace with if (!/^[a-z0-9_.]{2,16}$/i.test(request.body.name)) return throwError(400, 'Invalid name')

Works for me after adding the '.'

bbugsco avatar Jan 10 '24 20:01 bbugsco