AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   FFE v3 - Flags For Everybody. (https://forums.alliedmods.net/showthread.php?t=214206)

Unkolix 04-24-2013 08:19

FFE v3 - Flags For Everybody.
 
2 Attachment(s)
So, I have seen quite a lot of requests to make plugins work for everybody. That is because most plugins will work only for players with certain flags. And here is where this plugin can be used for.

This plugin sets flags for everybody in the server.

The plugin has two CVARs:
PHP Code:

ffe "1" // Plugin itself on/off. 1 - on. 0 - off.
ffe_flags "mnopqrst" // Flags to be given for everybody. You can change them. Flags are listed below. 

Flags:
PHP Code:

/*
    Flags:
    a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
    b - reservation (can join on reserved slots)
    c - amx_kick command
    d - amx_ban and amx_unban commands
    e - amx_slay and amx_slap commands
    f - amx_map command
    g - amx_cvar command (not all cvars will be available)
    h - amx_cfg command
    i - amx_chat and other chat commands
    j - amx_vote and other vote commands
    k - access to sv_password cvar (by amx_cvar command)
    l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
    m - custom level A (for additional plugins)
    n - custom level B
    o - custom level C
    p - custom level D
    q - custom level E
    r - custom level F
    s - custom level G
    t - custom level H
    u - menu access
*/ 

Changelog, thanks to:
Spoiler


Installation (nothing special):
Spoiler

hosimosi 04-24-2013 08:26

Re: FFE - Flags For Everybody
 
nice

Balck 04-24-2013 10:27

Re: FFE - Flags For Everybody
 
good job

roymor 04-24-2013 10:49

Re: FFE - Flags For Everybody
 
there're more flags you didnt mention I think z - user and maybe there're few more but gj

Unkolix 04-24-2013 10:53

Re: FFE - Flags For Everybody
 
Quote:

Originally Posted by roymor (Post 1938964)
there're more flags you didnt mention I think z - user and maybe there're few more but gj

There's z, but it's useless in this plugin. If you set this flag with others, the other won't work (I think). And that flag is default.

FanatikSVK 04-24-2013 13:08

Re: FFE - Flags For Everybody
 
Nice ;)

^SmileY 04-24-2013 15:54

Re: FFE - Flags For Everybody
 
Only change default flags in amxx.cfg not need to create another plugin LOL

i think the cvar its is: amx_default_access "z"

Unkolix 04-24-2013 16:27

Re: FFE - Flags For Everybody
 
Quote:

Originally Posted by ^SmileY (Post 1939162)
Only change default flags in amxx.cfg not need to create another plugin LOL

i think the cvar its is: amx_default_access "z"

It is... But if you have another plugins that require few different flags?

^SmileY 04-24-2013 18:40

Re: FFE - Flags For Everybody
 
cmdaccess.ini edit then

Blizzard_87 04-24-2013 21:19

Re: FFE - Flags For Everybody
 
should set ffe a pcvar also as they are faster.

Code:
new ffe; ffe = register_cvar("ffe", "1"); if(get_pcvar_num(ffe))


All times are GMT -4. The time now is 20:48.

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