Blockland Forums > General Discussion

Restricted Events?

Pages: << < (2/3) > >>

Isaac Fox:

http://forum.blockland.us/index.php?topic=204412.msg5648371#msg5648371

Evar678:


--- Quote from: Isaac Fox on November 27, 2012, 04:40:04 PM ---http://forum.blockland.us/index.php?topic=204412.msg5648371#msg5648371

--- End quote ---
...how was this relevant?

NASAboy3000:


--- Quote from: Evar678 on November 27, 2012, 04:42:30 PM ---...how was this relevant?

--- End quote ---
That would be the mod that is causing the message?

Evar678:


--- Quote from: NASAboy3000 on November 27, 2012, 04:55:23 PM ---That would be the mod that is causing the message?

--- End quote ---
ah

Headcrab Zombie:


--- Quote from: Isaac Fox on November 27, 2012, 04:40:04 PM ---http://forum.blockland.us/index.php?topic=204412.msg5648371#msg5648371

--- End quote ---
Yes this is it.
I wrote my own event restriction because I wasn't aware someone had already written one.


--- Quote from: Ticonderoga on November 27, 2012, 03:29:50 PM ---How do I change which events are restricted?

--- End quote ---
This event restriction is made for add-on developers to make hard-coded admin requirements on an event through a quick function call in the script. If you're looking for a server admin tool to make any pre-made event restricted, look at Zack0Wack0's


--- Quote from: Ticonderoga on November 27, 2012, 03:29:50 PM ---Can it be turned off?

--- End quote ---
I'm fairly sure this is from the env control events. I haven't released anything else that uses it, and I don't know of anyone else that has used it.
You could modify the registerAdminOnlyOutputEvent function calls in Event_EnvControl/server.cs , however you do not want to completely turn off the restriction as then anyone could modify your server's environment settings in any way such as flooding the server with lava.


--- Quote from: Epicduke on November 27, 2012, 03:43:55 PM ---I have it too, It' an Add-On. I don't remember whats it called, but if you're a Super Admin (I think) or the Host, you'll have all the events you have enabled available to you.

--- End quote ---
The env control events all require at least super-admin, though other add-on developers that make an event that makes use of it could make it require admin, super admin, or host

Pages: << < (2/3) > >>

Go to full version