Noobot9k
(Noobot9k)
September 15, 2022, 11:47pm
#1
Reproduction Steps
local message = "You have been banned for 0 day(s): \n \n BEING SMELLY \n \n If you think this was by mistake please contact the developer."
game.Players.YOU:Kick(message)
Expected Behavior
I don’t have any screenshots of what it would look like before but it was something like this:
A red banner at the top of the screen with the following message:
You were kicked from this experience: You have been banned for 0 day(s):
BEING SMELLY
If you think this was by mistake please contact the developer.
Actual Behavior
With the new kick message, it no longer respects new lines which can make visual clarity slightly more difficult.
Workaround
None. Not even adding multiple spaces to pad out parts of the message works.
Issue Area: Engine
Issue Type: Display
Impact: Low
Frequency: Constantly
3 Likes
334901766
(Chr)
September 16, 2022, 1:29am
#2
Currently the new line feature on the kick message does not work and this is not a bug, roblox has disabled it.
1 Like
Aeplexi
(Aep)
September 16, 2022, 2:10am
#3
It used to work, but Roblox disabled it and I don’t know.
Arsenal used to use the same thing for it’s kick ban messages, but it doesn’t work now.
I’m banned from arsenal, and this is what it looks like
The n\ isn’t working.
1 Like
334901766
(Chr)
September 16, 2022, 2:12am
#4
It has been removed from the kick feature.
Here you can find the official post by Roblox staff:
This was recently changed intentionally to fix an exploit, so is expected behavior.
Any sequence of spaces and newlines is now collapsed into a single space character, and the length of kick messages is limited to 200 characters.
3 Likes
Noobot9k:
Workaround
One workaround you could do is make a custom GUI message and when you want to kick/ban them, parent it to their player and destroy their character. do not let them respawn, chat, move, etc. You can also add a Leave button at the bottom and if they press it, kick them from the game
2 Likes
334901766
(Chr)
September 16, 2022, 3:31am
#9
Those “Kicked” players would still be in the server defeating the purpose of the kick
1 Like
But it allows you to show them a kick message. By removing their ability to do anything, it essentially is the same as a kick, but the player remains in the server.
334901766
(Chr)
September 16, 2022, 3:33am
#11
What happens if a server is full and you want to kick a player to reserve a spot? Just an example.
In that case, kick them. In @Noobot9k ’s case, he wants to ban hackers and give them a message. I am not talking about reserving spots in servers.
334901766
(Chr)
September 16, 2022, 3:35am
#13
Exploiters can still cause problems if they are not kicked tho. They can use exploits to gain their chat and character back easily.
it’s very easy to prevent them from doing that. you just need to add some server-side checks
334901766
(Chr)
September 16, 2022, 3:36am
#15
Chat is client-sided and client side checks could be easily removed with exploits.
334901766
(Chr)
September 16, 2022, 3:37am
#16
I think new line isn’t really required in this situation and keep it as it is.
With server side checks, you can prevent that. Please stop arguing with me.
334901766
(Chr)
September 16, 2022, 3:41am
#18
How can a server side check for client side scripts? You cant.
334901766
(Chr)
September 16, 2022, 3:42am
#19
I can remove the client check using exploits and the server wouldn’t have known because the changes are not replicated to the server
OnceCrowned
(OnceCrowned)
September 16, 2022, 3:47am
#20
334901766:
Chat is client-sided
You could remove their ability to chat on the server!
1 Like
334901766
(Chr)
September 16, 2022, 3:48am
#21
Whoa! They can enable the chat using exploits and the server can’t tell if it is enabled or not because exploits only effect the client
Say goodbye to Network Ownership also you really like to argue, dont you?
1 Like