Raised This Month: $32 Target: $400
 8% 

[ANY] Source Chatter (29-08-2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Phil25
AlliedModders Donor
Join Date: Feb 2015
Plugin ID:
6235
Plugin Version:
1.0.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Web replication of in-game chat
    Old 08-24-2018 , 06:44   [ANY] Source Chatter (29-08-2018)
    Reply With Quote #1

    [ANY] Source Chatter v1.0.0


    Description:
    Source Chatter allows you to monitor and interact with chat and scoreboard of your servers through the browser. After you log in through Steam and have access, you may see everything, chat along and issue commands with respect for SourceMod admin flags.

    Features:
    • Logging in through Steam used as authentication.
    • Manually add users with access.
    • Supports arbitrary amount of servers.
    • Messages stored in database, allowing for showing short history after joining chat.
    • Automatic clean up: every 5 minutes, messages older than 5 minutes are deleted.
    • Updater support for plugins.
    • Live chat feed:
      • Join in with your actual Steam name, and defined tag.
      • Displaying some core events, such as players joining or name changing.
      • Plugins can push their own messages with BBCode support.
      • Custom Chat Colors support.
    • Live scoreboard:
      • Showing avatar, name, country code, statuses, user ID, class (TF2), score and ping.
      • Statuses are: is dead, is in group (optional), is voicechatting (upcoming)
      • Team colored (TF2 default, may be altered).
      • Names linked to steamcommunity accounts for easy access.
      • Players ordered by team and score, replicating the in-game scoreboard.
    • Commands:
      • Type in commands with ! or /, where / hides your message.
      • Commands respect SourceMod admin flags, that are assigned to the user.
      • Responses are feedbacked in the field below the chat.

    Requirements:
    • SourceMod 1.9+
    • Webserver with PHP 5+ and MySQL database
    • Event Scheduler enabled in the database
      • Technically not required, but better be enabled.

    Installation & Configuration:
    Webserver
    Plugin & Integration
    (optional) Show group members in scoreboard


    Managing users:
    There is no website to manage chatters, you do it from the game server's side using the following commands. Developers can use natives to edit chatters, for more information, check out the For Developers section.
    • sm_addchatter - add a chatter (root flag). Parameters:
      1. <steamid64/name> - if steamid64 is deemed invalid, a match against online players is made.
      2. <flags>* - admin flags used to gain access to commands. (defaults to nothing)
      3. <name>* - mock name used when browsing chatters only. (defaults to unspecified)
      4. <tag>* - tag of the player. (defaults to nothing)
      5. <tag_color>* - color of the tag in hex. (defaults to ffffff)
    • sm_removechatter - remove a chatter (root flag). Parameter:
      1. <steamid64/name> - if steamid64 is deemed invalid, a match against online players is made.
    • sm_editchatter - edit a chatter (root flag). Parameters:
      1. <steamid64> - steamid64 of the chatter.
      2. <attributename:value> - attribute you want to edit and value, separated by double colon.
      3. ...* - specify arbitrary amount of attributes to edit.
      4. More Info


    For Developers:
    Example integration plugin
    Compiling
    Changelog


    FAQ
    I initially started this project about 2 years ago, so I have no idea what to write about.
    Can this show which players have a certain flag?
    Commands from this respect admin flags, but do they respect immunity levels?
    Do tag colors support opacity?
    What is token used for?
    Why is the webpage so ugly?
    (dev) Why aren't you hooking TextMsg user message to capture any chat message?



    Last edited by Phil25; 08-28-2018 at 22:04.
    Phil25 is offline
    Phil25
    AlliedModders Donor
    Join Date: Feb 2015
    Old 08-24-2018 , 06:44   Re: [ANY] Source Chatter
    Reply With Quote #2

    reserved
    Phil25 is offline
    Phil25
    AlliedModders Donor
    Join Date: Feb 2015
    Old 08-24-2018 , 06:45   Re: [ANY] Source Chatter
    Reply With Quote #3

    reserved too, whynaut
    Phil25 is offline
    xXDeathreusXx
    Veteran Member
    Join Date: Mar 2013
    Location: pPlayer->GetOrigin();
    Old 08-24-2018 , 19:26   Re: [ANY] Source Chatter
    Reply With Quote #4

    This is pretty tight, ngl

    Nice job!
    __________________
    Plugins|Profile
    Requests closed

    I'm a smartass by nature, get used to it
    xXDeathreusXx is offline
    Firewolf24
    Junior Member
    Join Date: Apr 2017
    Location: IKEA
    Old 08-27-2018 , 02:50   Re: [ANY] Source Chatter
    Reply With Quote #5

    Looks great!
    __________________
    My Plugins
    My Github (small plugins are hosted on alliedmods, big plugins are hosted on Github)
    Firewolf24 is offline
    foxsay
    AlliedModders Donor
    Join Date: Sep 2013
    Old 08-27-2018 , 04:56   Re: [ANY] Source Chatter
    Reply With Quote #6

    Is there any plugin where u can comunicate from server with discord chat?
    foxsay is offline
    Phil25
    AlliedModders Donor
    Join Date: Feb 2015
    Old 08-27-2018 , 16:27   Re: [ANY] Source Chatter
    Reply With Quote #7

    Quote:
    Originally Posted by foxsay View Post
    Is there any plugin where u can comunicate from server with discord chat?
    Not that I know of, I don’t think you’re asking in the right place though.
    Phil25 is offline
    Notifications
    AlliedModders Donor
    Join Date: Oct 2015
    Old 08-27-2018 , 20:12   Re: [ANY] Source Chatter (24-08-2018)
    Reply With Quote #8

    Could this be integrated into an exe rather than a web file?

    Edit: should also specify that a token needs to be a max of 16 characters.
    EDIT2: Getting this error on CSGO:
    Code:
    L 08/28/2018 - 02:56:46: [SM] Exception reported: Property "m_iTotalScore" not found (entity 70/cs_player_manager)
    L 08/28/2018 - 02:56:46: [SM] Blaming: sourcechatter.smx
    L 08/28/2018 - 02:56:46: [SM] Call stack trace:
    L 08/28/2018 - 02:56:46: [SM]   [0] GetEntProp
    L 08/28/2018 - 02:56:46: [SM]   [1] Line 1025, SourceChatter.sp::GetScore
    L 08/28/2018 - 02:56:46: [SM]   [2] Line 971, SourceChatter.sp::FetchAttrib
    L 08/28/2018 - 02:56:46: [SM]   [3] Line 636, SourceChatter.sp::CheckAndAppendAttribute
    L 08/28/2018 - 02:56:46: [SM]   [4] Line 614, SourceChatter.sp::UpdatePlayer
    L 08/28/2018 - 02:56:46: [SM]   [5] Line 592, SourceChatter.sp::UpdatePlayers
    L 08/28/2018 - 02:56:46: [SM]   [6] Line 583, SourceChatter.sp::Timer_UpdatePlayers

    Last edited by Notifications; 08-27-2018 at 22:02.
    Notifications is offline
    Phil25
    AlliedModders Donor
    Join Date: Feb 2015
    Old 08-28-2018 , 04:46   Re: [ANY] Source Chatter (24-08-2018)
    Reply With Quote #9

    Quote:
    Originally Posted by Notifications View Post
    Could this be integrated into an exe rather than a web file?

    Edit: should also specify that a token needs to be a max of 16 characters.
    EDIT2: Getting this error on CSGO:
    -snip-
    An application working in a similar manner to the website can be managed, but this is not in plans at the moment. It wouldn't also be a good time to this unless the way the scoreboard is fetched is improved.

    I added the token character limit to the first post.

    I haven't realized getting score of all things would be different across mods, I will look into it and release a patch shortly.
    Phil25 is offline
    Notifications
    AlliedModders Donor
    Join Date: Oct 2015
    Old 08-28-2018 , 21:29   Re: [ANY] Source Chatter (24-08-2018)
    Reply With Quote #10

    Quote:
    Originally Posted by Phil25 View Post
    An application working in a similar manner to the website can be managed, but this is not in plans at the moment. It wouldn't also be a good time to this unless the way the scoreboard is fetched is improved.

    I added the token character limit to the first post.

    I haven't realized getting score of all things would be different across mods, I will look into it and release a patch shortly.
    Thanks for getting back to me on the first one, understandable that it wouldn't be on the agenda.
    And for the third one, I believe this may be related to Panorama. Looking forward to getting this running on CSGO as it looks impressive and much more convenient for admins to check chat and ban without logging in.

    Last edited by Notifications; 08-28-2018 at 21:30.
    Notifications is offline
    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 10:52.


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