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

sergeysova picture sergeysova  路  3Comments

dktapps picture dktapps  路  3Comments

SuperAdam47 picture SuperAdam47  路  3Comments

arfianadam picture arfianadam  路  3Comments

jasonwynn10 picture jasonwynn10  路  3Comments