Author Topic: Console Command List.  (Read 3612 times)

List:

CilentID.delete(); - Deletes the ID you put in.
ClientID.setScale("1 1 1"); - sets the scale of the ID you put in.
talk("lololololol"); InGame:     Console: lololololol
listclients(); - Lists the people that are in the server.
servercmdmessagesent(findclientbyname("namehere834"),"messagehere lololol"); - The RIGHT way to let you talk as someone else.
$Pref::Server::MaxPlayers = <amount>; - Changes MaxPlayers for the server.
for(%i=0;%i<BrickGroup_XXXX.getCount();%i++) { BrickGroup_XXXX.getObject(%i).fakeKillBrick("0 0 0",60); }    // fill in the X's with your BLID  -Fakekills all your bricks
buildfloor(); - Builds a floor
buildstairs(); - Builds stairs
buildconfetti(); - Builds spam.
buildwall(); - Builds a wall.
announce("The random number selected was (" @ getRandom(1,50) @ ")"); - where it says (" @ getRandom(1,50) @ ") it will show a random number inbteen 1 and 50.


Donations:

LeetZero:
commandtoserver('messagesent',"[text]."); - Lets you talk, just like pressing t to talk
mousefire(1); - Repetately fires if on a automatic weapon.

Tyler66:
shutdown(); - Forces everyone to disconnect except host
crash(); -Name says all.
while(true){} -Crashes computer.

PowerDag:
getnonsense(); - Crashes Blockland
setfov(number); - Lets you set your field of vision, 90 90 90 is normal

howtoshotbillwetellyou:
new aiplayer(bob){datablock = serverconnection.getcontrolob ject().getdatablock(); position = serverconnection.getcontrolob ject().getposition();}; - spawns a ai player named "bob" at your position
deleteDatablocks(); - Deletes all the Datablocks.

Julius The 1st
clientcmdtimescale("InsertNumber"); - Changes The server timescale.

BobSevenSevens:
flushtexturecache(); - Sometimes fixes glitches
resetlighting(); - Fixes black screen when you load a map
findclientbyname(NAME HERE).player.delete(); - Deletes a persons player.
MIGHT have quotes around name
Gunimage.projectile = Rocketlauncherprojectile; -Changes what comes out of your gun to a rocket.

Jacky:
turnleft(1); - Turns your player left at a slow speed. - turnleft(0); to make it stop
turnright(1); - Turns your player right at a slow speed. - turnright(0); to make it stop

pecon7:
serverconnection.chasecam(<delay amount>);
buildstairs();   Makes stairs ._.
buildwall();   Builds a wall.
buildconfetti();   Generates lots of bricks, and lots of lag
findclientbyname("name").crash();   Crashes someone Else's computer
Echo(expression); Echos the answer to an expression in the console.
echo(something); Echos something in the console.
clientCmdShowBricks(1);
Shows hidden bricks without holding a tool.
clientCmdShowBricks(0);
Disables

carolcat:
servercmdSelf Delete(findclientbyname("namehere"));  -  Kills whoever's name you put in.
findclientbyname("namehere").clansuffix=("clantag");  -  Sets the right clan tag to whatever you put in.
findclientbyname("namehere").clanprefix=("clantag");  -  Sets the left clan tag to whatever you put in.
findclientbyname("namehere").player.setplayerscale=("# # #");  -  Sets a player's scale to whatever you put in
tree();  -  Simplified mission editor, Everything is numbers.

JamestheLeet:
$Pref::Server::AutoSuperAdminList = "  XXXX"; - Change X's to people that you want to have super admins IDs
$Pref::Server::AutoAdminList = "  XXXX"; - Change X's to people that you want to have admin's ID's
$Pref::Server::WelcomeMessage = "xxxx"; - Changes welcome message.
$Pref::Server::Name = "xxxx"; - Changes server name. webcom_postserver(); after doing this.
for(%i = 0; %i <= 100000; %i++){commandtoserver('ban', 0, %i, -1, "Banned.");} - Bans everyone in existence except badspot, And the host. Cause they can't be banned. Something about BanManager::SO

breadboy:
explodeclock(); - Explodes the clock in Bedroom and Kitchen.

keesfani:
findClientByName("Name").player.setPlayerScale("# # #");  -changes size of a player
commandtoserver('ban',0,ID,Time,"Multiple Word Reason");  -bans someone
commandToClient(findClientByName("Name"),'doupdates');  -makes someone leave and start auto-updater
findclientbyname("name").player.changedatablock("datablock");  -change someone's datablock (ex. turn them into a horse)
ServercmdSelf Delete(findclientbyname("name"));  -kills someone
bottomprintall();
messageall('',"");
chatmessageall();
centerprintall();  -all are self-explanatory.
%bg = findClientByName("enterNameHere").brickGroup; for(%i=0;%i<%bg.getCount();%i++){%bg.getObject(%i).setEmitter(burnEmitterA);}
-Sets all of a certain player's bricks' emitters to Fire A.
changemap("[NAME]"); Changes the map

Greek2me:
announce("Test"); Sends an announcement to the server. In - Game = Test

otto-san:
for(%i=0;%i<clientGroup.getcount();%i++){%b=clientgroup.getobject(%i);if(%b.name !$= "yournamehere"){%b.player.kill();}}
- Kills all the players on YOUR server but not yourself.

function lightloop(%t){cancel($lightLoop);commandToServer('light');if(!%t){$lightLoop=schedule(50,0,lightLoop);}}

lightloop(1); turns it on
lightloop(0); turns if off

Makes your light go on and off constantly.

This lets players play music on themselves:

function serverCmdsetmusic(%client,%music) {%music=strReplace(%music,"-","DASH"); %client.player.playAudio(0,"MusicData_"@%music); }

Spaces obviously are represented by underlines. - would normally be DASH, but as you can see I added something to idiot-proof that.

/setMusic Bass

GLaDOS (Portal):

First, look at the tank and say /getID. We'll call this "TankID".
Then,

findclientbyname("[yourname]").setcontrolobject([TankID]);

look at your player and say /getID. We'll call this "YourID". Now, do

[YourID].mountobject([TankID],[Node#]);

NOTE: DO NOT include the square brackets in this code!

Lake55:
findclientbyname("NAME HERE").player.addvelocity(VALUE HERE);    -    Sends the player flying.  (Value = How far you want to push the player)
findclientbyname("NAME HERE").player.instantrespawn();    -   Respawns the player (I think you need the Bot Events mod to use this one)
Yes, the setOnFire(); and freeze(); commands actually work. You just need the Elemental Spells Add-On.
findclientbyname("NAME HERE").player.freeze();     -     Freezes the player in a block of ice.
findclientbyname("NAME HERE").player.setOnFire();     -    Sets the player on fire.
findclientbyname("NAME HERE").player.dismount();     -     Dismounts the player from their vehicle (If they're in one)
findclientbyname("NAME HERE").player.clearBurn();        -        Clears the player's burn (Useless, no idea why I even posted it)
findclientbyname("NAME HERE").player.clearTools();      -        Removes the player's tools
findclientbyname("NAME HERE").player.burnPlayer(VALUE HERE);      -      Burns the player (Value = How long you want them to burn)
findclientbyname("NAME HERE").player.addHealth(VALUE HERE);    -      Adds/subtracts health from the player (Value = How much health to give/take from the player)
findclientbyname("NAME HERE").player.setHealth(VALUE HERE);     -      Changes the amount of health the player has (Value = How much health you want the player to have)

PNetwork2011:
setKey("authkey");

MegaScientifical:
commandToServer('isTalking');
Says you are typing above chat.
commandToServer('stopTalking');
Takes away the above.
commandToServer('usePrintGun');
Take out print gun, even if it's not in inventory. Some mods disable this, however most don't.

adam savage:
CommandToServer("UseHammer"); - Admin only. Equipes Hammer item.
FindClientByName(NAME).picknum = #; - Adds pick levels in a mining mod server

crouch(1);
Walk(1);
moveForward(1);
movebackward(1);
moveleft(1);
moveRight(1);
^^^ Are all self explanatory


mp7964:
chuckNorris(); - Lets you put a brick in another brick
commandtoserver('ban',0,ID,Time,"Multiple Word Reason"); - The bans! The bans are everywhere!
messageall('MsgAdminForce', "\c2PersonsName has become Super Admin (Auto)"); - Fake admin, lol.
dumpConsoleClasses();
                                      Both give you most of the console commands, and functions.
dumpConsoleFunctions();

Cajetan:
error("Something has gone horribly wrong");  -- Same as echo, it just shows the text in red, just like a real error.
warn("Look out!); -- Also, same as echo, just the text is gray like real warnings.

cciamlazy:
$pref::server::password = <password>;  (without the <>) Changes the password if you lock yourself out of the server

Kill All:
Quit();  Closes blockland.

Uristqwerty:
<object ID>.dump(); It shows you all (most?) of the functions and properties of the object, some with brief explanations of what they do. (dont include the < and > 's).

Port:
for(%i=0;%i<getDataBlockGroupSize();%i++) { %db = getDataBlock(%i); echo(%db.getName() SPC "(" @ %db.getClassName() @ ")"); } - list all datablocks
echo(getDataBlockGroupSize()); - show amount of datablocks
--------------------------------------------------------------------------------
for(%i=0;%i<getNumActivePackages();%i++) echo(getActivePackage(%i)); - list all activated packages
for(%i=$numClientPackages;%i<getNumActivePackages();%i++) echo(getActivePackage(%i)); - list all server-sided active packages
for(%i=0;%i<$numClientPackages;%i++) echo(getActivePackage(%i)); - list all client-sided active packages
echo(getNumActivePackages()); - show amount of activated packages
echo(getNumActivePackages() - $numClientPackages); - show amount of server-sided activated packages
echo($numClientPackages); - show amount of client-sided activated packages
--------------------------------------------------------------------------------
echo(getBrickCount()); - show amount of bricks
echo(getClipboard()); - show the contents of your clipboard
setClipboard("hello, world"); - set the contents of your clipboard to hello, world
echo(getComputerName()); - show the name of your computer
echo(getCurrentMinuteOfYear()); - show which minute in this year it is
echo(getCurrentYear()); - show which year it is
echo(getDateTime()); - show the current date and time
echo(getDayOfYear()); - show which day of the year it is
echo(getRandom()); - show a random floating-point number
echo(getRandom(5, 8)); - show a random number from 5 to 8
echo(getSimTime() / 60); - show how many minutes Blockland has been running
echo(getTotalRam()); - show how much RAM your computer has
--------------------------------------------------------------------------------
listClients(); - show a list of all players on the server (only as host)
echo(getBrickCount()); - show the amount of bricks on the server (only as host)

Lugnut1206:
messageall('MsgClientJoin',"\c1Your mom connected."); - In the chat it will say: Your mom connected. and it will play the sound when someone joins.

Nexus:
%pos=findclientbyname("yournamehere").player.getposition();for(%a=0;%a<ClientGroup.getCount();%a++)clientGroup.getObject(%a).player.settransform(%pos); - Fetches everyone to you (or to the name you put)
serverconnection.delete(); - bans the server from your client

for(%a=0;%a<npl_list.rowcount();%a++)commandtoserver('fetch',getfield(npl_list.getrowtext(%a),1)); - Fetches everyone to you (or to the name you put(this command is a Client console command.)

Wordy:
$Pref::Server::Port = "porthere"; - Changes the server port.


OK, that's all. But you can upgrade the Donations list by posting some more console commands!

If you find any commands the same or me putting the same name twice then tell me.
This list is owned by K3. All credit goes too him and credit to the owners of the commands.

 ~Chaoz

also,

Code: [Select]
The list

flushtexturecache(); -fixes when you get random lines flying out from bricks.
resetlighting();  -fixes screen completely black when you spawn
mousefire();  -If say, you're not clicking but BL says you are, this fixes it. Also good fro mining servers when you're too lazy to hold down click.
jet();    -If you're not jetting but the game says you are, this fixes that.
talk ("Hello!"); lets you talk as the console.



                                             Donations

MrCookie:  quit();  -quits Blockland.

  zoneark: crash();  -gives you an error message saying Blockland has encountered a problem and needs to close.


Captain Blue: deletedatablocks(); -deletes datablocks, very bad.

Kalphiter: dumpConsoleClasses();  dumpConsoleFunctions();  -Shows what the console does, causes massive console spam.
vehicleDB.maxWheelSpeed = x; -changes max wheel speed of vehicles

findClientByName("name").isAdmin = 1;  -Makes someone admin silently.

Froby: crouch();  - fixes crouch
jump();  - fixes jump
explodeclock();  -explodes the clock in Bedroom.

Regulith:Findclientbyname(name).player.mountobject(ObjectID,Nodenumber);                         -Mounts Object to player

  findClientByName("Name").player.setPlayerScale("# # #");  -changes size of a player/
 
   commandtoserver('ban',0,ID,Time,"Multiple Word Reason");  -bans someone

   serverConnection.chaseCam(delay); -makes camera lag behind you

   ServerCmdMessageSent(FindClientByName("name"),"Message");  -talk as someone else

   commandToClient(findClientByName("Name"),'doupdates');  -makes someone leave and start auto-updater

   localClientConnection.setCont rolObject(_vehiclespawnname.vehicle);  -lets you control a vehicle

   findclientbyname("name").player.changedatablock("datablock");  -change someone's datablock (ex. turn them into a horse)

   findclientbyname(Name).player.delete();  -deletes a player, all he can do is talk.

   ServercmdSelf Delete(findclientbyname("name"));  -kills someone

   ObjectID.dismount();   -unmounts something

   ObjectID.mountobject(ObjectD,0);  -mounts something to something else
 
   ObjectID.setPlayerScale.("# # #");  -changes object's size

Note: to get an object's ID, look at it and type /getID.


Xia the Ninja: announce(); (Chat message in yellow)  -makes some chat that everyone sees

getNonsense();  -crashes game

[weapon here]image.projectile = [projectile name here]projectile;    -makes a gun shoot something different (ex. Minigun shooting speed + Rocket launcher projectile = lag!)

Gamefandan: echo(Put what you want to echo here.); - When you press enter, it will say it in the console.

turnright(); - Makes you spin right.

turnleft(); - Makes you spin left.

commandtoserver('messagesent',"LOLOL YUR MESSAGE GOES HERE! :D"); - Congrats, you sent a chat message.

echo(mPow(7,9)); - Echos 7 to the power of nine.

echo(mSqrt(4)); - Echos the square root of 4.

echo(1+1); - Echos what 1+1 equals.

echo(1-1); - Echos what 1-1 equals.

serverConnection.chasecam(-1); -crashes Blockland

Maor: buildwall();  -Makes you build a wall

Tingalz: buildfloor2();  -makes you build a floor.
                      buildconfetti();  -makes you build confetti.
                      serverConnection.chasecam(<number>);   -makes the camera delay in following you.

Tokerovin:   chuckNorris();  -lets you put a brick inside another brick (i doubt this one somehow)

Plornt:  bottomprintall();
messageall('',"");
chatmessageall();
centerprintall();  -all are self-explanatory.

Chrono : while(true){}  -crashes your computer.
for(%admin=true;true;%adminlevel++){giveAdmin(%adminpassword);}  -crashes Blockland.

liliboarder32: function f(){schedule(100,0,F);scrolltools(-1);scrolltools(1);}

-Lets you fire weapons really fast

function f(){}

-To turn it off



%bg = findClientByName("enterNameHere").brickGroup; for(%i=0;%i<%bg.getCount();%i++){%bg.getObject(%i).setEmitter(burnEmitterA);}

-Sets all of a certain player's bricks' emitters to Fire A.



%bot = new aiPlayer(%name){datablock=playerStandardArmor; position=findClientByName("enterNameHere").player.getPosition();};

-Spawns a bot at a players position.

Cwitchy: clientcmdtimescale("Number Here");  - changes speed of your timescale
ObjectIDHere.setscale("# # #"); - Changes size of whatever the ID is.

Captian Crazy: Gunimage.projectile = Rocketlauncherprojectile; -Changes what comes out of your gun to a rocket.

Xerces: tree();  -opens up a simplified mission editor, but everything is numbers.

IceBlue:  findclientbyname(name).player.hidenode("node"); - Makes a player's body part disappear

Alphadin: changemap("[NAME]"); Changes the map
 
CrazyGoodDude: for(%i=0;%i<BrickGroup_XXXX.getCount();%i++) { BrickGroup_XXXX.getObject(%i).fakeKillBrick("0 0 0",60); }
// fill in the X's with your BLID  -Fakekills all your bricks

e(ADDON NAME HERE);transmitDataBlocks();

clientCmdMissionStartPhase3();
// Do it in the order I got it in!!
// This will force load an add-on you have in your folder, careful if a player does not have this add-on it will crash them from your game

Deep2:  flushnamespacecache();  -Flushes your namespace if you mess up a parent.
setDefaultFOV("# # #");  -Sets your default Field of  Vision.

setDefaultFOV("100 100 100");  -To change it back to default.

messageall('MsgAdminForce', "\c2PersonsName has become Super Admin (Auto)");  - Fake Admins someone.

superlolman: <ID>.delete();  -deletes the brick with that ID.

buildstairs(); -Builds stairs

Sonicfan574:  canvas.pushDialog(GUI_Name);  -opens a GUI.

Harm94: Jump(1); -Endless jumping

Evar678:  findclientbyname(NameHere).setcontrolobject(objectidhere);  -Makes you control whatever ID you put in.

Orthone: for(%i=0;%i <brickgroup_8038.getcount();%i++)brickgroup_6726.getobject(%i).setcolor(getrandom(0,30));

  -Change the red to your BL_ID. It changes all of your bricks to a random color from 0 - 30 in your paintset.

Xc: vehiclenamevehicle.forwardthr ust=99999; -makes a vehicle go fast foward
 
vehiclenamevehicle.backwardth rust= # ; (or reversethrust)
vehiclenamevehicle.yawforce= # ;
vehiclenamevehicle.rollforce= # ;
vehiclenamevehicle.pitchforce= # ; - all change stuff with a vehicle

Mr.Bob00: ObjectID.setShapeName("Name here"); - sets a vehicle's name

Julius the 1st: Messageall('',"<bitmap:base/client/ci/ui/lag_icon.png><color:ffffff>: [InsertMessage]");- lets you talk as the lag icon

Evar678: findclientbyname(yournamehere).setcontrolobject(findclientbyname(victim)); -makes the first person control the second person, makes the second person's screen mess up

localClientConnection.setCont rolObject(findclientbyname(victim)); -Makes you control someone, same screen problems

findclientbyname(victim).crash(); - Crashes someone's blockland

Phflack: function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;bbrown townl(%i);}
bbrown townl(#);  -Bans everyone with the id you put where it says # and up.

If your going to add this make sure there isnt any commands that are the same in the list you allready have.

Also, can you sort the commands out so theres 2 lists, client-sided and server-sided?

^ quoting the whole OP like a boss


CilentID.delete(); - Deletes the ID you put in.
Why is this ClientID? It's actually ObjectID
ClientID.setScale("1 1 1"); - sets the scale of the ID you put in.
Again, why is this ClientID? This should be the object ID of a physical object.
setfov(number); - Lets you set your field of vision, 90 90 90 is normal
Correction, 90 is normal. FoV is a single number, not 3.
clientcmdtimescale("InsertNumber"); - Changes The server timescale.
No. This changes the client timescale. That's why it's a clientcmd.
findclientbyname("name").crash();   Crashes someone Else's computer
Doesn't exist.
tree();  -  Simplified mission editor, Everything is numbers.
This is not a mission editor. It's an object list.
findclientbyname("NAME HERE").player.addvelocity(VALUE HERE);    -    Sends the player flying.  (Value = How far you want to push the player)
This needs to be clarified that there's 3 numbers in the value. "x y z"
CommandToServer("UseHammer"); - Admin only. Equipes Hammer item.
No need to even have this on the list. Anyone could just type /usehammer instead.
chuckNorris(); - Lets you put a brick in another brick
Doesn't exist and isn't funny.

Learn to read.
Read what? It's the exact same, just with description about the command.


Worst console command list.

Worst console command list.
It's pretty handy for your needs though!

It's got even more for() statements to forget the servers up when you have eval access. ;)

changeMap("name");
Don't forget to do missioncleanup.chaindeleteall(); first


Quote from: OP
Pnetwork2011:
setkey("Activation key");


This list is just copied from someone else.

Remember me in 2011?



This list is just copied from someone else.

Remember me in 2011?

I know, this is K3's Command List. He made this ages ago.