Raised This Month: $ Target: $400
 0% 

[ANY?] Country talk room <1.3.2/4/4/2018>


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
alexr153
AlliedModders Donor
Join Date: Jul 2015
Location: In a house
Plugin ID:
5731
Plugin Version:
1.1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin checks what country a player is from. Then will put the player in a talk room with other players from the same country.
    Old 07-24-2017 , 03:26   [ANY?] Country talk room <1.3.2/4/4/2018>
    Reply With Quote #1

    Description

    This plugin checks what country a player is from. Then will put the player in a talk room with other players from the same country. This has only been tested on CS:GO.

    Convars

    PHP Code:
    ctr_enabled = <1/0> Default(1"Enables the plugins"

    ctr_mute_unknown_country <0/1> Default(0"If the player country is unknown it will (0) Makes own talk room for unknown countries (1) Mute everyone for the client including client"

    ctr_chat_message = <1/0> Default(1"(1) Shows a chat message for what country room you're in. (0) Disables the message"

    ctr_mute_update = <1/0> Default(1"(1) Updates mutes with a timer (0) Uses only OnClientPutInServer"

    ctr_mute_update_time = <60.0Min/320.0Max> Default(60.0"The time in float for the timer for ctr_mute_update (Seconds)"

    ctr_allow_hear_all = <1/0> Default(1"(1) Lets players be able to hear every player or his own country. (0) players can only hear his own countries"

    ctr_multiple_countries = <1/0> Default(1"(1) Makes a .txt so multiple countries can hear each other (0) Disables multiple countries can hear each other"

    [CSGO/CSS ONLY]
    ctr_group_tags = <1/0> Default(1"(1) Sets players tag as country (0) Disables country tag" 
    Change Log

    PHP Code:
    1.3.2 Took off unnecessary code
    1.3.1  
    -  Fixed client is not connected.
    1.3  -  Fixed when ctr_group_tags is disabled it will not show chat messagesFixed message sometimes show up when ctr_chat_message is disabledAdded a Hear every player cmd PLAYER CAN NOT BE HEARD BY OTHER PLAYERSFixed client not connected error message.
    1.2  -  Added 2 Convarsadded players can do all talk roomadded multiple countries can hear each other with the .txt fileadded autoexec config.
    1.1.1  -  Changed ctr_mute_update_time minimum to 60.0
    1.1  
    -  Released plugin 
    Feature plans

    Don't have any at the moment, but would love to add some new stuff suggested by you guys.

    Installation

    place the ctr_countries.txt file into addons/sourcemod/configs.

    ctr_countries.txt example

    PHP Code:
    //Whatever the first country is then that country will hear the countries that follow behind it.

    US||EU||UNKNOWN
    EU
    ||UNKNOWN 
    If any bugs were found please reply and I'll try to fix it asap.
    Attached Files
    File Type: smx country_talk_room.smx (11.2 KB, 211 views)
    File Type: sp Get Plugin or Get Source (country_talk_room.sp - 558 views - 12.9 KB)

    Last edited by alexr153; 04-05-2018 at 02:01.
    alexr153 is offline
     



    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:45.


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