Raised This Month: $170 Target: $400
 42% 

Chat Manager [Admin Prefix & Color Chat]


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

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


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


  • 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
Lyklor
Junior Member
Join Date: Apr 2013
Old 04-18-2018 , 09:01   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #54

Thank you for this great plugin! i will be using it.
Lyklor is offline
tarsisd2
Senior Member
Join Date: Feb 2016
Location: brazil
Old 04-18-2018 , 21:15   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #55

great job like always! adding on my servers!
tarsisd2 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-22-2018 , 00:40   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #56

Hello @OciXCrom
This looks like a great plugin,I want it because of the prefixs and the Admin see all feature (the one from OciXCrom's Admin Chat didn't work for me !!)

I think I installed everything right but it didn't work,in fact The whole server chat completely disappeared except admin chat from your other plugin
Spoiler

What can be the problem ?

This is the ChatManager.ini file :
Spoiler


And this is my plugins.ini (It's a mess i know) :
Spoiler
karimoo97 is offline
tarsisd2
Senior Member
Join Date: Feb 2016
Location: brazil
Old 05-22-2018 , 00:51   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #57

so, if i want multiple colours on [Myprefix] can i do this?

PHP Code:
"flag" "m" "&x01[&x03MyPrefix&x01]" 
and in this line remove colour

PHP Code:
format_admin $dead_prefix$admin_prefix$ &x03$custom_name$ &x01$chat_color$$message
can i do this?


here is a translation from Brazil Portuguese
PHP Code:
[bp]
CM_MENU_TITLE = \y[\rGerenciador de Chat\y] \wConfiguracao do Usuario
CM_MENU_PREFIX 
Prefixo
CM_MENU_CHAT_COLOR 
Cor do Chat
CM_MENU_CUSTOM_NAME 
Nome Customizado
CM_MENU_ENABLED 
= \y[ON]
CM_MENU_DISABLED = \r[OFF

Last edited by tarsisd2; 05-22-2018 at 01:08. Reason: add translation
tarsisd2 is offline
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 05-22-2018 , 02:52   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #58

Quote:
Originally Posted by karimoo97 View Post
Hello @OciXCrom
This looks like a great plugin,I want it because of the prefixs and the Admin see all feature (the one from OciXCrom's Admin Chat didn't work for me !!)

I think I installed everything right but it didn't work,in fact The whole server chat completely disappeared except admin chat from your other plugin
Spoiler

What can be the problem ?

This is the ChatManager.ini file :
Spoiler


And this is my plugins.ini (It's a mess i know) :
Spoiler
ALL_CHAT = 0???
Why?
__________________
CrAzY MaN is offline
tarsisd2
Senior Member
Join Date: Feb 2016
Location: brazil
Old 05-22-2018 , 08:37   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #59

Quote:
Originally Posted by CrAzY MaN View Post
ALL_CHAT = 0???
Why?
this is not the problem
this is the default value, means allchat is disabled, if it set to 1, you can read what dead teammates write, if it's set to 2, you can see what everyone is writing, so 0 you see only alive players,

his problems lies elsewhere

edit: are all plugins loading?

give us amxx plugins

Last edited by tarsisd2; 05-22-2018 at 08:40. Reason: edit
tarsisd2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-22-2018 , 12:15   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #60

@karimoo97 - Your [Say/Say_Team Formats] section is empty. This is where the chat style is assigned for every user. Since you deleted everything, nobody in the server will have a valid chat style, so there will be no chat at all. Either assign some formats or restore the original settings:

PHP Code:
[Say/Say_Team Formats]
# Here you can specify the chat style for every user or flag.
# Syntax: "type" "info" "say format" "say_team format"

"noprefix" "" "format_player" "format_player_team"
"flag" "" "format_admin" "format_admin_team" 
By the way, the admin chat plugin has nothing to do with this one. They are two totally different plugins. This one's for the default chat and the other one is for the admin chat commands. There's no "admin see all" feature in the other plugin.

@tarsisd2 - Yes. You can put colors anywhere in the .ini file as long as the line is going to show in the chat. You can customize everything as you like. Thanks for the translation, I added it.
__________________

Last edited by OciXCrom; 05-22-2018 at 12:16.
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:17.


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