Author Topic: CMD commands  (Read 714 times)

I want to know how to do the following in the CMD screen
  • ban
  • kick
  • talk to only one person
  • change server settings
  • kill a person

... anything else you could teach me as well.

if you have return to blockland,go to the options,controls,and set everything in rtb section to what you want.(mine is z and x) Then you can change the server settings.the kill a player thing is abusive.it doesnt exist,unless some idiont made it.

I said from the CMD... that's the black box thingy, not a GUI.

[Ban]
banBLID(ID, time, "reason");
Example:
banBLID(40, -1, "Spamming"); would perma ban whoever has ID 40 for spamming.

[Kick]
kickBLID(ID);

[Message One Person]
messageClient(FindClientByName("Name"),"","Message here");
Any tags can be used for this, such as colors and such.

[Change Server Settings]
Code: [Select]
$Pref::Server::AdminPassword = "passwordHere";
$Pref::Server::AutoAdminList = "IDs separated by spaces";
$Pref::Server::AutoSuperAdminList = "IDs separated by spaces";
$Pref::Server::ClearEventsOnClientExit = "1 or 0";
$Pref::Server::ETardFilter = "1 or 0";
$Pref::Server::ETardList = "words separated by commas.";
$Pref::Server::FallingDamage = "1 or 0";
$Pref::Server::FloodProtectionEnabled = "1 or 0";
$Pref::Server::MaxBricksPerSecond = number;
$Pref::Server::MaxChatLen = number;
$Pref::Server::MaxPlayers = number between 1 and 32;
$Pref::Server::Name = "server name";
$Pref::Server::Password = "server password";
$Pref::Server::Port = "28000"; (Shouldn't change this)
$Pref::Server::RandomBrickColor = "1 or 0";
$Pref::Server::SuperAdminPassword = "password";
$Pref::Server::TooFarDistance = number;
$Pref::Server::WelcomeMessage = "Welcome message here";
$Pref::Server::WrenchEventsAdminOnly = "1 or 0";

[Kill a Player]
FindClientByName("Name").player.kill();