Raised This Month: $12 Target: $400
 3% 

[SourcePawn/JS] Admin Applications


Post New Thread Reply   
 
Thread Tools Display Modes
Author
HirboSH
Junior Member
Join Date: Sep 2020
Location: Israel, Lod.
Plugin ID:
7359
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-02-2020 , 18:43   [SourcePawn/JS] Admin Applications
    Reply With Quote #1

    Applications

    Introduction

    A plugin that allows easier submission of applications to be one of the server's Admin, built into the game. All the answers stored at your own DB. [Discord bot included, the bot gives you the option to manage the applications easily];

    Usage

    Plugin Usage

    sm_applications | sm_application | sm_apps;

    Start a new application, then click the question you want to answer.

    When you finish all the 6 questions, the application will be stored in your DB.


    NOTE : In the DB qurey i set the column PlayerID to be ``UNIQUE``. It means that a player can apply an application only 1 time. [If the application gets declined, the player will be able to apply again];

    Bot Usage

    Run the bot.

    Execute - YOUR_PREFIXhelp. [You can change the PRERFIX in .env file];

    NOTE : The bot's goal is to make review the applications in a easier way.

    !accept <Application_ID> will accept the application, send a message to a channel that you pre-set. (remember in .env file, CHANNEL?);
    !decline <Application_ID> will decline the application.

    NOTE : In both commands accept and decline the application will be deleted automatically.


    Cvars

    name, defualt value, description

    1. sm_applications_timer_enabled - 1, Enable or disable plugin timer (A reminder for applying to be an Admin), [Default = 1 / Enbaled]

    2. sm_applications_prefix - [Simple Applications], Set the plugin prefix. [Default = 'Simple Applications'];

    Built With

    Plugin

    1. SourceMod + SDKTools - v1.10 - build 6499 https://www.sourcemod.net

    Bot

    1. Discord.js - v12.3.1; https://discord.js.org

    2. DotENV - v8.2.0; https://www.npmjs.com/package/dotenv

    3. Fs - v0.0.1-security; https://www.npmjs.com/package/fs

    4. MySQL - v2.18.1; https://www.npmjs.com/package/mysql

    5. Path - v0.12.7; https://www.npmjs.com/package/path


    <3

    You can find the full guide at the README file in the Github repo.

    Github Repo : https://github.com/HirboSH/easy-admin-applications

    Last edited by HirboSH; 03-19-2021 at 21:07.
    HirboSH is offline
    Di3Z1E
    Member
    Join Date: May 2018
    Old 11-02-2020 , 23:57   Re: [CS:GO] Applications
    Reply With Quote #2

    Actually a useful plugin, but i would add a check in the db for duplicated entries, to block user to spam the application, and a check for gagged players, this will make abusing the plugin a bit more problematic
    Di3Z1E is offline
    HirboSH
    Junior Member
    Join Date: Sep 2020
    Location: Israel, Lod.
    Old 11-03-2020 , 00:37   Re: [CS:GO] Applications
    Reply With Quote #3

    Quote:
    Originally Posted by Di3Z1E View Post
    Actually a useful plugin, but i would add a check in the db for duplicated entries, to block user to spam the application, and a check for gagged players, this will make abusing the plugin a bit more problematic
    I made at the DB query that their SteamID is UNIQUE. So it means that it would work only if the player isn't in the database. But ill add a cool-down in the next version.
    About the gagged players, ill try to handle that too. Thanks!

    Last edited by HirboSH; 03-19-2021 at 21:08.
    HirboSH is offline
    K1lleR_gamea
    Junior Member
    Join Date: Mar 2019
    Location: Israel
    Old 11-03-2020 , 00:59   Re: [CS:GO] Applications
    Reply With Quote #4

    good job!
    but where is my credit? XD
    K1lleR_gamea is offline
    HirboSH
    Junior Member
    Join Date: Sep 2020
    Location: Israel, Lod.
    Old 11-03-2020 , 01:01   Re: [CS:GO] Applications
    Reply With Quote #5

    Quote:
    Originally Posted by K1lleR_gamea View Post
    good job!
    but where is my credit? XD
    xD : D
    HirboSH is offline
    RiToRn
    Junior Member
    Join Date: Aug 2019
    Old 11-03-2020 , 01:36   Re: [CS:GO] Applications
    Reply With Quote #6

    Great job ! Actually a useful plugin !
    RiToRn is offline
    HirboSH
    Junior Member
    Join Date: Sep 2020
    Location: Israel, Lod.
    Old 11-03-2020 , 02:23   Re: [CS:GO] Applications
    Reply With Quote #7

    Quote:
    Originally Posted by RiToRn View Post
    Great job ! Actually a useful plugin !
    : D
    HirboSH is offline
    Tired
    New Member
    Join Date: Nov 2020
    Location: Israel
    Old 11-11-2020 , 10:11   Re: [SourcePawn/JS] Admin Applications
    Reply With Quote #8

    nice one!
    Tired is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 14:28.


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