Mughisi submitted a new resource:
Family Share Blocker - Block family shared accounts from joining your server.
Read more about this resource...
Family Share Blocker [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Mar 15, 2015.
-
awesome plugin
Code:(21:41:20) | [Oxide] 9:41 PM [Info] FamilyShareBlocker : Webrequest failed. Error code 0.
When I try my API key ( http://api.steampowered.com/IPlayer...&steamid=player-steam-id&appid_playing=252490 )
Yet I have a good return
Code:{ "response": { "lender_steamid": "0" } }
-
So does this only check for shared account when a player joins?
-
-
No information on the spam "Webrequest failed. Error code 0." in the console?
-
Is it always failing or does it sometimes work?
-
This error is systematic , but the player blocking work.
-
Says i need to set a steam API key when I already have one.
-
-
You must do this in .config.
Code:if (APIKey == defaultAPIKey || APIKey == "") { Log("Error! No Steam API key found.");
---
Mughisi Suggestion :
Code:void CanClientLogin(Network.Connection connection) { if (APIKey == "STEAM_API_KEY" || APIKey == "") { Log("Error! No Steam API key found."); Log("You need to set your API key in the configuration file for this plugin to work!"); Log("To obtain an API key browse to http://steamcommunity.com/dev/apikey"); return; }
You avoid worries.
I wonder if he has not been found another method.
(How RustAdmin detects family sharing?)
Because the API steam is often slow.Last edited by a moderator: Apr 27, 2015 -
Code:// Do not modify these values, to configure this plugin edit // 'FamilyShareBlocker.json' in your server's config folder. // <drive>:\...\server\<server identity>\oxide\config\
-
-
Mughisi, my VS15 throw an error on those lines:
What is project property to make this work :/ C# 6, Newton is onboard
Why asking: i want to make this plugin work with with Enhanсed ban system and ban cheaters main account, while letting people with shared play normally.Last edited by a moderator: Apr 29, 2015 -
Wulf Community Admin
-
looks like CTP version required, dling -
-
i can post changes i done here, if you want
[DOUBLEPOST=1430352075,1430343525][/DOUBLEPOST]They should work together nowAttached Files:
-
-
any info on this error code im getting [FamilyShareBlocker] FamilyShareBlocker : Webrequest failed. Error code 403. thanks
-
Wulf Community Admin
-
i may be doing this wrong in the config but should the api key part look like this? "SteamAPIKey": " 29A1AA411C2CAACF449464576EA8D57C"