Poll

How should it be layed out?

Name - commands they suggested
30 (76.9%)
no names, just commands
9 (23.1%)

Total Members Voted: 39

Author Topic: Console Command List  (Read 72897 times)

setFOV ("??? ??? ???");
replace the ??? with numbers
There's only 1 number... Why would there be 3 numbers?

setFOV ("??? ??? ???");
replace the ??? with numbers
Um, setFOV does not have 3 number fields. It only has one.

Here's a new idea for OP: ## - A number, showing a default number is #40# (example)

Client
setFOV(#90#);

Server
%clientID.setControlCameraFOV(#90#); - Set's someone's FOV, can be overridden on the client side by: PlayGui.ForceFOV = #90#;

Um, setFOV does not have 3 number fields. It only has one.

Here's a new idea for OP: ## - A number, showing a default number is #40# (example)

Client
setFOV(#90#);

Server
%clientID.setControlCameraFOV(#90#); - Set's someone's FOV, can be overridden on the client side by: PlayGui.ForceFOV = #90#;
when i was told about it i was informed it was 3.

when i was told about it i was informed it was 3.
Who said it has 3? It wouldn't make sense to have 3 number fields for setting FOV.

Who said it has 3? It wouldn't make sense to have 3 number fields for setting FOV.
I don't remember who told me it was a while ago i was just informed it was 3.

heh wat dimendion do U live in pal XD


I don't remember who told me it was a while ago i was just informed it was 3.
Someone has posted that in every console command list thread I've seen

quit();
-gives you all the weapons in the game exits the game hl-style

*.remove(); (i think)
-removes player * from the game and his game crashes

*.remove(); (i think)
-removes player * from the game and his game crashes
No. It's %player.delete(); to delete a player object and cause the game to freak out
It's %client.delete(); to cause a client to get disconnect.

Below are server-sided ones:
talk(getrandom(0,100)); - gives you a random number from 0- 100

setMutualBrickGroupTrust(yourblid, targetblid, 2); -forces someone to give you their trust. only works on the server + they can also edit your bricks, so be careful

setMutualBrickGroupTrust(yourblid, targetblid, 0); -undoes force trust

function findclientbyname() { } -breaks just about everything in the server

findclientbyname(targetname).player.addvelocity("x y z"); - makes a player move forcefully

findclientbyname(targetname).player.kill(); -kills a player

findclientbyname(targetname).player.instantrespawn(); - respawns a player

findclientbyname(targetname).player.burnplayer(9); -burns a player for 9 seconds

findclientbyname(targetname).player.unhidenode(all); -creates a creepy ghost figure

findclientbyname(targetname).player.hidenode(all); -makes someone invisible

serverplay2d(sounddatablocksound); -plays a sound. you MUST input the datablock sound, or it wont work.

sky.delete(); -deletes the sky. a classic.

new sky(); -creates a new sky. use environment settings to make it look like normal

groundplane.delete(); -deletes the groundplane. very annoying and hard to undo.

jeeptire.radius = 10; -makes the jeep hover. pretty cool stuff.

jeepvehicle.numMountPoints = 0; -makes the jeep useless

Type all of the below in a row. Or not, a row makes it more organized though.
Quote
jeepvehicle.mountThread[0] = "root";
jeepvehicle.mountThread[1] = "root";
jeepvehicle.mountThread[2] = "root";
jeepvehicle.mountThread[3] = "root";
jeepvehicle.mountThread[4] = "root";
jeepvehicle.mountThread[5] = "root";
jeepvehicle.mountThread[6] = "root";
jeepvehicle.mountThread[7] = "root";
This will make you unable to sit in a jeep. Very funny.

findclientbyname(target).delete("Reason here"); -kicks a player, but instead of saying they were kicked, they receive a message saying whatever you replace "reason here" with

deletedatablocks(); -don't

$isKoreanBuild = 1; -makes blockland korean

talk(isfunction(functionname())); -checks if a console command is actually existent. If you see a 1 in chat, it exists, a 0 means it does not exist.

Also, something to remember: Typing anything before (); will not cause any errors, even if the function does not exist.
Enjoy!

quit();
-gives you all the weapons in the game exits the game hl-style
p sure that, in some ridiculously goofy w/e, simply quit also works but i've never tested that personally

Below are server-sided ones:
talk(getrandom(0,100)); - gives you a random number from 0- 100

setMutualBrickGroupTrust(yourblid, targetblid, 2); -forces someone to give you their trust. only works on the server + they can also edit your bricks, so be careful

0 - No trust
1 - Build trust
2 - Full trust
3 - Uhh


function findclientbyname() { } -breaks just about everything in the server
Eh, just breaks a default function, could break the game if a mod really needs it before it gets a heart attack.

findclientbyname(targetname).player.addvelocity("x y z"); - makes a player move forcefully

findclientbyname(targetname).player.kill(); -kills a player

findclientbyname(targetname).player.instantrespawn(); - respawns a player
Can also do %client.instantRespawn(); or %client.spawnPlayer(); (this is probably the most useful command for respawning if officially trying to spawn a player)

findclientbyname(targetname).player.burnplayer(9); -burns a player for 9 seconds

findclientbyname(targetname).player.unhidenode(all); -creates a creepy ghost figure
Doombot!

findclientbyname(targetname).player.hidenode(all); -makes someone invisible

serverplay2d(sounddatablocksound); -plays a sound. you MUST input the datablock sound, or it wont work.
rip headphone users if the sound is just..

sky.delete(); -deletes the sky. a classic.

new sky(Sky (probably not required to put a name in a name)); -creates a new sky. use environment settings to make it look like normal

groundplane.delete(); -deletes the groundplane. very annoying and hard to undo.
Eh, not really, new fxPlane(GroundPlane);

jeeptire.radius = 10; -makes the jeep hover. pretty cool stuff.
There's something in the vehicle datablock where it actually makes it hover, don't remember the variable, though.

jeepvehicle.numMountPoints = 0; -makes the jeep useless
Yass broken jeep :)

Type all of the below in a row. Or not, a row makes it more organized though.This will make you unable to sit in a jeep. Very funny.

findclientbyname(target).delete("Reason here"); -kicks a player, but instead of saying they were kicked, they receive a message saying whatever you replace "reason here" with
Pretty sure this is already explained in earlier posts.

deletedatablocks(); -don't
Usually useful on client-side for making object views, like the RTB client. Of course, never use this server-sided.

$isKoreanBuild = 1; -makes blockland korean

talk(isfunction(functionname())); -checks if a console command is actually existent. If you see a 1 in chat, it exists, a 0 means it does not exist.
Don't use () for checking functions, checking classes: isFunction(Class,function)), or isFunction(functionName)

Also, something to remember: Typing anything before (); will not cause any errors, even if the function does not exist.
Wrong, it will have errors if the function doesn't exist, it will spit something out in the console saying it doesn't exist as a warning
Enjoy!
Bold are my comments. Probably test all of the commands before giving them out.
« Last Edit: April 07, 2015, 12:36:10 AM by Advanced Bot »

isn't the class for the ground fxPlane or did i make that up out of my headzone

clientcmdsetpaintingdisabled(1); disables paint can