Fuzss / strawstatues

Bring some life to your builds with player statues of your favorite Minecrafters!
https://www.curseforge.com/minecraft/mc-mods/straw-statues
Mozilla Public License 2.0
1 stars 3 forks source link

[Suggestion]: Remove copy/pasting text and limit statue names to only 16 characters on text entry #5

Closed Darkweaver66 closed 1 year ago

Darkweaver66 commented 1 year ago

Suggestion (Required)

I've been thinking about potential solutions to the open bug report regarding being kicked from server's when a statue with 17+ character names are present, which I added a report to after experiencing the crash here: https://github.com/Fuzss/strawstatues/issues/4#issuecomment-1307652706

Looking further into it, its unlikely to be "fixable" as its a behaviour from Vanilla minecraft, used to handle players joining with glitched usernames. However, is it possible to both limit the number of characters a player can type into the field, and also remove the ability to copy/paste into the name field? (on testing, it can happen with any number of characters if you paste a large string of text in). If so this would prevent players being able to use your mod to stop servers from being able to be logged in to, as it would implement a prevention proir to the name bug occuring.

Fuzss commented 1 year ago

Should be fixed in v4.0.4.