NyaaCat/LockettePro

Users can't destory locks because invalid character in player name

Closed this issue · 4 comments

This is a name that can be a bug Butter#7550
When he using the plugin, a lock with below texts will created.

[私有]
Butter#7550#(uuid)

And after that, he can't doing anything because the uuid doesn't match
(All the above is my infer, if i saying sth wrong, please understand me)

Hello,

I have some question about that:

  • On which Server Software is your server running? [Spigot/Paper/....]
  • Is your server in offline-mode? [For example, cracked player can play on that server]

Best regards
joshi1999

I'm using Paper build 388 (1.18.2) for my server, and it's running in offline mode.

Ah, yes it's an invalid character in the name. The plugin checks for '#' and uses the part after '#' as uuid. You could change that and deploy it on your server. Also you could do a pullrequest, but I don't think it will be accepted because it is adressing a problem on invalid names, which aren't normaly possible ^^

thanks