[REQ] Whitelist via SQL

Discussion in 'Archived: Plugin Requests' started by ewized, Jun 19, 2012.

  1. Offline

    ewized

    Plugin category: Admin

    Suggested name: Whitelistinator

    What I want: You may all ready say there is a plugin for this and yes there are some to gain whitlisting through SQL but there is one flaw to those they want you to create a new table for the whitelists to be in, or only if there name matches a column on the table. I need a different plugin that will let be to define a SQL query and if the query matches it will let the user logon but if it dont it will kick them and say a message that can be defined in the config file. So in the config file I will like it to say:
    Code:
    message: "You are not whitelisted."
    database: main
    address: localhost
    user: root
    password: default
    query: "SELECT `username` FROM `accounts` WHERE username='{USERNAME}' AND active='1'"
    
    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: none

    When I'd like it by: ASPA.
     

Share This Page