AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   users.ini (https://forums.alliedmods.net/showthread.php?t=188072)

vamppa 06-21-2012 22:06

users.ini
 
Lo

is there a way to load the users.ini from the net?
if so, would it also be possible to disable the local hosted users.ini ?

greetz vamp

hornet 06-21-2012 22:09

Re: users.ini
 
D'you mean by using AmxBans? Or by having the admin list printed on a page which would be read from?

vamppa 06-21-2012 22:11

Re: users.ini
 
Quote:

Or by having the admin list printed on a page which would be read from?
that one

fysiks 06-21-2012 22:12

Re: users.ini
 
Use SQL. Requires a database. It's already built in, you just have to enable it! Any other method considered "on the net" is not secure.

hornet 06-21-2012 22:16

Re: users.ini
 
Quote:

Originally Posted by vamppa (Post 1733575)
that one

You can use Sockets Module.

vamppa 06-22-2012 07:41

Re: users.ini
 
alright, thanks how would this be done?
I am not familiar enough with networking like this.

what about the 2nd question.
Code:

would it be possible to disable the local hosted users.ini ?
do I need to edit a base .sma for that?

vamppa 06-22-2012 09:19

Re: users.ini
 
also, is there a limit to amount of users in users.ini ?

fysiks 06-22-2012 18:55

Re: users.ini
 
Quote:

Originally Posted by vamppa (Post 1733783)
also, is there a limit to amount of users in users.ini ?

There is no limit coded into AMX Mod X. You should only be limited by memory.

Quote:

Originally Posted by vamppa (Post 1733743)

what about the 2nd question.

Quote:

Originally Posted by vamppa (Post 1733572)
would it also be possible to disable the local hosted users.ini ?

do I need to edit a base .sma for that?

If you want to disable users.ini then just delete all of it's contents.

Diegorkable 06-22-2012 19:04

Re: users.ini
 
Or just read it from wherever you put it, and update the server's local users.ini according to that.

Liverwiz 06-22-2012 19:15

Re: users.ini
 
Use SQL. It'll be the easiest and most secure method of doing it. Unless you REALLY want to read a web page (use port 80 for HTTP in sockets) I'm not sure how sockets works....haven't looked into it, but 80 is your HTTP port. Possibly you might be able to grab a file through FTP (port 22). But....i strongly suggest SQL. Its also relatively simple to display a SQL query/view on a web page, if that's what you're trying to do.


All times are GMT -4. The time now is 06:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.