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

[CSGO/Any?] Referrals


Post New Thread Reply   
 
Thread Tools Display Modes
Author
R3TROATTACK
Member
Join Date: Feb 2013
Plugin ID:
6355
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows for in game based rewards on referral count
    Old 12-02-2018 , 16:48   [CSGO/Any?] Referrals
    Reply With Quote #1

    Description
    Allows players to refer other players to the server via a referral code and get access to commands

    ConVars
    referrals_playtime - The amount of playtime needed for the referral to count - default 30.0

    Commands
    sm_referrals - Opens the referrals menu
    sm_redeem - The command to redeem someones code
    sm_getcode - Prints your referral code to your chat.

    Installation
    Spoiler


    Changelog
    Spoiler


    Links
    Github
    Attached Files
    File Type: sp Get Plugin or Get Source (referrals.sp - 554 views - 14.7 KB)
    File Type: cfg referrals.cfg (69 Bytes, 265 views)
    __________________
    My Plugins - My Steam
    Need something custom add me on discord! Retro#0264

    Last edited by R3TROATTACK; 12-02-2018 at 17:12. Reason: added install guide
    R3TROATTACK is offline
    P4UL
    AlliedModders Donor
    Join Date: Apr 2017
    Location: Netherlands
    Old 12-03-2018 , 02:36   Re: [CSGO/Any?] Referrals
    Reply With Quote #2

    Great idea!
    P4UL is offline
    nguyenbaodanh
    AlliedModders Donor
    Join Date: Jun 2007
    Location: HCMC, Vietnam
    Old 12-09-2018 , 23:50   Re: [CSGO/Any?] Referrals
    Reply With Quote #3

    Code:
    "Referrals"
    {
        "sm_colors"
        {
            "count" "1"
        }
    }
    so sm_colors is the command to unlock and use right ?
    __________________
    nguyenbaodanh is offline
    Fluxxx
    Junior Member
    Join Date: Jan 2018
    Old 12-10-2018 , 14:59   Re: [CSGO/Any?] Referrals
    Reply With Quote #4

    can you do a check if the user and the people he refers to are prime accounts? Might prevent them from exploiting alt accounts
    Fluxxx is offline
    R3TROATTACK
    Member
    Join Date: Feb 2013
    Old 12-11-2018 , 23:19   Re: [CSGO/Any?] Referrals
    Reply With Quote #5

    Quote:
    Originally Posted by nguyenbaodanh View Post
    Code:
    "Referrals"
    {
        "sm_colors"
        {
            "count" "1"
        }
    }
    so sm_colors is the command to unlock and use right ?
    Yeah that is right

    Quote:
    Originally Posted by Fluxxx View Post
    can you do a check if the user and the people he refers to are prime accounts? Might prevent them from exploiting alt accounts
    Uhh I probably could add that as a feature but not sure how you would go about figuring out who is prime and who is not
    __________________
    My Plugins - My Steam
    Need something custom add me on discord! Retro#0264
    R3TROATTACK is offline
    arcticx2
    Senior Member
    Join Date: Nov 2011
    Old 12-13-2018 , 10:00   Re: [CSGO/Any?] Referrals
    Reply With Quote #6

    Quote:
    Originally Posted by R3TROATTACK View Post
    Uhh I probably could add that as a feature but not sure how you would go about figuring out who is prime and who is not
    you can find out here :

    https://forums.alliedmods.net/showthread.php?t=312573
    arcticx2 is offline
    DarkDeviL
    SourceMod Moderator
    Join Date: Apr 2012
    Old 12-13-2018 , 15:13   Re: [CSGO/Any?] Referrals
    Reply With Quote #7

    Quote:
    Originally Posted by arcticx2 View Post
    Quote:
    Originally Posted by R3TROATTACK View Post
    Uhh I probably could add that as a feature but not sure how you would go about figuring out who is prime and who is not
    you can find out here :

    https://forums.alliedmods.net/showthread.php?t=312573
    That code from that thread is broken.

    Look in the Prime status thread instead.

    Be sure also to read Post #3, Post #74, and Post #82 for information on how to do it "the right way"!
    __________________
    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
    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 21:01.


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