[FilterScript] SAMP-Blacklist - Online Ban System
#1





SA-MP blacklist is an online global ban system which is currently in the early stages of testing. This filterscript uses our web API to submit ban requests. You can use our global ban system or our local ban system.

Global Ban System
This is a collaborative works by all servers who use this filterscript. When a cheater is banned from a server using this filterscript, the ban is also placed on SAMP-Blacklist's cloud database which will be checked when a user joins your server. This is an experimental ban list which will be improved over time, suggestions from our users will be very helpful.

Local Ban System
If you simply want to have a back-up of bans online, our local ban system allows you to retrieve entries created by your api key. That means entries made by other servers won't be checked when a player joins your server.

Tolerance Modes
Tolerance Modes allow you to specify how strict you want the ban checks to be. A player might have been banned from another server because the server's admin team or owner took a disliking to them. Setting a high tolerance will eliminate the risk of banning a player who has done absolutely nothing wrong. This system will also allow us to track who is misusing the system.

Whitelist
Our whitelist feature allows you to ensure that even when using our global ban system, you'll never be banned from your own server by mistake. You can list as many names as you wish on our whitelist, these names are allowed to access your server regardless of their ban status.

Please understand this my first attempt at creating such a system, improvements will be made over time and I hope to have this service running for the next year and beyond, but it really depends on how it plays out with the users. I'm releasing this as a test script, report any bugs/issues you find. The API should be stable, you might want to edit the script to use your own commands, you can call remote functions (see documentation) to use your own game mode with this.

Quick Installation
  1. Place the filterscript (.amx) into your filterscripts folder
  2. Place skullbox_data.ini into your scriptfiles folder
  3. Generate a free API key from the SAMP-Blacklist.com website
  4. Replace the contents of skullbox_data.ini with your new API key
  5. Add the filterscript to your .cfg file (not recommended to load in after server start)
  6. Try it out with the default commands /addban and /removeban for RCON.
Requirements
  • SSCANF
  • ZCMD (For compiling) *
  • Internet Access
* You can remove zCMD completely by modifying the .pwn file and removing the default commands. Since you can call the remote functions from your own game-mode, these commands aren't needed but are there as an example only.

---
If you get any issues with the API itself, will fix it as quickly as possible. Also, the current API is a very basic version of it. If all goes well, it will be extended to include features such as timed bans and more.
---
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)