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

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
MarLeo94
Junior Member
Join Date: Jul 2013
Location: Reino de Europa.
Old 10-13-2018 , 10:31   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #81

[ro] -- @MarLeo94
CM_MENU_TITLE = \y[\rManager de chat\y] \wSetările utilizatorului
CM_MENU_PREFIX = Prefix
CM_MENU_CHAT_COLOR = Culoarea chatului
CM_MENU_CUSTOM_NAME = Nume personalizat
CM_MENU_ENABLED = \y[Activat]
CM_MENU_DISABLED = \r[Dezactivat]

[es] -- @MarLeo94
CM_MENU_TITLE = \y[\rGestor de chat\y] \wAjustes de usuario
CM_MENU_PREFIX = Prefijo
CM_MENU_CHAT_COLOR = Color de chat
CM_MENU_CUSTOM_NAME = Nombre personalizado
CM_MENU_ENABLED = \y[Activado]
CM_MENU_DISABLED = \r[Desactivado]
__________________

MarLeo94 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-13-2018 , 13:47   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #82

Added, thanks.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 10-14-2018, 06:48
Godofwar
This message has been deleted by Godofwar. Reason: allready fixed :D
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-01-2019 , 14:08   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #83

Code:
[de]
CM_MENU_TITLE = \y[\rChat Manager\y] \wNutzer Einstellungen
CM_MENU_PREFIX = Namenspräfix
CM_MENU_CHAT_COLOR = Chat Farbe
CM_MENU_CUSTOM_NAME = Benutzerdefinierter Name
CM_MENU_ENABLED = \y[Ein]
CM_MENU_DISABLED = \r[Aus]
German translation

EDIT: do i have to do more than removing the // before the define if i want to show the country-code of players in chat?
The logfile says that the geo-ip file is loaded, but no it does't add anything to chat except the other prefixes.
__________________


Last edited by Mordekay; 01-01-2019 at 14:35.
Mordekay is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2019 , 18:29   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #84

Added, thanks.

Removing the "//" will only enable the GeoIP placeholders like $city$, $country$, etc. You need to add these placeholders in the [Format Definitions] section in the .ini file in order for them to show in chat.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-01-2019 , 19:24   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #85

Ah, ok. I think i understand now. Will report if i have problems.

Edit:
Ok, don't know why, but it shows $country$ instead of the country.
Here is the current config for this:
Code:
format_admin = $country$ $dead_prefix$ &x04$admin_prefix$ &x03$custom_name$ &x01: $chat_color$$message$
format_admin_team = $country$ $dead_prefix$ ($team$) &x04$admin_prefix$ &x03$custom_name$ &x01: $chat_color$$message$
format_player = $country$ $dead_prefix$ &x03$custom_name$ &x01: $chat_color$$message$
format_player_team = $country$ $dead_prefix$ ($team$) &x03$custom_name$ &x01: $chat_color$$message$
__________________


Last edited by Mordekay; 01-02-2019 at 13:38.
Mordekay is offline
segru
New Member
Join Date: Dec 2018
Old 01-03-2019 , 15:19   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #86

Seems very useful, gonna try installing it and report back!
__________________
segru is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-03-2019 , 15:58   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #87

It seems i made an error compiling the plugin, but it shows a question mark instead of the country now. The geo-ip module is loaded.
__________________

Mordekay is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-03-2019 , 16:02   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #88

If you're testing it on a local server, showing a question mark is normal because your IP address is probably local and GeoIP can't determine the country on such address. It should work fine on a public server.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-03-2019 , 16:03   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #89

It is not a local server, it is my regular public server.
__________________

Mordekay is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-03-2019 , 18:33   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #90

If that's the case, the problem is that GeoIP can't determine where your IP is from. There's nothing that can be done here since it's not the plugin's fault. Some IP addresses will be unknown.
__________________
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 20:14.


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