Blockland Forums > Modification Help
Restrcting certain events for admins only.
Pages: (1/1)
otto-san:
I know that it's possible; I'd think by editing serverCmdAddEvent, but I'm not quite sure how I'd go about making them admin only.
MegaScientifical:
There's already an Add-On for this, although I don't know what it is. But it would be possible.
Chrono:
Package the specific event's function.
otto-san:
--- Quote from: MegaScientifical on August 29, 2010, 04:35:58 PM ---There's already an Add-On for this, although I don't know what it is. But it would be possible.
--- End quote ---
That's not what I meant.
--- Quote from: Chrono on August 29, 2010, 04:46:23 PM ---Package the specific event's function.
--- End quote ---
like for inputs
if($InputTarget_["Brick"].getGroup().client.isAdmin) or something like that
and outputs
well
i'm not sure about those
Pages: (1/1)