Raised This Month: $32 Target: $400
 8% 

[ALL] Request !


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
3731
Plugin Version:
2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin allow player to do request / ask for your server !
    Old 07-06-2013 , 03:29   [ALL] Request !
    Reply With Quote #1

    A newer, better version of this is available here :
    https://github.com/Hackmastr/sm-requests/


    Description :

    Yup, it's again a small plugin. I think its can be helpfull because player can do request / report about what they want ! All request (or call it what you want) is stored into request.txt file who is stored under sourcemod/configs/request.txt .

    This plugin use some code from "playerreport"

    and use the include "morecolors"

    Command and Cvar


    You can use /request, /ask, /feedback or /rq to request/ask something by default (see cvr for more infos).

    Cvar :

    sm_time_before_request 30

    This set after how much time a player can do a nother request.

    sm_request_message "Do you want give us a feed back about our server ? Type /request !"

    Text of advertisement, should begin with " and end with a nother "

    sm_request_message_delay 45

    This one set after how much sec the advertisment should be displayed. NOTE: set value to 0 for NOT displaying any advertisement about this plugin.

    sm_custom_command "feedback,request,ask,rq"

    What should be the command for the plugin ?


    sm_save_path "configs/request.txt"

    Save path of the log file, BASED ON THE SOURCEMOD FOLDER !

    sm_use_database "1"

    Set if the plugin should save request in database or in a text file. Take effect only on map restart !

    Installation

    remove (if exist) request.cfg in your cfg/sourcemod folder.
    1) Put the request.smx file in your addons/sourcemod/plugin folder.
    2) Restart server, reload map or refresh plugin folder.

    Check the automatically created file request.cfg in your cfg/sourcemod folder !

    OPTIONAL
    Also, if you have set sm_use_database to "1" then you will have to confiure a database in your database.cfg.
    Add this to your database.cfg
    Code:
    "Request"
    	{
    		"driver"			"default"
    		"host"				"DATABASE SERVER IP"
    		"database"			"DATABASE NAME"
    		"user"				"DATABASE USER"
    		"pass"				"DATABASE USER PASSWORD"
    	}
    Not extra configuration. (NOTE: request wont be saved in a txt file anymore !)

    To do


    Status : DONE!
    Quote:
    Adding a advertisement message configurable via Cvar
    Status : DONE!
    Quote:
    Add a new trigger. See code if you need to change one manually.
    Bugs


    Status : FIXED!
    Quote:
    Originally Posted by Marverlous View Post
    sm_request_message_delay doesnt work! ;~;
    Attached Files
    File Type: sp Get Plugin or Get Source (request.sp - 452 views - 6.0 KB)
    File Type: smx request.smx (13.3 KB, 459 views)
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 10-19-2019 at 07:56. Reason: Fixed my grammar :|.
    Arkarr is offline
    salsav91
    Senior Member
    Join Date: Aug 2012
    Location: Where Lollichops sleep
    Old 07-06-2013 , 04:25   Re: [ALL] Request !
    Reply With Quote #2

    Possibly integrate a ad system to inform players of the plugins existence? Maybe even add a cvar so we can set the message to something specific? Just an idea if it already doesn't have something like this in it.
    __________________


    Check out my pony animations. http://www.youtube.com/salsav91
    salsav91 is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 07-06-2013 , 04:32   Re: [ALL] Request !
    Reply With Quote #3

    Quote:
    Originally Posted by salsav91 View Post
    Possibly integrate a ad system to inform players of the plugins existence? Maybe even add a cvar so we can set the message to something specific? Just an idea if it already doesn't have something like this in it.
    Looks great ! Going to do that now !
    Arkarr is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-06-2013 , 17:09   Re: [ALL] Request !
    Reply With Quote #4

    Code:
    befor
    Code:
    [...]a nother request
    Code:
    advertissement
    Code:
    Stean ID
    Is that intentional ?
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 07-09-2013 , 14:52   Re: [ALL] Request !
    Reply With Quote #5

    Sorry, this is not intentional.

    Last edited by Arkarr; 12-31-2013 at 20:07.
    Arkarr is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 12-31-2013 , 15:29   Re: [ALL] Request !
    Reply With Quote #6

    sm_request_message_delay doesnt work! ;~;
    Marverlous is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 12-31-2013 , 19:53   Re: [ALL] Request !
    Reply With Quote #7

    Quote:
    Originally Posted by Marverlous View Post
    sm_request_message_delay doesnt work! ;~;
    Ousch, totally sorry. What a old plugin... UPDATED!
    __________________
    Want to check my plugins ?
    Arkarr is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 01-02-2014 , 14:47   Re: [ALL] Request !
    Reply With Quote #8

    Still doesnt seem to work, what's the maximum value?
    Marverlous is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 01-02-2014 , 15:21   Re: [ALL] Request !
    Reply With Quote #9

    Quote:
    Originally Posted by Marverlous View Post
    Still doesnt seem to work, what's the maximum value?
    Hum strange. There is not a max value. Worked fine for me. You are using the config file (cfg), right ?
    __________________
    Want to check my plugins ?
    Arkarr is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 01-02-2014 , 15:37   Re: [ALL] Request !
    Reply With Quote #10

    It worked, thank you.
    can you add a cvar to change the chat trigger? For example I would like to change it into "!feedback"

    Last edited by Marverlous; 01-03-2014 at 18:18.
    Marverlous 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 15:07.


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