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

Family Share Whitelist


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sdz
Senior Member
Join Date: Feb 2012
Plugin ID:
5533
Plugin Version:
1.5.5
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Block family share accounts while allowing certain users or admins access on family shared accounts
    Old 02-15-2017 , 04:55   Family Share Whitelist
    Reply With Quote #1

    THIS IS UPDATED AND NO LONGER REQUIRES AN API KEY!

    Dependencies:
    Enables server owners to block family shared accounts and copies of the games, while at the same time enabling other family shared copies to play. Thus, a family share whitelist.

    Updated to use SteamWorks on 4/29/2022 since valve removed or (seemingly broke?) IsPlayingSharedGame from the API

    Commands:
    • sm_reloadlist - Reloads the whitelist while plugin is running.
    • sm_addtolist - Add a player to the white/blacklist.
    • sm_removefromlist - Remove a player from the white/blacklist.
    • sm_displaylist - Displays all Steam IDs currently in the list


    cfg/sourcemod/plugin.familyshare_manager.cfg
    Spoiler

    whitelist format: steamid then new line. one steam id per line.
    Code:
    STEAM_0:1:1854617
    STEAM_0:1:123


    A question by ShogoMoe I answered:

    If you wanted this to be a blacklist instead, allowing all family shared accounts besides the ones on the list, you could simply add one character to the code:
    Spoiler

    Alternatively, I could attach one modified for the blacklisting instead of the whitelisting.
    Attached Files
    File Type: ini familyshare_whitelist.ini (30 Bytes, 774 views)
    File Type: sp Get Plugin or Get Source (familyshare_manager.sp - 202 views - 12.3 KB)
    File Type: smx familyshare_manager.smx (8.7 KB, 183 views)

    Last edited by sdz; 04-29-2022 at 07:34.
    sdz is offline
    ShogoMoe
    Junior Member
    Join Date: May 2013
    Old 02-15-2017 , 05:21   Re: Family Share Whitelist
    Reply With Quote #2

    Awesome!
    ShogoMoe is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 02-15-2017 , 14:34   Re: Family Share Whitelist
    Reply With Quote #3

    Installed.

    Thank you.
    __________________
    ph is offline
    sdz
    Senior Member
    Join Date: Feb 2012
    Old 02-15-2017 , 17:17   Re: Family Share Whitelist
    Reply With Quote #4

    Version 1.2 Relased.
    Added Commands:
    - sm_addtolist <no args for playerlist, or steam id 2)
    - sm_removefromlist (steam id 2)
    sdz is offline
    Syle22
    Junior Member
    Join Date: Jul 2009
    Old 02-15-2017 , 22:11   Re: Family Share Whitelist
    Reply With Quote #5

    Sidezz coming in clutch, Installed obviously
    __________________

    Syle22 is offline
    root88
    Senior Member
    Join Date: May 2016
    Old 02-18-2017 , 13:53   Re: Family Share Whitelist
    Reply With Quote #6

    In CS: GO you can't connact to any server when using family sharing, so this plugin is useless for this game.
    Is it still not patched in other games?
    __________________
    root88 is offline
    sdz
    Senior Member
    Join Date: Feb 2012
    Old 02-22-2017 , 18:38   Re: Family Share Whitelist
    Reply With Quote #7

    Yeah I reckon that CS:GO administrators wouldn't be using this
    sdz is offline
    DarkDeviL
    SourceMod Moderator
    Join Date: Apr 2012
    Old 08-22-2019 , 04:35   Re: Family Share Whitelist
    Reply With Quote #8

    Quote:
    Originally Posted by GoGetSomeSleep View Post
    Could not find required plugin "updater"
    but i have updater.smx? can you give a link for this updater?
    Updater.
    __________________
    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
    sdz
    Senior Member
    Join Date: Feb 2012
    Old 04-29-2022 , 07:24   Re: Family Share Whitelist
    Reply With Quote #9

    1.5.5 released on 4/29/2022 since valve either removed or broke IsPlayingSharedGame from the API

    patch notes:
    it uses steamworks
    it dont need an api key
    it dont need an appid
    it is just better and should've been done this way to begin with
    updater works too

    Last edited by sdz; 04-29-2022 at 07:34.
    sdz is offline
    Lt.Dan
    Junior Member
    Join Date: Sep 2013
    Old 08-26-2022 , 19:36   Re: Family Share Whitelist
    Reply With Quote #10

    Does this work on DOD:S and is it possible to allow sharing, but log when someone is using it and include the original account's steam id?
    Lt.Dan 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 06:44.


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