General > Developers Corner

Sourcebans admin integration?

<< < (5/5)

Megiddo:

--- Quote from: MrPresident on April 11, 2010, 04:12:52 AM ---Megiddo, correct me if I'm wrong on this, but...

Editing the users.txt file manually will work, but changes wont take effect until the map/server is restarted. ULib reads this list on start and stores its contents in memory.

--- End quote ---

That's correct Mr. P.

Snowden42:
Ah, still, this should work fine for me. The main reason I wrote this was because of the sheer volume of our database.

Cyanide:
I know I bump this thread but I realy want this. The PHP script up there would be perfect for me. Only problem is that it needs server restart or map change. It's a RP server I got and we never change the map. So is there any command you can add to  the PHP script  so it reloads admin? Is it even possible?

If not can their be a lua code for it? That does the samething as that PHP code and that will load everytime it has change?

I use sourcebans...

Thank you.

strategos:
For lua to "do the same thing as php" as far as SQL compatibility goes... you need a module. I know lexi makes one that works but there isn't anything other than a framework for making sourcebans plugins in gmod. I really wish people would use it to make stuff for the admin mods, but sadly, it's been a slow process

http://www.facepunch.com/threads/980687

SQL: http://www.facepunch.com/threads/952088

Cyanide:
Thanks for your reply, Im just starting in lua but what I do I need to do with the link of the SQL?

Navigation

[0] Message Index

[*] Previous page

Go to full version