EssentialsX

EssentialsX

2M Downloads

/msg cannot send to players with username shorter than 2 characters

Opened this issue ยท 0 comments

commented

I'm not too sure why this is included at all, but perhaps there is a reason for the restriction. There are minecraft users that have 1 character long names (eg: 8 and g. There are also offline servers that support any length username.

If there is reason for this limit, could there be an option to change it added to oconfig? If not, could it just be remove completely?

if (args.length < 2 || args[0].trim().length() < 2 || args[1].trim().isEmpty()) {