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

Family Share Whitelist


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 785 views)
    File Type: sp Get Plugin or Get Source (familyshare_manager.sp - 209 views - 12.3 KB)
    File Type: smx familyshare_manager.smx (8.7 KB, 197 views)

    Last edited by sdz; 04-29-2022 at 07:34.
    sdz is offline
     



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


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