AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Chat Manager [Admin Prefix & Color Chat] (https://forums.alliedmods.net/showthread.php?t=297952)

WhiteFang1319 11-16-2017 07:05

Re: Chat Manager [Admin Prefix & Color Chat]
 
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?

OciXCrom 11-16-2017 08:16

Re: Chat Manager [Admin Prefix & Color Chat]
 
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.

khashayar007 12-23-2017 16:02

Re: Chat Manager [Admin Prefix & Color Chat]
 
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.

OciXCrom 12-23-2017 17:25

Re: Chat Manager [Admin Prefix & Color Chat]
 
It can't be dealt with. Either hide the "/" commands or ignore it.

khashayar007 12-24-2017 06:31

Re: Chat Manager [Admin Prefix & Color Chat]
 
&x05 dosent change color to gray.

OciXCrom 12-24-2017 08:44

Re: Chat Manager [Admin Prefix & Color Chat]
 
It depends on your configuration. You can't combine two or more team colors. Show what you did.

khashayar007 12-24-2017 10:42

Re: Chat Manager [Admin Prefix & Color Chat]
 
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" 


CrAzY MaN 12-29-2017 03:39

Re: Chat Manager [Admin Prefix & Color Chat]
 
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!

brlight 12-29-2017 04:50

Re: Chat Manager [Admin Prefix & Color Chat]
 
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?

OciXCrom 12-29-2017 08:06

Re: Chat Manager [Admin Prefix & Color Chat]
 
@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.

CrAzY MaN 12-29-2017 22:02

Re: Chat Manager [Admin Prefix & Color Chat]
 
Ok... Will see...
Thanks for the help bro!

OciXCrom 04-08-2018 14:31

Re: Chat Manager [Admin Prefix & Color Chat]
 
https://img.shields.io/badge/mega up...2018-green.svg
  • 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 04-13-2018 09:08

Re: Chat Manager [Admin Prefix & Color Chat]
 
https://img.shields.io/badge/update-...2018-green.svg
  • 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:

    https://i.imgur.com/0fIH6KB.png

Lyklor 04-18-2018 09:01

Re: Chat Manager [Admin Prefix & Color Chat]
 
Thank you for this great plugin! i will be using it.

tarsisd2 04-18-2018 21:15

Re: Chat Manager [Admin Prefix & Color Chat]
 
great job like always! adding on my servers!

karimoo97 05-22-2018 00:40

Re: Chat Manager [Admin Prefix & Color Chat]
 
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

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

tarsisd2 05-22-2018 00:51

Re: Chat Manager [Admin Prefix & Color Chat]
 
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


CrAzY MaN 05-22-2018 02:52

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by karimoo97 (Post 2593220)
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

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?

tarsisd2 05-22-2018 08:37

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by CrAzY MaN (Post 2593229)
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

OciXCrom 05-22-2018 12:15

Re: Chat Manager [Admin Prefix & Color Chat]
 
@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.

karimoo97 05-22-2018 23:45

Re: Chat Manager [Admin Prefix & Color Chat]
 
EDIT: I fixed it,thank you !!!
Spoiler


Quote:

Originally Posted by OciXCrom (Post 2593336)
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.

AAh i see,so this means that admins can only see the others amx_psay messages ?? BTW it's a great plugin too
https://i.gyazo.com/54e51c57bec68a63...b52b0eeed2.png

OciXCrom 05-23-2018 07:38

Re: Chat Manager [Admin Prefix & Color Chat]
 
It clearly says other players' private messages. That means there's an option for admins to see amx_psay messages.

CrAzY MaN 06-16-2018 02:03

Re: Chat Manager [Admin Prefix & Color Chat]
 
Code:
L 06/14/2018 - 19:16:13: Start of error session. L 06/14/2018 - 19:16:13: Info (map "aa_dima2") (file "addons/amxmodx/logs/error_20180614.log") L 06/14/2018 - 19:16:13: replace() buffer not big enough (119>=114) L 06/14/2018 - 19:16:13: [AMXX] Displaying debug trace (plugin "crx_chatmanager.amxx", version "4.1") L 06/14/2018 - 19:16:13: [AMXX] Run time error 10: native error (native "replace") L 06/14/2018 - 19:16:13: [AMXX]    [0] string_stocks.inc::replace_all (line 215) L 06/14/2018 - 19:16:13: [AMXX]    [1] crx_chatmanager.sma::apply_replacements (line 721) L 06/14/2018 - 19:16:13: [AMXX]    [2] crx_chatmanager.sma::Hook_Say (line 566)

OciXCrom 06-16-2018 07:58

Re: Chat Manager [Admin Prefix & Color Chat]
 
Looks like someone sent a message that is too big for the chat to handle. The max message size is set to 150 characters in the first #define lines of the plugin. You can lower it if you have too long prefixes/chat styles in your .ini file. Can you post the file?

CrAzY MaN 06-16-2018 08:33

Re: Chat Manager [Admin Prefix & Color Chat]
 
I have a prefix [Certified Hacker]

ChatManager.ini
Code:
#==============================================# # Chat Manager by OciXCrom: Configuration file # #==============================================# # Colors: &x01 (DEFAULT), &x03 (TEAM COLOR); &x04 (GREEN); &x05 (WHITE); &x06 (BLUE); &x07 (RED) # Combining two or more team colors is NOT POSSIBLE in CS 1.6: &x03, &x05, &x06, &x07 - only ONE of these can be used inside a message. [Main Settings] # If set to 1, all players will see all chats independent of whether they are dead or alive, excluding the other team's private chat. # If set to 2, all players will see all chats, including the opposite team's private chat. ALL_CHAT = 1 # Players with these flags will see all chats at all time, including all team chats. ADMIN_LISTEN_FLAGS = l # If the message starts with any of these symbols, it will be hidden in chat. Example: @, /, ! BLOCK_FIRST_SYMBOLS = @ # Prefixes for dead and alive players. Yes, you can set a prefix like *ALIVE* too. DEAD_PREFIX = *DEAD* ALIVE_PREFIX = # Team prefixes that are usually shown in the team chat, in brackets. TEAM_PREFIX_T = Aatankwadi TEAM_PREFIX_CT = Police TEAM_PREFIX_SPEC = Spectator # Text that will show when the plugin can't detect a player's location when using geoip. ERROR_TEXT = # Time formatting when $time$ is used. More info here: <a href="http://www.cplusplus.com/reference/ctime/strftime/" target="_blank" rel="nofollow noopener">http://www.cplusplus.com/reference/ctime/strftime/</a> FORMAT_TIME = %X # This is the file where chat messages will be logged. If you want to disable logging, leave this setting blank. CHAT_LOG_FILE = chatmanager.log # Format to use for the chat logs. Formats are defined in the [Format Definitions] section. CHAT_LOG_SAY_FORMAT = log_say CHAT_LOG_TEAM_FORMAT = log_team # Here you can set a sound that will play when a message is written in chat. If it's blank, no sound will be played. SAY_SOUND = misc/say_sound.wav SAY_TEAM_SOUND = misc/say_sound.wav [Format Definitions] # In this section you can define chat formats that you can assign to different users in the [User Formats] section. # You should create a different format for the say and say_team chat, if you don't wan't them to look the same. # You can use the following placeholders: $admin_prefix$, $dead_prefix$, $team$, $name$, $custom_name$, $ip$, $steam$, $userid$, $chat_color$, $message$, $time$ # You can also use these, but they need to be enabled in the .sma file first: $health$, $armor$, $frags$, $deaths$, $city$, $country$, $country_code$, $continent$, $continent_code$ # To enable an additional placeholder, simply locate the #define ARG_ line in the beginning of the .sma file and uncomment it (remove //), then recompile the plugin. # Syntax: format name = format style format_admin = $dead_prefix$ &x04$admin_prefix$ &x03$custom_name$ &x01: $chat_color$$message$ format_admin_team = $dead_prefix$ ($team$) &x04$admin_prefix$ &x03$custom_name$ &x01: $chat_color$$message$ format_player = $dead_prefix$ &x03$custom_name$ &x01: $chat_color$$message$ format_player_team = $dead_prefix$ ($team$) &x03$custom_name$ &x01: $chat_color$$message$ log_say = [ $ip$ | $steam$ ] $dead_prefix$ $name$: $message$ log_team = [ $ip$ | $steam$ ] ($team$) $dead_prefix$ $name$: $message$ # In the sections down below you can set different prefixes, chat colors and custom names for each player or a group of players. # You can add an unlimited amount of these extras. Each new extra needs to be added on a new line in the correct section. # Bear in mind that the extras that are higher in the list have priority over the ones below them. # This means that if a player for example meets the requirements for 2 or more prefixes, he will receive the one that's first in the list. # In the syntaxes, you will find a parameter called "type". This parameter can be one of the following: flag, name, ip, steam, anyflag or noprefix. # If it's set to "flag" (or "flags"), the plugin will check if the player has ALL of the admin flags set in the "info" parameter. You can set multiple flags instead of only one. # The "name", "ip" and "steam" settings will check if the player's name, IP or SteamID is equal to the one set in the "info" parameter. # When set to "anyflag", it will check if the player has ANY of the admin flags specified in the "info" parameter. # Setting it to "noprefix" will check if the player doesn't have a prefix set. The "info" parameter doesn't have a function in this case, so you can leave it blank. [Admin Prefixes] # Here you can add custom prefixes to specific players or flags that are shown when using $admin_prefix$. # Syntax: "type" "info" "prefix" "name" "{{{Panthers--->CrAzY MaN}}}" "[Genius]" "name" "Wildcard" "[Certified Hacker]" "steam" "STEAM_0:0:41983649" "[Noob]" "steam" "BOT" "[BOT]" "ip" "127.0.0.1" "[BOT]" "flag" "l" "[Head Admin]" "flag" "a" "[Super Admin]" "flag" "d" "[Admin]" "flag" "e" "[Ultra VIP]" "flag" "b" "[VIP]" [Chat Colors] # Here you can add different chat colors to specific players or flags that are shown when using $chat_color$. # Syntax: "type" "info" "chat color" "flag" "l" "&x04" "flag" "a" "&x04" "flag" "d" "&x04" "flag" "e" "&x04" "flag" "b" "&x04" "flag" "" "&x01" [Name Customization] # Here you can modify the name shown for certain players when using $custom_name$. # Syntax: "type" "info" "custom name" ;"name" "OciXCrom" "&x03Oci&x04XC&x03rom" "name" "Wildcard" "&x03Wild&x04card" ;"name" "R[^G^]C x |CrAzY MaN|" "&x04R[^G^]C &x01x |&x03CrAzY MaN&x01|" "name" "R[^G^]C x |Wildcard|" "&x04R[^G^]C &x01x |&x03Wildcard&x01|" [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"

OciXCrom 06-18-2018 07:47

Re: Chat Manager [Admin Prefix & Color Chat]
 
I uploaded a fix, redownload crx_chatmanager.sma. It should be fine now, I tested it with your .ini file.

By the way, a simple tip. Instead of doing this:

PHP Code:

"flag" "l" "&x04"
"flag" "a" "&x04"
"flag" "d" "&x04"
"flag" "e" "&x04"
"flag" "b" "&x04"
"flag" "" "&x01" 

You can just do this:

PHP Code:

"anyflag" "ladeb" "&x04"
"flag" "" "&x01" 


OciXCrom 07-03-2018 09:16

Re: Chat Manager [Admin Prefix & Color Chat]
 
https://img.shields.io/badge/update-...2018-green.svg
  • Added support for OciXCrom's Rank System.
  • You can now display custom rank names in the chat along with the admin prefix!

https://img.shields.io/badge/update-...2018-green.svg
  • The update includes changes only to the file crx_chatmanager.sma.
  • Added an option to set custom ranks according to the players' level in the rank system.
  • To do this you will have to use the keyword "level" when adding an extra.
  • Example: "level" "3" "[My Cool Prefix]"

highcoder 09-17-2018 16:34

Re: Chat Manager [Admin Prefix & Color Chat]
 
Hi OciXCrom, thanks for giving us this handy plugin. I wanted to report a bug. Your plugin conflicts with most swear filter plugins, so we can't use swear filter and similar plugins. Do you have a solution for this bug? As an example, your plugin not working simultaneously with the following plugins.

[1] https://forums.alliedmods.net/showthread.php?t=1404
[2] https://forums.alliedmods.net/showthread.php?p=89648

OciXCrom 09-17-2018 17:21

Re: Chat Manager [Admin Prefix & Color Chat]
 
Try moving the swear plugin above Chat Manager in plugins.ini. If it still doesn't work, I'm planning to make an update that will fix this problem.

highcoder 09-17-2018 17:34

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2615609)
Try moving the swear plugin above Chat Manager in plugins.ini. If it still doesn't work, I'm planning to make an update that will fix this problem.

Thanks for your reply. I moved it, but the result is the same.

OciXCrom 09-18-2018 07:10

Re: Chat Manager [Admin Prefix & Color Chat]
 
You'll have to wait for the update then. Or you can try changing return PLUGIN_HANDLED to return PLUGIN_HANDLED_MAIN on line 613 in crx_chatmanager.sma. Then recompile.

highcoder 09-18-2018 07:54

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2615672)
You'll have to wait for the update then. Or you can try changing return PLUGIN_HANDLED to return PLUGIN_HANDLED_MAIN on line 613 in crx_ranksystem.sma. Then recompile.

Thanks for your reply. I'll wait for the update. Also what does Rank System have to do with it? I think you typed it wrong, the bug is in Chat Manager.

OciXCrom 09-18-2018 15:00

Re: Chat Manager [Admin Prefix & Color Chat]
 
Yeah. The line is still 613 though.

highcoder 09-18-2018 16:22

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2615755)
Yeah. The line is still 613 though.

Thanks for your reply. I'll wait for your update.

highcoder 09-19-2018 17:13

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2615672)
You'll have to wait for the update then. Or you can try changing return PLUGIN_HANDLED to return PLUGIN_HANDLED_MAIN on line 613 in crx_chatmanager.sma. Then recompile.

I tried what you told me, but the problem wasn't solved.

highcoder 09-20-2018 15:39

Re: Chat Manager [Admin Prefix & Color Chat]
 
Hi OciXCrom, did you check it?

OciXCrom 09-20-2018 17:03

Re: Chat Manager [Admin Prefix & Color Chat]
 
I said wait for the update. I don't know when I'll make that. I have more important priorities in real life.

highcoder 09-20-2018 17:39

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2616088)
I said wait for the update. I don't know when I'll make that. I have more important priorities in real life.

You told me to try. I tried it, but the problem isn't solved. I'm sorry to bother you.

OciXCrom 09-20-2018 18:14

Re: Chat Manager [Admin Prefix & Color Chat]
 
Exactly, I said try, I didn't guarantee it's going to work. Doing that plus moving the plugin below chatmanager in plugins.ini should work in my opinion. I don't have time to test right now.

highcoder 09-21-2018 06:34

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2616093)
Exactly, I said try, I didn't guarantee it's going to work. Doing that plus moving the plugin below chatmanager in plugins.ini should work in my opinion. I don't have time to test right now.

Thank you for your interest. Waiting for your reply when you're available.


All times are GMT -4. The time now is 10:01.

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