Lizzaran submitted a new resource:
Player Restrictions - Restrict the access to the server based on country and steam.
Read more about this resource...
Player Restrictions [Unmaintained]
Discussion in 'Plugin Support' started by Lizzaran, Apr 13, 2016.
-
you have country list?
-
Wulf Community Admin
-
-
The country block doesnt work for me. Russian and chinese people still join.
Nothing against them but they do not speak English at all and do not follow the rules. -
Country Blacklist not working.
-
Any way to block folks that use urls for names. Seem to get so many people with long names with some kind of csgo.something name add to the ends.
-
mmm, good idea. I'll write one plugin for this soon
-
Oh ty kindly PadL. the names just get so long with the url added to them.
-
Help please, I have today found chit on server - they have built house in, how do I it is correct to prescribe prohibition on entry on server player from Poland, on they constantly complain and they use bag and chita
-
I'm a noob at this. if blacklist is not working i'll put the countries i want in the whitelist. but i don't know where to write them in the config file. thanks for any help.
-
Why not use countryblock then?
Did you change ensbled from false to true? -
thank you for your reply. yes. but i don't know where to write the countries i want blocked.
and also, the logs at server starup say: warning, no steam api key found. i noticed there isn't one in the json file. do i need it?Last edited by a moderator: Oct 3, 2016 -
Can you place your config here?
-
Here you go sir. Thanks for taking a look. Are the CN & RU the countries? Can I just replace them with the countries I want ? Under Steam it has API Key, but no key.
Code:{ "Settings": { "Country": { "Blacklist": [ "CN", "RU" ], "Enabled": true, "Whitelist": [] }, "Steam": { "API Key": "", "Bans": { "Block Community Banned": false, "Enabled": true, "Maximal Game Bans": 2, "Maximal VAC Bans": 2, "Minimum Days Since Last": 365 }, "Profile": { "Block Private": false, "Enabled": false, "Minimum Age (Days)": 0 } } } }
Last edited by a moderator: Oct 4, 2016 -
The CN and RU are the countries "China, Russia
That is where they go.
so if you wanted to add more you can get Country codes at Country Codes
So if you wanted to add more just put a comma after "RU"
So say you want to add USA and Brazil "just an example" the last country would not have the comma.
"Blacklist": [
"CN",
"RU",
"US",
"BR"
]
I wish i knew more about the API Key thing sorry. -
Wulf Community Admin
-
I'll get to work on this. Thank you all for the quick replies. It's you that make this a good experience.
-
-
What is this? someone can help me?
[Oxide] 16:10 [Error] [PlayerRestrictions] Couldn't fetch steam profile data for $76561198342003211
[Oxide] 16:10 [Error] [PlayerRestrictions] GetPlayerSteamProfileSummary: Player is null.
[Oxide] 16:10 [Error] [PlayerRestrictions] Couldn't fetch steam ban data for $76561198342003211
[Oxide] 16:10 [Error] [PlayerRestrictions] GetPlayerSteamBans: Player is null.