Blockland Forums > Modification Help
Loading bricks via console on a dedi?
Kalphiter:
--- Quote from: Mr. Wallet on January 08, 2011, 01:33:37 AM ---Sweet! Thanks :cookie:
You're sure it will accept a script that touches "base/server/temp/temp.bls"? It's hard to stay informed on badspot's arbitrary permissions on read/write and execution.
--- End quote ---
The only files that are untouchable are locked files (by Windows to prevent modifying admist executing), and normally there are two, Blockland.exe and console.log.
Mr. Wallet:
hey, as far as needing to be in the server, do you think I could just call serverCmdReloadBricks(%obj) where (%obj.isSuperAdmin == true)? Kinda hard to test this stuff right now since a buncha people are on my server and I don't wanna kick them off. :panda:
Kalphiter:
If %obj is you (as a client), then yes.
DrenDran:
--- Quote from: Kalphiter on January 08, 2011, 01:45:34 AM ---If %obj is you (as a client), then yes.
--- End quote ---
I think he means like this:
$obj = 0;
$obj.isSuperadmin = true;
$obj.isAdmin = true;
servercmdreloadbricks($obj);
I've also wondered if that would work.
Kalphiter:
Try adding a .brickgroup, then see what happens.