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

[CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Plugin ID:
5669
Plugin Version:
1.7.7
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    https://www.mail-archive.com/[email protected]/msg11235.html
    Old 06-22-2017 , 08: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

    Description
    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)

    CVars
    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: "[oyunhost.net]"
    • 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"
    • 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"

    Requirements
    Installation
    • 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.

    Notes
    • 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.

    Screenshots
    Changelog
    • v1.7.7 (2 Jul 2022)
      - Recoil Case skins
    • v1.7.6 (21 Jan 2022)
      - Dreams & Nightmares Case skins
    • v1.7.5 (23 Sep 2021)
      - Fixed a bug where choosing "Random" from skins menu for a weapon, sometimes caused player to have a weapon with an incompatible skin on it.
    • v1.7.4 (22 Sep 2021)
      - Operation Riptide skins
    • v1.7.2 (4 May 2021)
      - Snakebite Case skins
    • v1.7.1 (4 December 2020)
      - Operation Broken Fang skins
      - Portuguese (Brazillian) translations by @crashzk
    • v1.7.0 (7 August 2020)
      - Fixed a problem where players would use a random players knife and skins until their data was retrieved from the database
      - Fixed a problem where StatTrak wouldn't work after a plugin reload because necessary hooks were skipped
      - Disabled grace timer on WarmUp rounds
      - Added 2 natives with which you can get or set a client's knife choice
      - New Fracture Case skins are added to the configs
    • v1.6.0 (2 April 2020)
      - Prisma 2 Case skins are added
    • 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

    Links
    __________________

    OyunHost Sunucu Hizmetleri: https://www.oyunhost.net

    Last edited by kgns; 07-02-2022 at 00:45. Reason: recoil case skins
    kgns is offline
    BombaciMulayim
    Junior Member
    Join Date: Jan 2017
    Old 06-22-2017 , 08:16   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #2

    Pride of the Turks
    thanks!

    Last edited by BombaciMulayim; 06-23-2017 at 09:57. Reason: tested
    BombaciMulayim is offline
    MithatGuner
    Member
    Join Date: Sep 2016
    Location: Turkey
    Old 06-22-2017 , 09:15   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #3

    Good Job !
    MithatGuner is offline
    Czar_
    Senior Member
    Join Date: Nov 2016
    Location: Moms Basement
    Old 06-22-2017 , 11:24   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #4

    Oh wow, nice release!

    EDIT: Tested and works great
    __________________

    Last edited by Czar_; 06-22-2017 at 12:37.
    Czar_ is offline
    vortex.
    AlliedModders Donor
    Join Date: Jan 2017
    Location: OnGameFrame()
    Old 06-22-2017 , 12:44   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #5

    Nice release! But this is not allowed here.
    __________________
    vortex. is offline
    kgns
    Senior Member
    Join Date: May 2017
    Location: Istanbul, Turkey
    Old 06-22-2017 , 13:01   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #6

    Quote:
    Originally Posted by vortex. View Post
    Nice release! But this is not allowed here.
    it is allowed, under "Unapproved Plugins", and we are already there
    kgns is offline
    kgns
    Senior Member
    Join Date: May 2017
    Location: Istanbul, Turkey
    Old 06-22-2017 , 14:10   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #7

    https://forums.alliedmods.net/showthread.php?t=294983 intact (thread owner himself deleted the download)
    https://forums.alliedmods.net/showthread.php?t=263832 intact
    https://forums.alliedmods.net/showthread.php?t=249900 intact
    https://forums.alliedmods.net/showthread.php?t=288943 intact

    I don't see a reason for deletion or moving to trash, since this is what Unapproved Plugins section is for. On top of that, you cannot govern github, so the repository will be there whatever happens.

    Can the reason you took the time and searched for threads that were locked and moved be that you are selling a plugin that basically does what my free plugin does (maybe less) for $?

    Last edited by kgns; 06-22-2017 at 14:13.
    kgns is offline
    szogun
    Senior Member
    Join Date: Apr 2016
    Old 06-22-2017 , 17:04   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #8

    You did a great job.

    06/23/2017 - 00:194: [SM] Blaming: weapons.smx
    L 06/23/2017 - 00:194: [SM] Call stack trace:
    L 06/23/2017 - 00:194: [SM] [0] Format
    L 06/23/2017 - 00:194: [SM] [1] Line 533, weapons/menus.sp::CreateMainMenu
    L 06/23/2017 - 00:194: [SM] [2] Line 89, weapons.sp::CommandWeaponSkins

    Last edited by szogun; 06-22-2017 at 18:25.
    szogun is offline
    kgns
    Senior Member
    Join Date: May 2017
    Location: Istanbul, Turkey
    Old 06-22-2017 , 18:53   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #9

    Quote:
    Originally Posted by szogun View Post
    You did a great job.

    06/23/2017 - 00:194: [SM] Blaming: weapons.smx
    L 06/23/2017 - 00:194: [SM] Call stack trace:
    L 06/23/2017 - 00:194: [SM] [0] Format
    L 06/23/2017 - 00:194: [SM] [1] Line 533, weapons/menus.sp::CreateMainMenu
    L 06/23/2017 - 00:194: [SM] [2] Line 89, weapons.sp::CommandWeaponSkins
    hmm i replicated this issue by giving myself a taser and then removing my knife, or removing everything, taking zeus first then the knife (or without having any knife). was that the case with you too? ill fix this shortly
    kgns is offline
    szogun
    Senior Member
    Join Date: Apr 2016
    Old 06-23-2017 , 03:21   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #10

    Quote:
    Originally Posted by kgns View Post
    hmm i replicated this issue by giving myself a taser and then removing my knife, or removing everything, taking zeus first then the knife (or without having any knife). was that the case with you too? ill fix this shortly

    I do not understand, you can describe more what you mean
    szogun 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 07:06.


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