cfg inclusion access level

For all the help you need with Armagetron!
Post Reply
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

cfg inclusion access level

Post by dukevin »

When people include cfg files as moderator, this hardily works because the commands will be executed as moderator and they are usually locked to Admins.

Is it possible so when moderators include cfg files, the inclusion is run at an admin level so the settings can be made?

I thought of 2 alternatives if there isn't a native way:
-Make it a /vote include and have set access_level_vote_include_execute 1
-Set access_level map_file 2 and have a map_file in the cfg file where the xml data sets the settings ...or even perhaps, xml data that includes a cfg file

But these aren't pretty; is there a setting similar to access_level_vote_include_execute but for "/admin include foo.cfg" so that the settings run at a particular access level?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11734
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: cfg inclusion access level

Post by Z-Man »

Look up what CASACL does :)
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: cfg inclusion access level

Post by dukevin »

ohh this looks promising :)


I set 'casacl 3 0'
then logged in as moderator and typed '/admin include foo.cfg' but it's still giving me the error.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11734
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: cfg inclusion access level

Post by Z-Man »

You don't 'set' it. You place it at the beginning of the include file in question. It wears off after the file is read, otherwise you may as well just soften all access rights.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: cfg inclusion access level

Post by dukevin »

Ah, works perfectly, thanks for explaining this!
Image
Post Reply