Blockland Forums > General Discussion

Big List O' Console Commands

Pages: (1/11) > >>

Tertahedron:

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.

The Brighter Dark:

Could be useful

otto-san:

FYI,

--- Quote from: Tertahedron on March 14, 2013, 07:48:28 PM ---function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;bbrown townl(%i);}

--- End quote ---

This will crash you. Causes an infinite loop.

Aide33:


--- Quote from: otto-san on March 14, 2013, 07:57:42 PM ---FYI,
This will crash you. Causes an infinite loop.

--- End quote ---
This is the proper way to do it btw

--- Code: ---function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;schedule(100,0,bannall,%i);}
--- End code ---


otto-san:


--- Quote from: Aide33 on March 14, 2013, 08:04:36 PM ---This is the proper way to do it btw

--- Code: ---function bbrown townl(%i){commandtoserver('ban', 0, %i, -1, "Banned.");%i++;schedule(100,0,bannall,%i);}
--- End code ---


--- End quote ---
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: ---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);}
--- End code ---

so you can do bbrown townl(<number>, <1 or 0 for on/off respectively>);

Pages: (1/11) > >>

Go to full version