Blockland Files > Add-Ons
Admin Controls Manager (V6)
Space Guy:
--- Quote from: Truce on November 07, 2008, 03:46:41 PM ---Once again, an urgent update. Sorry for all the new versions.
I just used $server::LAN, in which case it executes the command normally, but if it returns false then it checks what the respective $pref is set to, and then executes the command / returns an error message.
--- End quote ---
I meant that you could use the localclientconnection on non-dedi LAN servers to check if you are host there, so the controls will work.
--- Code: ---if(command is host only)
{
if($Server::LAN)
{
if($Server::Dedicated)
//Can't tell if you're host, always do command
else if(%client.getID() == localclientconnection.getID()
//Do command
else
//show 'not host' error
}
else
{
if(%client.bl_id == getNumKeyID())
//Do command
else
//show 'not host' error
}
}
--- End code ---
Plornt:
Can you make it so only host can open server controls?
Space Guy:
Only the host can edit these settings. Other Super Admins can see them, but editing them will not function.
Rykuta:
Warning - while you were reading a new reply has been posted. You may wish to review your post.
screw you
PLEASE accualy make a mod for normal blockland and not rtb, if you want to post an rtb add on DO IT IN RTB
Space Guy:
--- Quote from: Rykuta on November 07, 2008, 04:56:24 PM ---Warning - while you were reading a new reply has been posted. You may wish to review your post.
screw you
--- End quote ---
Turn it off, then. (I have)
Downloaded. I think this will be very useful.