AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Family Share Whitelist (https://forums.alliedmods.net/showthread.php?t=293927)

sdz 02-15-2017 04:55

Family Share Whitelist
 
3 Attachment(s)
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.

ShogoMoe 02-15-2017 05:21

Re: Family Share Whitelist
 
Awesome!

ph 02-15-2017 14:34

Re: Family Share Whitelist
 
Installed.

Thank you.

sdz 02-15-2017 17:17

Re: Family Share Whitelist
 
Version 1.2 Relased.
Added Commands:
- sm_addtolist <no args for playerlist, or steam id 2)
- sm_removefromlist (steam id 2)

Syle22 02-15-2017 22:11

Re: Family Share Whitelist
 
Sidezz coming in clutch, Installed obviously

root88 02-18-2017 13:53

Re: Family Share Whitelist
 
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?

sdz 02-22-2017 18:38

Re: Family Share Whitelist
 
Yeah I reckon that CS:GO administrators wouldn't be using this

DarkDeviL 08-22-2019 04:35

Re: Family Share Whitelist
 
Quote:

Originally Posted by GoGetSomeSleep (Post 2664142)
Could not find required plugin "updater"
but i have updater.smx? can you give a link for this updater?

Updater.

sdz 04-29-2022 07:24

Re: Family Share Whitelist
 
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

Lt.Dan 08-26-2022 19:36

Re: Family Share Whitelist
 
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?


All times are GMT -4. The time now is 01:39.

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