General > Developers Corner
Sourcebans admin integration?
Snowden42:
As an addendum to my previous questions. I'm more or less wondering if there's anyway to get Ulx to track the admin output through the Sourcebans MySql databases. It'd be a lot easier if Ulx could set up admins from the admin list stored on Sourcebans.
A little background about this:
My current group recently started up our first Gmod server, a sandbox server. Initially, we had Ulx, but it started to become tedious manually installing admins to the users.txt file. We run several TF2 servers, so we already use Sourcebans to keep track of our admins and bans. Since Ulx doesn't, at least to my knowledge, have this support standard, I decided to try out Sourcemod instead. BIG MISTAKE! Sourcemod is basically bare-bones. I mean, it has a GUI derma menu, but it's pretty much completely terrible beyond that. There's no support for gamemode switching, automatic prop removal, or spawn restrictions, among other features it lacks. So I'd love to be able to use Ulx and it'd be completely awesome if it would support some form of Sourcebans admins. I can give you a sample of these files if absolutely necessary.
I can understand why this might be a challenge--Ulx runs independent of Sourcemod, and Sourcebans only supports Sourcemod. But if there's any way to load Sourceban's admin lists into Ulx, I'd appreciate it like you would not believe. Our admin list is quite large, so to manually install all of them would be a pretty big pain in the ass.
Another thought I just had. I don't know if it's possible, but after perusing the forums, I came across a few different threads talking about this. However, they only asked about ban integration, not admin integration, so I assume this hasn't been asked before. I apologize if it has. Anyways, I noticed that you have something called Uban(s). I haven't looked at it, but would this solve the problems I'm currently having? If this is deserving of its own thread, I'll repost it under suggestions/requests. Any help is greatly appreciated. Thanks,
Snowden
Megiddo:
It wouldn't be difficult at all. This admin list is in a MySQL database? Just promote users to the appropriate user group when they connect.
Snowden42:
I'm confused. I understand I can promote in game, but I'd like to set up Ulx to set admins based upon the Sourcebans MySql database. The database is hosted on the same box, so access is pretty simple. I just need some instructions about how to get it to integrate properly. In addition, the Sourcebans admin list is probably not compatible with Ulx without some revision on the part of Ulx. Like I said, I'll pm you a copy of the Sourcebans admin list as output it outputs it as a .txt file.
Megiddo:
By promote I meant programatically. Surely there's some form of groups or level or permissions in Sourcebans that you can translate to an appropriate group. Just decide what group they need to be in when they connect (via lua).
Snowden42:
Alright, I'm sure what you've said has been very helpful, but I should have prefaced what I asked by saying, I barely understand lua at all. I mean, if I'm given a script, sure I might understand a little of what it's doing, but not to any necessary extent. I presume you're saying that I should keep Sourcemods, so that I can call the admins from it, but beyond that I have no idea how to do this.
Navigation
[0] Message Index
[#] Next page
Go to full version