Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Input from a nil player? [Solved]

Asked by
MrFlimsy 345 Moderation Voter
10 years ago

Edit: It turns out you can catch your own removing event through a LocalScript and listen for chat commands, even after the script is destroyed. +1 to HexC3D for the effort.

This is more of a hypothetical question, but is it possible for the server to receive input from a user whose player object has been removed, but still exists as a NetworkReplicator connected to the NetworkServer? My intention is to create a way for my moderators to join a server and monitor chat without anybody knowing they exist. Can this be done?

1 answer

Log in to vote
2
Answered by
HexC3D 830 Moderation Voter
10 years ago

It's not possible , you can't remove the Player object, because they will lose connection to the game. Though if you create a custom Leader board it's all possible.I've just tested what happens when you remove a player's object , yet again they unfortunately lose connection.

You can make a custom leader board so that every time such and such person joins there name is not shown in the custom leader board.

~ Happy Scripting HexC3D

0
From what I've tested, a player can still exist as a floating camera when their player is removed, as long as there are other players in the game. If there are no players on the leaderboard, the server instance shuts down. MrFlimsy 345 — 10y
0
Hmmm, let's test that out. HexC3D 830 — 10y
Ad

Answer this question