Author Topic: OpenSteam: Bans and User Management System  (Read 62824 times)

0 Members and 5 Guests are viewing this topic.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: OpenSteam: Bans and User Management System
« Reply #45 on: April 24, 2014, 04:00:59 AM »
I would like to start using this but, as I said, I am afraid of losing all my current bans. Is there a way currently to migrate current bans from banned_user.cfg or is that a future option? I know I asked this before but I was confused about your answer, sorry.

 If there is, can you tell me how to do that? Also, if I just want to use the permissions I have on each server for staff, is there a way to turn off that option in your system?

 I assume the loading screen doesn't have to be used if we have a custom one?

 Another thing that is stopping me (and others might have this concern) is that I am rather a MySql noob :-[ .

Offline Grief-Code

  • Newbie
  • *
  • Posts: 15
  • Karma: 6
  • C, C++, PHP, Project Management
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #46 on: April 24, 2014, 04:15:31 AM »
I would like to start using this but, as I said, I am afraid of losing all my current bans. Is there a way currently to migrate current bans from banned_user.cfg or is that a future option? I know I asked this before but I was confused about your answer, sorry.
Currently you wouldnt loose the bans, but there is atm no way to import bans, this can be added as feature soon.
If there is, can you tell me how to do that? Also, if I just want to use the permissions I have on each server for staff, is there a way to turn off that option in your system?
What do you mean exactly by that? Global permissions for each staff member or certain for specific servers?
I assume the loading screen doesn't have to be used if we have a custom one?
You dont need to use our loading screen, it can be disabled i think
Another thing that is stopping me (and others might have this concern) is that I am rather a MySql noob :-[ .
You dont need to have any knowledge about MySQL :-) You only need to set up the MySQL database and create a user for it. The rest is done through the panel.

Regards

Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #47 on: April 24, 2014, 04:18:24 AM »
You can use bans simultaneously from banned_user.cfg  and MySQL. But if you have a lot of bans it's better to import all bans into MySQL.
Therefore, this system does not exclude the option to ban as before. It will work too.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: OpenSteam: Bans and User Management System
« Reply #48 on: April 24, 2014, 06:23:54 PM »
Well that's great if i can just keep my banned_user.cfg bans and start doing the new bans on this new system! Then I can just wait until an import feature is added and move them! As far as the permissions go, I have a lot of addons with different permissions for different levels of staff. I also have 5 different gmod gamemodes with different addons and different staff on each gamemode. So it just sounds easier if I keep that at a server level on each server and not in MySql?

Offline Grief-Code

  • Newbie
  • *
  • Posts: 15
  • Karma: 6
  • C, C++, PHP, Project Management
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #49 on: April 24, 2014, 11:12:02 PM »
It sounding easier to keep it like current.
But you need to see the future, its just one time a bit work and that makes life actually easier :-P

- You can directly administrate usergroups by simple log in through a web page
- You can change permissions from everywhere
- You can easily add new groups
- You can promote/demote players directly be review their profile
- You have a staff list to review your staff directly
- Public players can review the staff list aswell

Regards

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: OpenSteam: Bans and User Management System
« Reply #50 on: April 25, 2014, 04:25:57 AM »
Are the commands such as ulx banuser actually listed in the ulx menu and you ban from there? Can you use the commands from rcon with hlsw? Will this system do my laundry too? Seems it does everything else!

Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #51 on: April 25, 2014, 07:03:15 AM »
You can use commands from rcon


Keep in mind that this system uses MySQL database, so that the command is not currently displayed via ulx menu. The reason for this is that you can use OpenSteam commands when the target user is not on the server and also you can use web interface, which is advantage. I'll see if it is possible to display data from database via ulx menu, but I am not currently working with it.

Also, I've added an option to ban user via web by getting data from steam (adding user/admin is also possible), so you can manage all without connecting to server.
Ban user web

I'll probably soon add an option to import all bans via banned_users.cfg into database.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: OpenSteam: Bans and User Management System
« Reply #52 on: April 25, 2014, 10:35:10 AM »
Thanks I am starting to understand this much better. So say one of my moderators (without access to the website or rcon) sees a mass rdmer on TTT and needs to quickly ban them to get them off the server. How does he actually do that?

Offline Grief-Code

  • Newbie
  • *
  • Posts: 15
  • Karma: 6
  • C, C++, PHP, Project Management
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #53 on: April 25, 2014, 12:20:08 PM »
There is an rcon command which can directly kick a player from the server from the website. Next stimple use the ban as shown on the console = banned & kicked.


Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #54 on: April 25, 2014, 12:48:59 PM »
I am currently working on a commands for quick ban players. It will work like this:
ulx showplayers (will show all players sorted by entity index)
1. Player1 (STEAM_0:0:xxxxx)
2. Player2 (STEAM_0:0:xxxxx)
3. Player3 (STEAM_0:0:xxxxx)
4. Player4 (STEAM_0:0:xxxxx)
5. Player5 (STEAM_0:0:xxxxx)


Now you want to quick ban players 2, 4 and 5 with single command. It will be:
ulx banindex 2 4 5 <BAN_TIME> <REASON>

However, I updated table structure, so now banned IP Address is also checked.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: OpenSteam: Bans and User Management System
« Reply #55 on: April 25, 2014, 01:01:45 PM »
While I don't necessarily find use of this system now, I like how it looks so far with the features. Nice work.
I'll be happy to provide Norwegian translations for this. I know you have the 'lang' folder for the web interface, so I'll just do a pull request or something (I haven't used git too much, so I don't really know what I'm talking about) eventually.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Grief-Code

  • Newbie
  • *
  • Posts: 15
  • Karma: 6
  • C, C++, PHP, Project Management
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #56 on: April 25, 2014, 01:17:43 PM »
Sounds already good.

Basically: Fork, create the new file, make a remote pull request.
If you have any questions do not hesitate to ask me about details ;-)

Regards

Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #57 on: April 25, 2014, 04:16:30 PM »
File updated (added ulx banindex command). To get player entity index type ulx showplayers.
Result:
Index PLAYERNAME SteamID
Index PLAYERNAME SteamID
Index PLAYERNAME SteamID

Usage:
ulx banindex Index BanTime "Ban Reason"
Example:
ulx banindex 1,3,5 1050 "Test ban"
Will ban players with index 1,3 and 5 for 1050 min. with reason "Test ban"

I think that in this way you can more quickly ban multiple players at once than with ulx menu.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: OpenSteam: Bans and User Management System
« Reply #58 on: April 26, 2014, 03:24:37 AM »
So it sounds like rcon access is needed by moderators/admins, etc to ban players or no?

Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam: Bans and User Management System
« Reply #59 on: April 26, 2014, 06:54:50 AM »
No, rcon access is not needed for this, but commands that you can set on group/permissions page. Just call console with tilda (~) (default) and use commands.