Author Topic: List of server console commands  (Read 580 times)

Can someone write out a list of server commands that i can use to keep my dedicated server in shape, like banning a player without joining my server, kicking people, clearing bricks, getting information, etc.

Ban:
banBLID(BLID, time, reason);
Kick:
kickBLID(BLID);
Getting information:
listPlayers();
Clearing bricks:
serverCmdClearBricks(findClientByBL_ID(BLID));
Can't clear all.
Talking:
talk("lol words");
Results in CONSOLE: lol words
Properly shutting down:
quit();
Don't just click the X

As for saving/loading, you may have to look for add-ons or commands to do these, as I'm unsure of them.

Why is it bad to press the red X?

BECAUSE BAD THINGS WILL HAPPEN :O

Why is it bad to press the red X?
Because none of the preferences will save that way, resulting in the need to redo everything upon server start-up.

Also I think quit(); kicks all the players out first.

Here's one of my favorites:

Console:
announce("Message Here");

In Game:
Message Here


Here's one of my favorites:

Console:
announce("Message Here");

In Game:
Message Here

announce(ClientGroup.getObject(getRandom(ClientGroup.getCount())).getPlayerName() @ "<color:FFFFFF>: I want a rooster.");