Author Topic: Big List O' Console Commands  (Read 3157 times)

Big List O' Console Commands

I made this with the previous owner's permission.

Here, you post all of the console commands you know and what they do. Check the list first to see if someone submitted it already:

                                                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

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

   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
[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.

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.

Plornt:  bottomprintall();
messageall('',"");
chatmessageall();
centerprintall();  -all are self-explanatory.
« Last Edit: March 16, 2013, 02:13:13 PM by Tertahedron »


FYI,
function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;bbrown townl(%i);}

This will crash you. Causes an infinite loop.

FYI,
This will crash you. Causes an infinite loop.
This is the proper way to do it btw
Code: [Select]
function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;schedule(100,0,bannall,%i);}

This is the proper way to do it btw
Code: [Select]
function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;schedule(100,0,bannall,%i);}
yeah, that won't crash you. you'll have to manually cancel it by overwriting the function though, unless you assigned the schedule to a variable and canceled it.

the way I'd do it would be more like this
Code: [Select]
function bbrown townl(%i, %b){cancel($bbrown townl);if(!%b){return;}commandtoserver('ban', 0, %i, -1, "Banned.");%i++;$bbrown townl=schedule(100,0,bannall,%i,1);}
so you can do bbrown townl(<number>, <1 or 0 for on/off respectively>);
« Last Edit: March 14, 2013, 08:25:06 PM by otto-san »

Someone gimme a list of v21 commands


What do you mean?
Like all the new environment commands and bot command, speedkart commands, etc.

Code: [Select]
function idkwtf(%i, %s){cancel($idkwtf);if(!%i){setFov(90);return;}setFov(getRandom(10,180));$idkwtf=schedule((%s > 33 ? %s : 33), 0, idkwtf, 1, %s);}usage:
idkwtf(<on: 1 | off: 0>, <time between changes in milliseconds, minimum+default is 33>);

description:
makes your vision go wild maybe



........idkwtfthisdumbbasicsc riptstuffis....
« Last Edit: March 14, 2013, 08:35:10 PM by otto-san »

$mvYawLeftSpeed = <value>;

enter in a value between 0 and 1 to spin at any speed to the left.

getNonsense();  -crashes game

This is wrong. It generates a random number.

i really don't see the point of these topics

This is wrong. It generates a random number.

not exactly random, but still, yeah, doesn't crash the game

i really don't see the point of these topics
Some people aren't complete geniuses when it comes to using the console, this is pretty cool actually.

Some people aren't complete geniuses when it comes to using the console, this is pretty cool actually.

This. I remember googling for command quite alot recently and this is pretty useful.
« Last Edit: March 15, 2013, 05:05:18 AM by Snick0rz »

$mvYawLeftSpeed = <value>;

enter in a value between 0 and 1 to spin at any speed to the left.
Enter something a little smaller than pi to have some sort of stereoscopic view of 4 directions at once, really coool