maxijabase / profile-status Goto Github PK
View Code? Open in Web Editor NEWExtensive Steam account checking plugin to allow or deny people from Source servers.
Extensive Steam account checking plugin to allow or deny people from Source servers.
I would like to understand how this amount works, the bans that are applied in the game, on official servers steam/csgo, are registered?
// Amount of game bans tolerated until prohibition (0 for zero tolerance).
// -
// Default: "5"
sm_profilestatus_game_bans "5"
Because I didn't understand how a player can take 5 Game Bans.
And if I would have to disable this option, that is, it doesn't matter how many Game Bans it has, even then it can connect to the server.
I just want to forbid you to connect if you have a VAC Ban on your account.
I have several servers, I wanted to make the players' time checking global.
That is, when a player is added to the database it will go on all servers.
CS:GO does not support hex colors from morecolors
library, but that’s not all.
You should include the Regex
library in the plugin directly, and not through the morecolors
library.
There are some errors, or information missing from the translation files.
grey
, if not in CSGO it doesn't work."Command Generic Usage"
{
"en" "{green}[PS]{default} Usage: sm_ps <hours|bans> <add|remove|check> <STEAMID64>"
"es" "{green}[PS]{default} Uso: sm_ps <add|remove|check> <STEAMID64>"
"pt" "{green}[PS]{default} Uso: sm_ps <add|remove|check> <STEAMID64>"
}
It could automatically let players with immune privileges check the plugin.
That is, you have privileges to enter the server without going through the checks, but when you lose the privileges you must have the requirements to enter the server.
I would like to know how the plugin works with the database.
In this case, I configured to kick all players that do not have at least 120 hours, so far so good.
My question would be, after a player passes this check, is it saved in the database? Can he leave his profile private again that he is no longer kicked?
And even though his profile is private, if he takes VAC he is still kicked from the server if he tries to connect even though he has the minimum hours, correct?
I went to add a player to the hours whitelist to enter and showed the following error on the server console:
L 06/27/2020 - 14:16:37: [SM] Exception reported: Client index 0 is invalid
L 06/27/2020 - 14:16:37: [SM] Blaming: profilestatus.smx
L 06/27/2020 - 14:16:37: [SM] Call stack trace:
L 06/27/2020 - 14:16:37: [SM] [0] GetClientUserId
L 06/27/2020 - 14:16:37: [SM] [1] Line 875, C:\Users\Usuario\Documents\Github\profile-status\scripting\profilestatus.sp::Command
L 06/27/2020 - 14:16:37: [SM] [2] Line 851, C:\Users\Usuario\Documents\Github\profile-status\scripting\profilestatus.sp::Command_Generic
I tried the command as follows sm_ps hours add 76561198814491906
This error happened when I tried to use it directly on the server console, I did not connect to the server to add in the case.
[EDIT]
I have not tested with the other options, I believe that you should check all <hours|bans|level>
option.
i have disabled hours check in config but the plugin still kicks players with this error
device<35><STEAM_1:1:227327333><>" disconnected (reason "Error while retrieving your hours! Make sure they're public"
also the player"s profile is already public
Implement the option to separate the servers in the database.
Currently I have several servers focused on casual and others competitive. Casual servers put that at least 45 hours in the game to enter and in competitive servers 110 hours in the game to enter.
Then start the problem, if the player does not have 110 hours in the game to enter the competitive servers, but he already has 45 hours to enter the casual servers, if he enters a casual server he is added to the database and with that he can enter then on competitive servers even without having 110 hours.
The solution would be to implement some way of separating the servers within the database, something like server_id
is the same as in SourceBans++.
AI would configure each server with an ID and check only that server on the whitelist.
Was that possible?
sm_ps <hours|bans> add <STEAMID64> - Add user to the whitelist. For example: !ps hours add 76561198179807307
sm_ps <hours|bans> remove <STEAMID64> - Remove a user from the whitelist. For example: !ps bans remove 76561198179807307
sm_ps <hours|bans> check <STEAMID64> - Check if a user is in the whitelist. For example: !ps hours check 76561198179807307
sm_ps whitelist - Opens whitelist menu.
For the player to use these commands he needs to have access to the ADMFLAG_GENERIC
privileges, I recommend changing toADMFLAG_CHEATS
so it is easier to control which players have access to add players to the whitelist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.