Raised This Month: $90 Target: $400
 22% 

[ANY] Steam Group Credits v1.2 (Zephyrus Store)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Plugin ID:
5149
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Module to give credits for players who are member in your steam group!
    Old 04-22-2016 , 23:32   [ANY] Steam Group Credits v1.2 (Zephyrus Store)
    Reply With Quote #1

    Steam Group Credits v1.2

    Module to give credits for players who are invited or member in your steam group!

    Currently Tested [CSS], [CS:GO]


    Description:
    Spoiler



    Notice This:
    Spoiler



    Requirements:
    Cvars:
    • sm_group_enable_adverts "1" Enable/Disable notifications for all players in chat (1=On/0=Off)
    • sm_groupid_add "xxxxxxx" Steam Group ID
    • sm_group_credits "xx" Credits to give per X time, if player is in group.
    • sm_group_spec_credits "xx" Spectate Credits to give per X time, if player is in group and spectate.
    • sm_group_credits_time "xx" Time in seconds to deal credits.

    Chat Commands:
    • !sgc automatically turns (On/Off) Steam Group Credits, Client Announcements.


    How to get steam group id?:

    Goto your steam group -> Click 'Visit Admin Page' -> Done id appears
    For newbs: Look attachment picture.


    Changelog:
    Code:
    1.0 - Plugin release.
    1.1 - CS:GO Fix, and minor code edits.
    1.2 - Included sm_group_spec_credits, for the ability to set credits for players on spectate + code optimizations.
    Attached Images
    File Type: jpg howtogroupid.jpg (75.3 KB, 2107 views)
    Attached Files
    File Type: sp Get Plugin or Get Source (steam_group_credits.sp - 801 views - 3.8 KB)
    File Type: smx steam_group_credits.smx (5.9 KB, 570 views)
    __________________

    Last edited by xines; 04-22-2017 at 14:52. Reason: Updated the ability to set spectate credits. + optimizations
    xines is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 04-23-2016 , 00:01   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #2

    May this work for CS:GO aswell?
    Lannister is offline
    DarkDeviL
    SourceMod Moderator
    Previously known as:
    arne1288
    Join Date: Apr 2012
    Old 04-23-2016 , 03:56   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #3

    Quote:
    Originally Posted by xines View Post
    Steam Group Credits

    Module to give credits for players who are member in your steam group!

    Tested [CSS]



    SteamWorks (including SteamTools) will respond that people are a member of your group as soon as they have been invited to that group.

    People clicking "ignore" on your invitation will also count as members.

    (Just to inform, before some people start stuff like "this thing also gives credits to random people!")
    __________________
    Mostly known as "DarkDeviL".

    Dropbox FastDL: Public folder will no longer work after March 15, 2017!
    For more info, see the [SRCDS Thread], or the [HLDS Thread]
    DarkDeviL is offline
    xines
    Veteran Member
    Join Date: Aug 2013
    Location: Denmark
    Old 04-23-2016 , 08:16   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #4

    Quote:
    Originally Posted by arne1288 View Post
    SteamWorks (including SteamTools) will respond that people are a member of your group as soon as they have been invited to that group.

    People clicking "ignore" on your invitation will also count as members.

    (Just to inform, before some people start stuff like "this thing also gives credits to random people!")
    Made a "notice" spoiler, thanks for the head up
    __________________
    xines is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 04-23-2016 , 12:24   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #5

    Not sure if this is the right place to post this, but, could you also add flags to this plugin? so people that has an specific flag will get more credits?

    Thanks in advance!
    Lannister is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 04-23-2016 , 13:25   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #6

    Quote:
    Originally Posted by Lannister View Post
    Not sure if this is the right place to post this, but, could you also add flags to this plugin? so people that has an specific flag will get more credits?

    Thanks in advance!
    Im also not sure if this is the right place to post this... i just removed the steam groups part and insert a check for flag "custom1 "o" Custom Group 1".

    Spoiler


    I dont use Zephyrus store so i cant test it.
    Attached Files
    File Type: sp Get Plugin or Get Source (flag_credits.sp - 193 views - 1.6 KB)
    File Type: smx flag_credits.smx (13.4 KB, 217 views)
    shanapu is offline
    Addicted.
    AlliedModders Donor
    Join Date: Dec 2013
    Location: 0xA9D0DC
    Old 04-23-2016 , 13:37   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #7

    Nice release

    Great work
    Addicted. is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 04-23-2016 , 16:21   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #8

    Quote:
    Originally Posted by shanapu View Post
    Im also not sure if this is the right place to post this... i just removed the steam groups part and insert a check for flag "custom1 "o" Custom Group 1".

    I dont use Zephyrus store so i cant test it.
    Hate to say you wasted your time, but a cvar already exists in his store plugin to do almost exactly this.

    ex
    Code:
    sm_store_custom_credits a 1.5
    Gives 1.5x the default credits to anyone with the a flag.
    sneaK is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 04-23-2016 , 16:42   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #9

    Quote:
    Originally Posted by blackhawk74 View Post
    Hate to say you wasted your time, but a cvar already exists in his store plugin to do almost exactly this.

    ex
    Code:
    sm_store_custom_credits a 1.5
    Gives 1.5x the default credits to anyone with the a flag.
    haha, thats no Problem. I was wondering that Zep didnt inculde something like that.
    I'm in hospital and so i had something to do against my boredom.
    shanapu is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 04-23-2016 , 17:54   Re: [CSS] Steam Group Credits (Zephyrus Store)
    Reply With Quote #10

    Tried to use that command and it doesn't seems to work, it shows as "Unknown" also, i couldn't find it in plugin.store.cfg!

    @Shanapu: Your plugin seems to work correctly, i wonder if you could add it to print to chat a message like "You earned 5 more credits for being a VIP user" something like that, with a colour!

    Thanks in advance!

    Last edited by Lannister; 04-23-2016 at 17:56.
    Lannister 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 18:24.


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