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

SQL Feedback


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
277
Plugin Version:
1.2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Take client feedback and store it in a SQL database.
    Old 02-08-2008 , 06:25   SQL Feedback
    Reply With Quote #1

    SQL Feedback
    Take client feedback on the server/current map and store it in a SQL database.

    Commands:
    feedback <text> - Logs feedback info into the SQL database.

    Installation:
    • Download sqlfeedback.smx file to your ~/addons/sourcemod/plugins folder.
    • Make sure you have an active SQL server running, and have configured the "default" connection properly.
    Notes:
    • A client can only use the 'feedback' command once per 5 seconds (to avoid spamming).
    • The command must be issued via console.
    • When a client sends feedback to the server, their name, steamid, the current map (if applicable), the time, and their feedback are all stored on the appropriate table.
    • There is one MySQL table that records the client's feedback, their steamid, the current map, the date, the game's folder name, and the server ip/port that they're connected to.
    Changelog:
    • 1.0.0
      • Initial Release
    • 1.0.1
      • Quotes in client's names and in feedback are now properly handled.
      • If the query fails, the plugin will no longer try to close that query's handle.
    • 1.1.0
      • Changed the command's usage to just "feedback <text>" instead of having to specify "server" or "map" as the first param.
      • Removed usage of the 'feedback_server' table.
      • Renamed the 'feedback_map' table to just 'feedback'.
      • The table is automatically created by the plugin now (if it doesn't already exist).
      • Fixed a bug where users couldn't send feedback on the next map if they sent feedback within 5 seconds of a map change.
      • Removed unnecessary coding and optimized the plugin a bit.
    • 1.2.0
      • Added logging of the server ip and port, and the game's name.
      • If you're updating from v1.1.0, check out this post for proper update instructions.
    Attached Files
    File Type: sp Get Plugin or Get Source (sqlfeedback.sp - 2872 views - 3.9 KB)

    Last edited by bl4nk; 10-26-2010 at 14:59.
    bl4nk 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 13:04.


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