Author Topic: Restricted Events?  (Read 2710 times)

Every time I start a server, or join one of my dedicated servers, I get a message that reads "Some events my be restricted for your admin level"
I don't remember ever downloading such an add-on. (Although there is a good chance I did)
Is this a new default feature?
How do I change which events are restricted?
Can it be turned off?
Or am I just an idiot and it's some add-on I downloaded a while back?
If so, could I get a link to it?

K thnx bye.

Could you have possibly downloaded this?

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.

Could you have possibly downloaded this?
Looks about right.
I'm sure I just saw Zack0Wack0 and immediately clicked download...

Well some servers have restricted events?



...how was this relevant?
That would be the mod that is causing the message?


http://forum.blockland.us/index.php?topic=204412.msg5648371#msg5648371
Yes this is it.
I wrote my own event restriction because I wasn't aware someone had already written one.

How do I change which events are restricted?
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

Can it be turned off?
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.

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.
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
« Last Edit: November 27, 2012, 05:32:46 PM by Headcrab Zombie »

I wrote my own event restriction because I wasn't aware someone had already written one.
It's made for add-on developers to make an event that is placeable only by admins through a quick function call in the script, while I believe the other one is for server admins to add restriction to pre-made events.
Can you link to it please?


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.
Yea actually if that is the case, I think I'll just keep the restrictions.
And I like the env events so I don't plan to get rid of that addon.
Are those the only events that are restricted then?

Are those the only events that are restricted then?
I haven't released anything else that uses it, and I don't know of anyone else that has used it.
So probably

If you want to know for sure you could deadmin yourself and type /restrictedevents or paste this into console:
for(%i=0;%i<=$AdminOutputEventCount;%i++){ %event = $AdminOutputEventList[%i]; echo(getWord(%event,0) SPC "requires" SPC getWord($AdminLevelList,getWord(%event,1))); }
Untested but it should work

Well thanks guys.
I guess it would be best to lock this now.