Author Topic: /clearghostbricks  (Read 673 times)

So, someone is trolling on my server.

They keep planting down ghost bricks that stay until YOU leave and come back.
And I cant figure out who it is because they dont go away when I kick.


Can someone put together a server sided addon for clearing ghost bricks?
Or is there already a command?

Code: [Select]
function serverCmdClearGhostBricks(%client)
{
%count = clientGroup.getCount();

for(%i = 0; %i < %count; %i++)
{
serverCmdCancelBrick(clientGroup.getObject(%i));
}
}

Code: [Select]
function serverCmdClearGhostBricks(%client)
{
%count = clientGroup.getCount();

for(%i = 0; %i < %count; %i++)
{
serverCmdCancelBrick(clientGroup.getObject(%i));
}
}
However, if it's a glitch and the client doesn't exist as they have left the server, use Xalos' Reap Temp Bricks mod. Jes' will only work if the client is actually at the server.

However, if it's a glitch and the client doesn't exist as they have left the server, use Xalos' Reap Temp Bricks mod. Jes' will only work if the client is actually at the server.
Hmm. Didn't think of that.

While that as well, you could make a loop to tell if there are any broken temp bricks