PLUGIN - GeoLocationLanguageManagerPlugin

Spatiul dedicat dezvoltatorilor. Aici gasesti resurse pentru CounterStrikeSharp, ajutor pentru cod si scripting avansat.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2389
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

PLUGIN - GeoLocationLanguageManagerPlugin

Post by greenie »

Language manager with Geo location CS2 Plugin
Language managin Plugin for CounterStrikeSharp. Uses a Geo Country DB to match ip addresses to a specific country. Should translate all Plugins within CounterStrikeSharp. Also saves users specified language.

Warning

Only works with ISO codes e.g.: !lang en or !lang lv

On first connect checks if player has been saved in the database. If has then uses the saved playerISOCode for lang. If not gets the language based on ipAddress from GeoLocation database Saves the value to database

Requires GeoLite2-Country.mmdb to be inside the Plugin root folder. You can get it from: https://dev.maxmind.com/geoip/geolite2- ... ation-data Or from release

Idea by: @rcon420

https://github.com/aprox2/GeoLocationLa ... s/main.zip
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️
Post Reply

Return to β€œScripting CS2”