|
Good Little Panda
|
04-14-2013
, 17:09
Re: Player Warnings v1.1.0 (Updated: 4/14/12)
|
#33
|
Revision 1.0.9
---------------- - Fixed an error where a client's loaded state was not reset, so ClientPref punishments were never re-loaded.
- Fixed a case where late-loading was not properly initiated, resulting in punishments being assigned to other players.
Revision 1.1.0
-------------- - CVar Changes:
- sm_warnings_warn_cmd renamed to sm_warnings_warn_client_cmd
- sm_warnings_timeout_cmd renamed to sm_warnings_timeout_client_cmd
- sm_warnings_notify_admins renamed to sm_warnings_notify_admin_flag
- CVar Additions:
- sm_warnings_warn_server_cmd - Allows execution of a server command on targeted client. Support for userid, name, and authid.
- sm_warnings_time_server_cmd - Allows execution of a server command on targeted client. Support for userid, name, and authid.
- Example: sm_beacon {clientUser}, sm_say {clientName} is a bad boy, sm_say2 Yo, add {clientAuth} to the ban list.
- sm_warnings_notify_admins_override - Desired override to check clients against for notification of naughty players.
- Plugin is hardcoded to ignore anyone connecting with override "Player_Warnings_Ignore" // AdmFlag_Generic.
- Override "Player_Warnings_Ignore" to "z" if you want to disable that functionality...
- sm_warnings_database_table - Allows modification of the table the plugin creates and uses as opposed to hardcoded player_warnings.
- sm_warnings_logging_database - Database connection to use for logging, "" defaults to local log files.
- sm_warnings_logging_database_table - Allows modification of the table the plugin creates and uses for logging.
- Modifications:
- Plugin now utilizes morecolors.inc instead of colors.inc. CS:GO users will want to recompile with the colors.inc designed for CS:GO.
- Existing Auth system replaced with proper CheckCommandAccess for overrides support.
- Fixed a bug where sm_warnings_notify_admin (pre-rename) never updated mid-game if changed.
- Replaced hardcoded usage of "Prefix_Chat" and "Prefix_Center" with per-client translations.
- Added basic logging support to both log files and external database.
- File logging logs to /sourcemod/logs/player_warnings.log and lists the name/steam of both admin/target as well as timestamp and reason.
- Database logging logs targeted steam, warning vs timeout, timestamp, reason, and the steamid of the issuing admin.
- The sm_warnlist command can be used to recall any past punishment (since this release) if database logging is enabled.
- Added basic support for attaching a reason to both sm_warn and sm_timeout
- Players who have been targeted will now receive an additional message with the specified reason.
- sm_warn <target> <optional:reason>
- sm_timeout <target> <optional:time> <optional:reason>
- The following translations were added:
- Notify_Warn_Chat_Reason, Notify_Timeout_Chat_Reason, Menu_Past_Title_List, List_Past_Punishments, Phrase_List_Past_Punishments_Null
- Menu_Past_Option_Warn, Phrase_List_Past_Warning, Menu_Past_Option_Time, Phrase_List_Past_Time, Phrase_Default_Reason
Revision 1.1.1
---------------- - SQL queries are now executed when command is issued, rather than caching until the client disconnects.
- The sm_warnreset command now removes all previous punishments from the logging database.
- Removed random requirement for adminmenu when it wasn't being used.
- Added CVar sm_warnings_time_format to control the time format used in sm_warnlist
__________________
Last edited by thetwistedpanda; 04-14-2013 at 18:29.
|
|
|
|