Server Whitelist script
#1

Hello,so I need a whitelist for my server (players only on the list can enter the server).Ive been searching on the forum but found only 2fs-s 1st dead link and 2nd does not work.Help please
Reply
#2

That's really simple. You can make a database and let only the PLAYERS with the account on the database to enter on the server. Like mine: http://i.imgur.com/aYqya3c.png

It says that you don't have an registered account, you can made that to say that you aren't on the whitelist. Soo-.. you make a database, ((MySQL is better)) and do something like SELECT * from ACCOUNTS WHERE whitelist=1

And a normal player isn't in the database. Then you can make a command on the server like /addwhitelist or a SITE. So you make that command, your script/code and then add something for the database like "INSERT * INTO accounts... whitelist, etc . Hope that helped you :P
Reply
#3

First you need a file saving system, like Dini or MySQL.

When a player connects the list/table will be opened. If player has been found in the list/table, he can connect otherwise he will be kicked. You can also add /editwhitelist [playername] and then another player will be put in the table/list.
Reply
#4

Tnx for the help,but im not that good as a scripter to make it.I wish that there is a system somhwere that i can just download and use xD
Reply
#5

Then you'll never know how to SCRIPT if you only download and use. It's really simple, just watch a tutorial on ******* >> how to make a MySQL database samp . And after you made the database you can post a topic here and we will help you and explain to you why and how to .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)