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

[TF2] Bling (v1.8 dated 12Dec2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PC Gamer
Veteran Member
Join Date: Mar 2014
Plugin ID:
7422
Plugin Version:
1.8
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Gives players random cosmetics and random weapons
    Old 12-16-2020 , 04:10   [TF2] Bling (v1.8 dated 12Dec2022)
    Reply With Quote #1

    Definition of "bling"
    informal
    noun: bling-bling; noun: bling

    expensive, ostentatious clothing and jewelry, or the wearing of them.
    "behind the bling: are diamonds worth it?"


    Description:
    This plugin gives players random cosmetics and random weapons. The items given change when the player spawns or touches a locker. The cosmetic hat may be unusual and/or painted. The weapons may be stock, non-stock, Gun Mettle, warpaint, killstreak, stat tracker, or Unusual. The server Administrator can determine if players also have a random class when they spawn.

    Convars:
    sm_bling_enabled 1 - (default) Enables plugin
    sm_bling_enabled 0 - Disables plugin
    sm_bling_prevent_random_class 1 - (default) Prevents giving random class on spawn
    sm_bling_prevent_random_class 0 - Allows giving random class on spawn

    Commands:
    For Players:
    To enable Bling mode: !bling
    To disable Bling mode: !bling
    Another way to disable Bling mode: !nobling

    For Admins:
    To enable Bling mode on target: !startbling <target>
    To disable Bling mode on target: !stopbling <target>

    Credits:
    The plugin is makes use of code developed by luki1412 in his outstanding plugins titled 'Give Bots Weapons' and 'Give Bots Cosmetics' with further improvements made by manicogaming. Weapon randomness edited by That Annoying Guide.

    Dependencies:
    Plugin requires TF2Attributes by FlaminSarge. Here's a link: https://github.com/FlaminSarge/tf2attributes

    Video of Bling Plugin:


    Installation:
    Put bling.smx into this folder: /sourcemod/plugins/
    Change map

    Change Log:
    v1.8 12Dec2022: Fixed bug with missing demoman weapons. Added new outfits. Added convar.
    v1.7 05Jan2021: Fixed bug where Heavy would punch with Saxxy type weapons instead of swing.
    v1.6 03Jan2021: Added additional weapons at the request of That Annoying Guide.
    v1.5 02Jan2021: Added edits by That Annoying Guide. Added Pipboy interface chance for Engineer.
    v1.4 31Dec2020: Fixed issues where Engineer can't build, Spy can't disguise, sappers not working.
    v1.3 26Dec2020: Removed gamedata dependency
    v1.2 21Dec2020: Updated weapon quality colors.
    v1.1 20Dec2020: Removed TF2ItemsInfo dependency. Fixed saxxy weapons not spawning. Added support for Medieval mode.
    Attached Files
    File Type: sp Get Plugin or Get Source (bling.sp - 85 views - 194.6 KB)
    File Type: smx bling.smx (41.4 KB, 120 views)

    Last edited by PC Gamer; 12-12-2022 at 23:39.
    PC Gamer is offline
    Sanjay
    Junior Member
    Join Date: Dec 2020
    Old 12-16-2020 , 14:03   Re: [TF2] Bling
    Reply With Quote #2

    hi tf2itemsinfo is very old and is not supported can you pls use other method?

    edit: also bug sometimes i dont have melee weapon when using !startbling
    __________________
    sorry for english

    Last edited by Sanjay; 12-16-2020 at 14:43.
    Sanjay is offline
    MAGNAT2645
    Senior Member
    Join Date: Nov 2015
    Location: AlliedMods.net
    Old 12-16-2020 , 15:27   Re: [TF2] Bling
    Reply With Quote #3

    Use Econ Data instead of ancient TF2II.
    __________________
    MAGNAT2645 is offline
    Sanjay
    Junior Member
    Join Date: Dec 2020
    Old 12-16-2020 , 15:41   Re: [TF2] Bling
    Reply With Quote #4

    Quote:
    Originally Posted by MAGNAT2645 View Post
    Use Econ Data instead of ancient TF2II.
    yes it is perfect addon, i use it in all of my servers. pls dear author
    __________________
    sorry for english
    Sanjay is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 12-20-2020 , 14:02   Re: [TF2] Bling
    Reply With Quote #5

    Great plugin thank you. On my server I seem to have a loading issue with this particular plugin.
    I have to manually reload the plugin each time the map starts or the commands are unknown.
    I'm not sure what could be the reason other than it might be related to me running very old Sourcemod.

    Last edited by Sreaper; 12-20-2020 at 14:03.
    Sreaper is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 12-20-2020 , 15:41   Re: [TF2] Bling
    Reply With Quote #6

    you used on the other plugin only attributes is this also possible with this ?
    __________________
    Happy DODs player is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 12-20-2020 , 18:40   Re: [TF2] Bling
    Reply With Quote #7

    Quote:
    Originally Posted by Sreaper View Post
    I have to manually reload the plugin each time the map starts or the commands are unknown.
    That sometimes occurs with plugins that use TF2ItemsInfo. I have my server setup to unload and load plugins that use TF2ItemsInfo on map change. However, I updated the plugin today to remove the dependency on TF2ItemsInfo. Let me know if that works for you.

    Version 1.1 updated today with some pros and cons.

    Pro: Now works without TF2ItemsInfo. Now fully supports Medieval mode, meaning it won't give primary and secondary weapons to players while playing cp_degrootkeep or other medieval maps. Fixed issue with certain saxxy weapons not being given to players.

    Con: It's a minor issue but without TF2ItemsInfo the quality and paint descriptions of some items will be wrong when inspected. For example, the item description may show that the cosmetic is a painted item when it really isn't (because that particular item isn't paintable, but the plugin tried to paint it anyway, so the item isn't painted but the description says it is).
    PC Gamer is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 12-21-2020 , 02:41   Re: [TF2] Bling (v1.2 dated 21Dec2020)
    Reply With Quote #8

    Plugin updated to version 1.2 which corrected some of the weapon quality colors.
    PC Gamer is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 12-21-2020 , 12:50   Re: [TF2] Bling (v1.2 dated 21Dec2020)
    Reply With Quote #9

    Gone test it PC gamer, thanks
    __________________
    Happy DODs player is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 12-21-2020 , 13:44   Re: [TF2] Bling (v1.2 dated 21Dec2020)
    Reply With Quote #10

    Works thank you
    __________________
    Happy DODs player is offline
    Reply



    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:29.


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