Raised This Month: $ Target: $400
 0% 

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
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 #1

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 #2

&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 #3

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 #4

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 #5

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 #6

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 #7

@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
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 12-29-2017 , 22:02   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #8

Ok... Will see...
Thanks for the help bro!
__________________
CrAzY MaN is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-08-2018 , 14:31   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #9


  • Please note that the configuration file from the old version is not supported from the new one. You will have to replace the new file uploaded in the archive if you want the plugin to work properly.
  • You can now add chat colors by name/IP/SteamID, instead of flag(s) only.
  • The sections for prefix by flag and prefix by name/IP/SteamID have been combined.
  • The symbols surrounding the placeholders have been changed from % to $ because if you for example wrote %naem% instead of %name%, the plugin wouldn't work. Now there's no such problem because $naem$ can show in the chat instead of the plugin failing to show the entire message and throw an error.
  • Added a section for adding a custom name by name/IP/SteamID. This means you can add a name with multiple colors or a completely customized name.
  • The FORMAT_SAY and FORMAT_SAY_TEAM settings have been completely removed and a new [Format Definitions] section is added on their place. Here you can create an unlimited amouont of chat formats that you can set on admin flag(s) or name/IP/SteamID in the other new section - [User Formats].
  • With the change made above, it's now possible to have different chat styles for each player.
  • Added settings for logging the chat messages, following the formats defined by you.
  • Added a setting for playing a sound when writing a message in chat. You can set a different sound for say and say_team messages.
  • The ALL_CHAT setting can now be set to 2 which will allow players to see all chats, including the team chats.
  • When a mistake is made in the .ini file, the plugin will throw an error in the file logs/chatmanager_errors.log.
  • The prefix, chat color and other information are now automatically updated when the admin flags are changed by another plugin or command.
  • Added the command cm_reload that allows administrators to immediately reload the configuration file.
  • Added the cm_reload_config_file() native that does the same thing mentioned above.
  • Code optimization and changes.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-13-2018 , 09:08   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #10


  • Aside from adding extras by "flag/name/ip/steam", you can now add them by "anyflag" (adds the extra if the player has any of the specified flags) and "noprefix" (adds the extra if the player doesn't have a prefix set).
  • Removed the limitation that doesn't allow you to set a custom name on a specific flag.
  • The crx_chatmanager_toggle plugin is fully rewritten. The commands /prefix and /colorchat have been removed and replaced with the command /cm that opens a menu with settings:

__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 10:27.


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