Raised This Month: $ Target: $400
 0% 

Editing Admin Flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EchoZ
New Member
Join Date: Sep 2007
Old 09-30-2007 , 18:23   Editing Admin Flags
Reply With Quote #1

Hi, I bought a server quite a while back with a pal. And were considering selling admin to trusted regulars. But we want to make packages, so therefore we need to change the admin flags. How could we do so? If you could help we would be immensly grateful.

^_^

Please & Thankyou

EchoZ
EchoZ is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-30-2007 , 19:23   Re: Editing Admin Flags
Reply With Quote #2

open teh plugins up with notepad (the .sma) and find the plugin_init and change the groups (ADMIN_KICK) corresponding with amxmodx/scripting/include/amxconxt.inc to start organizing the plugin flags to who you want

Kinda all put together their, but ill elaborate if needed lol
__________________
bmann_420 is offline
Roach
Writes love letters to sawce Daily
Join Date: Jul 2006
Location: Internet
Old 09-30-2007 , 20:30   Re: Editing Admin Flags
Reply With Quote #3

Also, the 1.8 Beta allows you to change the flag of each command on the server without recompiling the .sma of the plugin.

I, like bmann, am assuming you are referring to changing the flag of the command and not the assigned user flags that can be easily edited via users.ini
__________________
Quote:
Originally Posted by Brad View Post
That sounds like a really good idea!
Now replace the word "good" with "dumb".
What was your rationale for proposing such a thing?
Roach is offline
EchoZ
New Member
Join Date: Sep 2007
Old 10-02-2007 , 23:35   Re: Editing Admin Flags
Reply With Quote #4

I am a bit of a noob, so basically. You will have to elaborate a bit more if you don't mind.

What I want to do, is so that when I go into user.ini, the admin flags that I give people will be totally custom. Meaning. I can have numerous packages.

What I want to do is like, give each package something different. But some of the things I want to seperate are on the same flag. This i what I need to change, and as I am a noob. I need it explaining in noob terms

KThxBye
EchoZ
EchoZ is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 10-03-2007 , 08:14   Re: Editing Admin Flags
Reply With Quote #5

There are no "noob" ways of doing this. Start learning how plugins work. You have to either edit the .sma in accordance to this:

http://amxmodx.org/funcwiki.php?go=m...=1#const_admin

Or, get the AMX Mod X 1.8 beta and mess around with the cmdaccess.ini.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
h4x0rZ-
Junior Member
Join Date: Dec 2005
Location: Latvia, Riga
Old 10-03-2007 , 23:55   Re: Editing Admin Flags
Reply With Quote #6

I think you didn't understand him. It looks like he want's to somehow make an admin level system, like...
LEVEL1 = (slap, slay, kick, chat)
LEVEL2 = (LEVEL1 + ban, cvar)
LEVEL3 = (LEVEL2 + ..., ..., ...)
And in users.ini he just add one flag, for example A (LEVEL1) and user is getting all the access which are for LEVEL1, I think that's what he wants, but I might be wrong too.

Like yeah, a package of access. Not just you write all the flags, but you write one flag, which stands for a access package.
__________________

When you kill 6 people in Unreal Tournament it's "Monster Kill", In Quake3 it's "Excellent", in Counter-Strike it's "Kicked by console"
h4x0rZ- is offline
Send a message via ICQ to h4x0rZ- Send a message via MSN to h4x0rZ-
EchoZ
New Member
Join Date: Sep 2007
Old 10-12-2007 , 12:39   Re: Editing Admin Flags
Reply With Quote #7

Perfect, that's exactly what I want/need. Thing is, I need to be able to seperate some things in order to have a wider selections of admin

Quote:
Originally Posted by h4x0rZ- View Post
I think you didn't understand him. It looks like he want's to somehow make an admin level system, like...
LEVEL1 = (slap, slay, kick, chat)
LEVEL2 = (LEVEL1 + ban, cvar)
LEVEL3 = (LEVEL2 + ..., ..., ...)
And in users.ini he just add one flag, for example A (LEVEL1) and user is getting all the access which are for LEVEL1, I think that's what he wants, but I might be wrong too.

Like yeah, a package of access. Not just you write all the flags, but you write one flag, which stands for a access package.

Last edited by EchoZ; 10-12-2007 at 12:45.
EchoZ is offline
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 10-13-2007 , 08:33   Re: Editing Admin Flags
Reply With Quote #8

There is no need to edit anything, is it?
Quote:
Originally Posted by EchoZ View Post
Thing is, I need to be able to seperate some things in order to have a wider selections of admin
That's what the flags are for.
Ie, give one group of admins kick and ban access (flags c and d), give another group map(vote) access (flags f and j) and give a third group all of them (c, d, f, j) so they can kick, ban, changelevel and create mapvotes.

Put some comments in the user.ini like
; Package 1: kickban: cd
; Package 2: maprelated: ej
; Package 3: master: cdej
so you won't forget them and there you go.

Why would one want to create single-flag-"flag packages"? It's just about 20 flags anyways.
__________________
dangerix is offline
EchoZ
New Member
Join Date: Sep 2007
Old 10-13-2007 , 16:04   Re: Editing Admin Flags
Reply With Quote #9

Quote:
Originally Posted by dangerix View Post
There is no need to edit anything, is it?

That's what the flags are for.
Ie, give one group of admins kick and ban access (flags c and d), give another group map(vote) access (flags f and j) and give a third group all of them (c, d, f, j) so they can kick, ban, changelevel and create mapvotes.

Put some comments in the user.ini like
; Package 1: kickban: cd
; Package 2: maprelated: ej
; Package 3: master: cdej
so you won't forget them and there you go.

Why would one want to create single-flag-"flag packages"? It's just about 20 flags anyways.
Obviously you don't understand that some mods use the same flags. Meaning, me wanting to give someone access to one mod. Instantly gives them access to another which I don't want a lower level to have. Therefore I wish to create totally custom flags.
EchoZ is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-13-2007 , 16:05   Re: Editing Admin Flags
Reply With Quote #10

That is when you change the acces to that particular command in the plugin.
__________________
bmann_420 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode