View Single Post
Author Message
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 06-22-2017 , 09:09   [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag]
Reply With Quote #1

[CSGO] Weapon & Knives

IN THE PAST, Valve banned GSLTs (tokens) of servers for using this plugin or its variants.
But, Valve stopped banning GSLT (token) a long time ago for some reason

This plugin allows you to;
  • Use any knife that is available inside CS:GO environment
  • Apply any skin that is available inside CS:GO environment (including new cases' skins)
  • Change the wear/float value of your skins
  • Enable/Disable StatTrak technology on your weapons and knives
  • Add name tags to your weapons and knives (with color options)

You can modify the CVars below in cfg/sourcemod/weapons.cfg file
  • sm_weapons_db_connection - Database connection name in databases.cfg to use
    Default: "storage-local"
  • sm_weapons_table_prefix - Prefix for database table (example: "xyz_")
    Default: ""
  • sm_weapons_chat_prefix - Prefix for chat messages
    Default: "[]"
  • sm_weapons_knife_stattrak_mode - 0: All knives show the same StatTrak counter (total knife kills) 1: Each type of knife shows its own separate StatTrak counter
    Default: "0"
  • sm_weapons_enable_float - Enable/Disable weapon float options
    Default: "1"
  • sm_weapons_enable_nametag - Enable/Disable name tag options
    Default: "1"
  • sm_weapons_enable_stattrak - Enable/Disable StatTrak options
    Default: "1"
  • NEW sm_weapons_enable_seed - Enable/Disable skin seed options
    Default: "1"
  • sm_weapons_float_increment_size - Increase/Decrease by value for weapon float
    Default: "0.05"
  • sm_weapons_enable_overwrite - Enable/Disable players overwriting other players' weapons (picked up from the ground) by using !ws command
    Default: "1"
  • sm_weapons_grace_period - Grace period in terms of seconds counted after round start for allowing the use of !ws command. 0 means no restrictions
    Default: "0"
  • sm_weapons_inactive_days - Number of days before a player (SteamID) is marked as inactive and his data is deleted. (0 or any negative value to disable deleting)
    Default: "30"

  • Use this without a GSLT token (LAN server), or use a token service for your servers, or your account will be banned from operating game servers, and a month cooldown from playing the game.
  • Edit csgo/addons/sourcemod/configs/core.cfg => Change "FollowCSGOServerGuidelines" "yes" to "no"
  • Install PTaH 1.1.0+ (DOWNLOAD PTaH)
  • Copy the folder structure to your gameserver.
  • (OPTIONAL) If you want to use MySQL instead of SQLite (storage-local), edit addons/sourcemod/configs/databases.cfg file and add the MySQL db connection details under "weapons" title, then change "sm_weapons_db_connection" cvar inside cfg/sourcemod/weapons.cfg file to "weapons"
  • Restart server.

  • StatTrak counts do not apply immediately after a kill, it will refresh when you get a new weapon.
  • No options for non-premium/vip usage restriction will be added. Do not request it, do it yourself if you want to.
  • I've coded a small utility in java to parse game files to create skins config file to be used with this plugin. You can find the source and executable here. If there happens an update with new skins/cases added, you can use this tool to create new config files in every language and use new skins from that update.

  • v1.5.0 (20 November 2019)
    - Operation Shattered Web skins and knives are added
    - Changed database structure migration logic
  • v1.4.2 (19 October 2019)
    - Database fixes for SQLite users
    - Chinese translation update by Roy47Zhang
  • v1.4.1 (19 October 2019)
    - Added CS20 case skins and knife
    - Added P250 X-Ray
    - Added seed options for skins per weapon/knife (thanks to Shane1390)
  • v1.4.0 (27 July 2019)
    - Simplified Chinese translation added by LemonPAKA, later improved by Roy47Zhang
    - PTaH version 1.1.0 support (by komashchenko)
  • v1.3.3 (14 March 2019)
    - Added Prisma Case skins
  • v1.3.2 (9 December 2018)
    - Apply deathmatch fix for only deathmatch servers as WeaponCanUse hook can cause crashes. Deathmatch servers are untested atm
  • v1.3.1 (7 December 2018)
    - Danger Zone Case skins are added
    - Small fix for deathmatch server owners
  • v1.3.0 (12 October 2018)
    - MP5-SD weapon added
    - 2018 Inferno Collection and 2018 Nuke Collection skins are added to English and Turkish config files (copy the new skins from English files or generate them yourself using CSGOItemParserForWeaponsPlugin)
  • v1.2.0 (3 August 2018)
    - Config update for Horizon Case
    - Code update to support 4 new knives released within Horizon Case
    - Removed colored name tags until further notice
  • v1.1.2 (15 February 2018)
    - Updated config files for the newly released Clutch Case
    - Added a cvar to automatically remove inactive player data from the database. Set 0 to disable it. After you update the plugin, every player in your database will be marked as last seen at the time of the update. This means, auto deletion will be effective X (cvar) days after you update the plugin.
    - Small tweaks to grace period handling
    - Plugin now ignores golden knife. This means that if a player with a custom knife selected, receives a golden knife (weapon_knifegg), golden knife will be untouched i.e. players knife settings won't be applied to it.
    - Updated weapon skin translations with the latest game files
  • v1.1.1 (16 September 2017)
    - Fixed the bug causing wear/float settings to not work
    - Menus will now close when the grace period ends every round if enabled
    - Chat commands will not be shown in chat to avoid unnecessary spam
    - Updated French translation by Cripix
  • v1.1.0 (15 September 2017)
    - Changed nametag system, you don't use !nametag command now, but use the menus you get by using !ws command. Nametags won't be shown on chat while setting them.
    - Small stability improvements
    - Added a cvar to restrict the use of !ws command after X seconds into every round
    - Added a cvar to enable/disable overwriting !ws information of a weapon that was dropped by another player
    - Added new Spectrum 2 Case skin configs
  • v1.0.11 (04 September 2017)
    - PTaH 1.0.7 integration
  • v1.0.9 (29 July 2017)
    - Small bug fix for disabling skin options of default knives
  • v1.0.8 (25 July 2017)
    - Reverted a commit for DeathMatch servers
    - pt and pt_p translations update by SnowHP
  • v1.0.7 (19 July 2017)
    - Fixed DB connection handling
    - Efficiency improvements
    - Polish translation added thanks to styllek & Nevvy
    - Hungarian translation added thanks to wasyady
  • v1.0.6 (28 June 2017)
    - Fixed remembering reserve ammo of weapons on skin change
    - !nametag spam control
    - Removed knife pickup hook, as it was causing server crashes
  • v1.0.5 (27 June 2017)
    - Fix for players not being able to pickup dropped knives generated by this plugin (to be used with mp_drop_knife_enable cvar)
    - Fix for players with legit non-default knives having double knives when using the plugin
  • v1.0.4 (25 June 2017)
    - Added Russian translation provided by Reswero
  • v1.0.3 (24 June 2017)
    - Fixed a bug with ConVar handling, which made MySQL usage a little pain in the ass
    - Added Portuguese translation provided by ShutDowN
  • v1.0.2 (23 June 2017)
    - Fixed a bug reported here
    - Added French translation provided by Cripix
    - Added SQLite support (read installation notes please)
  • v1.0.1 (21 June 2017)
    - Fixed knife model bug
    - Increased MAX_LANG constant
    - Removed first_seen column from db
  • v1.0.0 (21 June 2017)
    - First release


OyunHost Sunucu Hizmetleri:

Last edited by kgns; 01-27-2020 at 16:20. Reason: language
kgns is offline