Author Topic: Admin Controls Manager (V6)  (Read 16107 times)

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.

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: [Select]
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
 }
}

Can you make it so only host can open server controls?

Only the host can edit these settings. Other Super Admins can see them, but editing them will not function.

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

Warning - while you were reading a new reply has been posted. You may wish to review your post.
screw you
Turn it off, then. (I have)

Downloaded. I think this will be very useful.
« Last Edit: November 07, 2008, 04:02:17 PM by Space Guy »

Truce, you're flattering me. ^.^
JK JK. LoL Thanks Truce. :D

Rykuta, what's stopping anyone from getting RTB?
I cannot think of any downsides to getting it.

Also...
Truce, you're flattering me. ^.^
...what? :|



V4 is out.

Changelog V3 -> V4:
 - serverCmdTimescale control added.
 - "Camera" label changed to "Fly" due to RTB tip.
 - "Everyone" option added for Spy, Fly, and Warp.
 - Host-checking function added and refined.
 - Cleaned up the script overall a bit.

Only the host can edit these settings. Other Super Admins can see them, but editing them will not function.

Turns out Super Admins can't even view them if they're Host-only.

yes, but how do you use it?  :panda:

If you have RTB, open up the Admin Window. (Default control is Ctrl+A.)
There should be a green button labeled "Server Control."

Click that, and a window should come up with the RTB Preferences Manager.
In that window, there should be a tab labeled "Preferences."

Once you click that, you can view all the preferences you can edit.
To get more preferences to edit, download other RTB manager mods.

Everyone, epic. Now I don't have noobs asking for admin to F8.

how do you open it? i cant find it.

Open it in-game?
If so, read my post just before this one.