TerminatorPlus icon indicating copy to clipboard operation
TerminatorPlus copied to clipboard

[Suggestion]: Allow spaces in names

Open HyperSkys opened this issue 4 years ago • 12 comments

Feature Request

Allow spaces in names by putting name with a '-' will put a space in it so you can put words in it and you can change the skin with the other command anyways

Alternative Options

There isn't really much I can do at that time

Additional Context

No response

Checklist

  • [X] My suggestion does not match any existing suggestions on this repo

HyperSkys avatar Oct 14 '21 15:10 HyperSkys

It would cause some compatibility issues with the server and existing plugins, so it's probably not worth it

Legit4K avatar Oct 15 '21 10:10 Legit4K

well what kind of plugins though? i think its possible

Badbird5907 avatar Oct 15 '21 13:10 Badbird5907

It would cause some compatibility issues with the server and existing plugins, so it's probably not worth it

No it wouldn't you can do it in citizens and nobody has seen any problems with it

HyperSkys avatar Oct 15 '21 16:10 HyperSkys

It would cause some compatibility issues with the server and existing plugins, so it's probably not worth it

as well it would actually be a nice feature to add, would allow youtubers and content creators to have cool names, so if someone wanted to name the bot The Epic Destroyer Man it would 100% look pretty cool and as well you'd be able to add color codes to the name making the names colorful and as well

HyperSkys avatar Oct 15 '21 16:10 HyperSkys

Doesn't citizens use packets instead of players? Or if they actually somehow spawn the PlayerEntity maybe they remove spaces in the name and modify the name using packets (if thats even possible)

ConnorCogged avatar Jan 04 '22 23:01 ConnorCogged

I think its possible to modify it with packets https://wiki.vg/Protocol#Player_Info

Badbird5907 avatar Jan 06 '22 02:01 Badbird5907

Doesn't citizens use packets instead of players? Or if they actually somehow spawn the PlayerEntity maybe they remove spaces in the name and modify the name using packets (if thats even possible)

Citizens build a string based on the arguments that you provide and sets the NPC's display name to the return value of StringBuilderObeject#toString()

HyperSkys avatar Jan 06 '22 05:01 HyperSkys

Obeject

nice.

Badbird5907 avatar Jan 22 '22 19:01 Badbird5907

Obeject

nice.

lol

HyperSkys avatar Jan 24 '22 22:01 HyperSkys

turns out that citizens actually sets the name to something like CIT-<random str>, then spawns a hologram above their name (see https://github.com/Badbird-5907/AntiCombatLog/issues/6)

Badbird5907 avatar Jan 25 '22 16:01 Badbird5907

I have a litte workaround for you:

1. /team add something
2. Goto minecraftjson.com and type "/team modify something prefix %s" in the command field. Here you can type the bot name with spaces.
3. Now create the bot if you haven't done yet.
4. /team join something @e[name=botname]

Example:

1. /team add something
2. /team modify something prefix {"text":"This is a ","color":"#00FF91"}
3. I also added a color for the bot name with /team modify something color red
4. /bot create bot
5. /team join something @e[name=botname]

notstevy avatar Jul 01 '22 19:07 notstevy

We could implement something like that with the teams object in the bukkit API but that isn't of highest priority yet.

Badbird5907 avatar Jul 02 '22 14:07 Badbird5907