Raised This Month: $12 Target: $400
 3% 

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
WhiteFang1319
Senior Member
Join Date: Jan 2017
Old 11-16-2017 , 07:05   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #41

Hello. Nice plugin.

Can you add a console command that'll reload all the configs of the ChatManager.ini just like amx_reloadadmins for users.ini?
WhiteFang1319 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-16-2017 , 08:16   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #42

Sure, I'll have it in mind for the next update where I also plan to add the option to set different chat formatting on different flags.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 12-23-2017 , 16:02   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #43

there is a problem for example when I type /me or /admin first it prints the result of the command then prints what command I typed. It must be reversed.

Last edited by khashayar007; 12-27-2017 at 06:05.
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-23-2017 , 17:25   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #44

It can't be dealt with. Either hide the "/" commands or ignore it.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 12-24-2017 , 06:31   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #45

&x05 dosent change color to gray.

Last edited by khashayar007; 12-24-2017 at 06:42.
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-24-2017 , 08:44   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #46

It depends on your configuration. You can't combine two or more team colors. Show what you did.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 12-24-2017 , 10:42   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #47

I even disabled all of my plugins but the grey color is still team color

PHP Code:
;Colors:
;&
x07 red
;&x06 blue
;&x05 white
;&x04 green
;&x03 team color
;&x01 normal
;You can use only one of the following in a single message: &x07, &x06, &x05, &x03.
;If 
you use more than one in a messageit will automatically select the color that is first in the list and will replace all other colors with that one.

[
Settings]
;If 
enabledall players will see all chats independant of whether they are dead or aliveThis won't let them view the other team'private chat however.
ALL_CHAT 0

;Players with these flags will see all chats at all timeincluding all team chats.
ADMIN_LISTEN_FLAGS m

;If the message starts with any of these symbolsit will be hidden in chatExample: @, /, !
BLOCK_FIRST_SYMBOLS = @, /

DEAD_PREFIX = *DEAD*
ALIVE_PREFIX =
TEAM_PREFIX_T = (Terrorist)
TEAM_PREFIX_CT = (Counter-Terrorist)
TEAM_PREFIX_SPEC = (Spectator)
ERROR_TEXT = ?
FORMAT_TIME = %X

FORMAT_SAY 
= %dead_prefix% &x05%admin_prefix% &x04%name% &x01: %chat_color%%message%
FORMAT_SAY_TEAM = %dead_prefix% %team% &x05%admin_prefix% &x04%name% &x01: %chat_color%%message%

;%
admin_prefix% = the admin prefix
;%dead_prefix% = DEAD_PREFIX when dead <> ALIVE_PREFIX when alive
;%team% = TEAM_PREFIX_TTEAM_PREFIX_CT or TEAM_PREFIX_SPEC depending on player's team
;%name% = player'
s name
;%ip% = player's IP address
;%steam% = player'
s SteamID
;%userid% = player's userid
;%chat_color% = player'
s chat color
;%message% = the actual message
;%time% = current time according to FORMAT_TIME
;%health% = player's health [ disabled by default ]
;%armor% = player'
s armor disabled by default ]
;%
frags% = player's frags [ disabled by default ]
;%deaths% = player'
s deaths disabled by default ]
;%
city% = player's city [ disabled by default ]
;%country% = player'
s country disabled by default ]
;%
country_code% = player's country code [ disabled by default ]
;%continent% = player'
s continent disabled by default ]
;%
continent_code% = player's continent code [ disabled by default ]

[Admin Prefixes]
;<flags> = <prefix>

l = [Owner]
a = [Head Admin]
d = [Admin]
tz = [VIP]

[Chat Colors]
;<flags> = <chat color>
d = &x05
z = &x01

[Name/IP/Steam Prefixes]
;"type=[name|ip|steam]" "info" "prefix" 
khashayar007 is offline
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 12-29-2017 , 03:39   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #48

Prefix of player with flag "l" comes out to be [Registered] even i config it properly!
Is it a bug or my config problem?

ChatManager.ini
PHP Code:
;Colors:
;&
x07 red
;&x06 blue
;&x05 white
;&x04 green
;&x03 team color
;&x01 normal
;You can use only one of the following in a single message: &x07, &x06, &x05, &x03.
;If 
you use more than one in a messageit will automatically select the color that is first in the list and will replace all other colors with that one.

[
Settings]
;If 
enabledall players will see all chats independant of whether they are dead or aliveThis won't let them view the other team'private chat however.
ALL_CHAT 1

;Players with these flags will see all chats at all timeincluding all team chats.
ADMIN_LISTEN_FLAGS i

;If the message starts with any of these symbolsit will be hidden in chatExample: @, /, !
BLOCK_FIRST_SYMBOLS = @

DEAD_PREFIX = *DEAD*
ALIVE_PREFIX =
TEAM_PREFIX_T = (Terrorist)
TEAM_PREFIX_CT = (Counter-Terrorist)
TEAM_PREFIX_SPEC = (Spectator)
ERROR_TEXT = ?
FORMAT_TIME = %X

FORMAT_SAY 
= %dead_prefix% %city% &x04%admin_prefix% &x03%name% &x01: %chat_color%%message%
FORMAT_SAY_TEAM = %dead_prefix% %city% %team% &x04%admin_prefix% &x03%name% &x01: %chat_color%%message%

;%
admin_prefix% = the admin prefix
;%dead_prefix% = DEAD_PREFIX when dead <> ALIVE_PREFIX when alive
;%team% = TEAM_PREFIX_TTEAM_PREFIX_CT or TEAM_PREFIX_SPEC depending on player's team
;%name% = player'
s name
;%ip% = player's IP address
;%steam% = player'
s SteamID
;%userid% = player's userid
;%chat_color% = player'
s chat color
;%message% = the actual message
;%time% = current time according to FORMAT_TIME
;%health% = player's health [ disabled by default ]
;%armor% = player'
s armor disabled by default ]
;%
frags% = player's frags [ disabled by default ]
;%deaths% = player'
s deaths disabled by default ]
;%
city% = player's city [ disabled by default ]
;%country% = player'
s country disabled by default ]
;%
country_code% = player's country code [ disabled by default ]
;%continent% = player'
s continent disabled by default ]
;%
continent_code% = player's continent code [ disabled by default ]

[Admin Prefixes]
;<flags> = <prefix>
b = [Registered]
i = [VIP]
e = [Ultra VIP]
d = [Admin]
a = [Super Admin]
l = [Core Member] 

[Chat Colors]
;<flags> = <chat color>
b = &x04
i = &x04
e = &x04
d = &x04
a = &x04
l = &x04


[Name/IP/Steam Prefixes]
;"type=[name|ip|steam]" "info" "prefix"

;"name" "Pawan" "[Chutiya Owner :D]"
;"steam" "STEAM_0:0:50153248" "[OciXCrom]"
;"ip" "127.0.0.1" "[BOT]" 

Plugins.ini
PHP Code:
AMX Mod X plugins
amxbans_core
.amxx
amxbans_main
.amxx

Admin Base Always one has to be activated
;admin.amxx        admin base (required for any admin-related)
;
admin_sql.amxx        admin base SQL version (comment admin.amxx)

Basic
admincmd
.amxx        basic admin console commands
adminhelp
.amxx        help command for admin console commands
adminslots
.amxx        slot reservation
multilingual
.amxx    Multi-Lingual management

Menus
menufront
.amxx        front-end for admin menus
cmdmenu
.amxx        command menu (speechsettings)
plmenu.amxx        players menu (kickbanclient cmds.)
;
telemenu.amxx        teleport menu (Fun Module required!)
mapsmenu.amxx        maps menu (votechangelevel)
pluginmenu.amxx        Menus for commands/cvars organized by plugin

Chat Messages
adminchat
.amxx        console chat commands
antiflood
.amxx        prevent clients from chat-flooding the server
scrollmsg
.amxx        displays a scrolling message
imessage
.amxx        displays information messages
adminvote
.amxx        vote commands

Map related
nextmap
.amxx        displays next map in mapcycle
mapchooser
.amxx        allows to vote for next map
timeleft
.amxx        displays time left on map

Configuration
pausecfg
.amxx        allows to pause and unpause some plugins
statscfg
.amxx        allows to manage stats plugins via menu and commands

Counter-Strike
restmenu
.amxx        restrict weapons menu
statsx
.amxx        stats on death or round end (CSX Module required!)
miscstats.amxx        bunch of events announcement for Counter-Strike
stats_logging
.amxx    weapons stats logging (CSX Module required!)


Custom Add 3rd party plugins here
pub_war_reapi
.amxx
;PuBWaRv5.amxx
;pub_war_simple.amxx
knifeitup_multi
.amxx
anti_flash
.amxx
;ad_manager.amxx
amx_demorecorder
.amxx
amx_gore_ultimate
.amxx
rs_adv
.amxx
VIP
.amxx
;Privilege_System.amxx
crx_chatmanager
.amxx
admin_spec_esp
.amxx
round_money
.amxx
xredirect
.amxx
loadingsong
.amxx 
Even i tried disabling adminchat!
__________________
CrAzY MaN is offline
brlight
Senior Member
Join Date: Jun 2011
Old 12-29-2017 , 04:50   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #49

How can I add chat color by steam id? Can you write an example?
Thanks.

Edit:I guess is not possible, can you please add that option?

Last edited by brlight; 12-29-2017 at 05:18.
brlight is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-29-2017 , 08:06   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #50

@khashayar007 - it's a problem with the colorchat library, I'll have a look when I have the chance.

@CrAzY MaN - there's no bug/problem. If you have both flags "b" and "l", the [Reserved] Prefix will have priority because it's on top. If you want the [Core Member] to have priority, move it above the [Registered] one. Order them from highest to lowest. Adminchat has nothing to do with this plugin.

@brlight - doing that will add unnecessary load to the plugin and I don't really think it's needed. It's possible for the prefixes, but I don't like the idea of having it for the colors too. What you can do is put the chat color on a specific flag and give that flag to a certain steamid.
__________________

Last edited by OciXCrom; 12-30-2017 at 07:57.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 21:38.


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