Blockland Forums > Suggestions & Requests
Real admin only duplicator
(1/3) > >>
The Brighter Dark:
Right now with the current way the duplicator is set up, if you set it to admin only players can still take it out and be annoying with it. With this edit to the mod it would not even let normal players take out the duplicator at all if it's set to admin only.
 
Khaz:
This could probably be done with a simple script edit.
SWAT One:

--- Quote from: Khaz on January 08, 2014, 01:34:49 AM ---This could probably be done with a simple script edit.

--- End quote ---
And you are right.
Swollow:

--- Code: ---package noAdminDupe
{
   function serverCmdDuplicator(%cl)
   {
      if(!%cl.isAdmin && $Pref::Duplorcator::AdminOnly)
      return;

      parent::serverCmdDuplicator(%cl);
   }
};
activatePackage(noAdminDupe);
--- End code ---
boodals 2:

--- Quote from: swollow on January 08, 2014, 09:35:04 AM ----snip-

--- End quote ---

They will still be able to spawn the duplicator and pick it up.
Navigation
Message Index
Next page

Go to full version