Blockland Forums > Suggestions & Requests

Only Admins Can Talk

Pages: (1/1)

MrLoganator111:

Can somebody make a mod for me where only admins can talk? This should be a toggle-able thing. This would be AWESOME for my ComedyClub and it would let me get more control over it.

Thank you!

DaSord213:

http://forum.blockland.us/index.php?topic=99308.0
Has RTB prefs for when you enable it in game on whether admins automatically have a voice or not. And you can also assign individual players with voices, too. (Not to be confused with VON)

Lugnut:


package onlyAdbins
{
   function serverCmdMessageSent(%c, %t)
   {
      if(!%c.isSuperAdmin && $onlyAdbinsCanChat)
         return;
      parent::serverCmdMessageSent(%c, %t);
   }
};
activatePackage("onlyAdbins");

function serverCmdToggleAdminOnlyChat(%c)
{
   if(!%c.isSuperAdmin)
   return;

   $onlyAdbinsCanChat = !$onlyAdbinsCanChat;

   messageAll('', "\c5Admin only chat has been toggled\c3" SPC ($onlyAdbinsCanChat ? "on." : "off."));
}
--- Quote from: DaSord213 on August 09, 2012, 10:53:55 PM ---http://forum.blockland.us/index.php?topic=99308.0
Has RTB prefs for when you enable it in game on whether admins automatically have a voice or not. And you can also assign individual players with voices, too. (Not to be confused with VON)

--- End quote ---
well forget.

MrLoganator111:


--- Quote from: DaSord213 on August 09, 2012, 10:53:55 PM ---http://forum.blockland.us/index.php?topic=99308.0
Has RTB prefs for when you enable it in game on whether admins automatically have a voice or not. And you can also assign individual players with voices, too. (Not to be confused with VON)

--- End quote ---
OMG OMG OMG THANK YOU SO MUCH!  :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie:

Pages: (1/1)

Go to full version