Pocketmine-mp: No way to set custom username rules

Created on 24 Jun 2017  路  1Comment  路  Source: pmmp/PocketMine-MP

Issue

There is currently no way to set custom username rules. Player::isValidUserName uses hard coded rules no one can edit. It would be great if there was a way server owners can use a API to implement there own username policies without having to override the function by extending the player class. Or, possibly changing the $this->close to kick, so owners can cancel PlayerKickEvent.

API To Do

Most helpful comment

I think it's necessary since My korean kids don't understand english.
PMMP only allows english username witout space.
But, PMMP doesn't allow korean user username even without space.

>All comments

I think it's necessary since My korean kids don't understand english.
PMMP only allows english username witout space.
But, PMMP doesn't allow korean user username even without space.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenygamer picture kenygamer  路  92Comments

matcracker picture matcracker  路  17Comments

Muqsit picture Muqsit  路  23Comments

MisteFr picture MisteFr  路  18Comments

mal0ne-23 picture mal0ne-23  路  17Comments