Sueta

AskOp - Ask Staff For Help

2.0.0

Let your users easily contact staff!

·Plugin

=======

=======
____

AskOp - An easy way to ask server administrators!
____

2.0.0 update!
Find out what's new in it here!
--------------------------


--------------------

This is a very useful plugin which allows users to contact server administrators very easy. To ask a question you need to type /ask <your question> in chat and you must have an askOp.ask permission. All operators and players with askOp.reply permission will receive player's question and they can answer it, using /reply <name of a player, who asked a question> <answer> . Player will receive the first answer from server administrators and after that all the staff will get a message that the player got the answer. A player can't ask questions until he gets the answer on it and staff can't ask themselves ! All plugin messages can be customized. If a player leaves a game after he asked a question and didn't get an answer on it, he will be automatically deleted from the list of questioners and all the staff will get a message, which will say that they don't have to reply to this user anymore . You can use '&' instead of '§' to color plugin messages, which is quite comfortable. Commands can be run only from players . It is prohibited to use them in console! Some messages support variables . You can see where you can use them and what do they do in config.yml! In 2.0.0 update a new command was added! It is /got . Using it, you can remove your question from the list if you understood the solution by yourself !


(For your comfort most of them are colored green in 'ABOUT' paragraph.)
____________________________

An easy way to ask staff a question;

Has two permissions;

Player can't ask questions until he gets an answer on his first one;

All staff get a message with player's question, so if one server administrator doesn't know how to help the other might do;

Staff can't ask themselves;

An easy way to reply to a player, who asked a question;

All plugin message can be customized;

If player leaves a game after he asked a question and didn't get an answer on it, he will be automatically deleted from the list of questioners and all the staff get a message, which will say that they don't have to reply to this user anymore;

Use '&' instead of '§' for color codes;

Commands can be run only from players;

Supports variables;

Comfortable plugin configuration file config.yml;

Remove your question from the list if you understood the solution by yourself.
____________________________

name: AskOp
main: ru.namerpro.AskOp.Main
author: NamerPRO
version: 2.0.0
description: Ask operators or staff with special permissons and get answers from them.

commands:
    ask:
        description: Ask op or staff your question.
        usage: /<command> <question>
    got:
        description: Show staff you understood the problem by yourself.
        usage: /<command> <reason>
    reply:
        description: Answer to a person who asked you.
        usage: /<command> <playerToReply> <answer>
       
permissions:
    askOp.ask:
        description: Use the ask command.
        default: op
    askOp.got:
        description: Use the got command.
        default: op
    askOp.reply:
        description: Use the reply command.
        default: op

##########################################
      #ASK...
                #OP!
             
            #Made by NamerPRO!#
##########################################

#/ask command messages:
ASK:
 
    #Message on incorrect command usage:
    WrongSyntax: "&6[&aAsk&9Op&6]&7: &cUse: /ask <question>"
 
    #Message when a player asked staff, using /ask command:
    SuccessAsk: "&6[&aAsk&9Op&6]&7: &aYou'd successfully asked staff!"
 
    #Message when a player asked a question before he got an answer on his 1st one:
    WaitAnswer: "&6[&aAsk&9Op&6]&7: &cPlease, wait untill the staff will answer your first question!"
 
    #Message when a player has no permission to run /ask command:
    NoPermissions: "&6[&aAsk&9Op&6]&7: &cYou don't have permissions to use this command!"
 
    #Message when staff try to ask themselves:
    OnlyUsers: "&6[&aAsk&9Op&6]&7: &cStuff can't ask themselves!"
 
    #Message when /ask command was run from console:
    NoConsole: "&6[&aAsk&9Op&6]&7: &cYou can't do this action from console!"
 
#/reply command messages:
REPLY:

    #Message on incorrect usage:
    WrongSyntax: "&6[&aAsk&9Op&6]&7: &cUse: /reply <playerToReply> <answer>"
 
    #Message when staff replies to player:
    #{PLAYER} => player's name to whom staff replied
    SuccessReply: "&6[&aAsk&9Op&6]&7: &aYou'd successfully replied to &e{PLAYER}&a!"
 
    #Message when staff types a wrong user name to reply to:
    IncorrectUser: "&6[&aAsk&9Op&6]&7: &cThis user didn't ask you any questions."
 
    #Message when a player has no permissions to run /ask command:
    NoPermissions: "&6[&aAsk&9Op&6]&7: &cYou don't have permissions to use this command!"
 
    #Message when /reply command was run from console:
    NoConsole: "&6[&aAsk&9Op&6]&7: &cYou can't do this action from console!"
 
    #Message when a player leaves before he got an answer on his question:
    #{PLAYER} => name of a player who asked a question
    PlayerLeft: "&6[&aAsk&9Op&6]&7: &cPlayer &e{PLAYER}&c left the server, so he doesn't need an answer anymore!"
 
    #Message to staff when a player got an answer from someone:
    #{PLAYER} => name of a player who asked a question
    #{SENDER} => name of a player who answered a question
    GotAnswer: "&6[&aAsk&9Op&6]&7: &aPlayer &e{PLAYER}&a got an answer from &e{SENDER}&a!"
 
#/got command messages:
GOT:

    #Message on incorrect usage:
    WrongSyntax: "&6[&aAsk&9Op&6]&7: &cUse: /got <reason>"
 
    #Message to a player when he removed his question:
    SuccessRemove: "&6[&aAsk&9Op&6]&7: &aYou'd successfully removed your question!"
 
    #Message to staff when a player removed his command from a question list:
    #{PLAYER} => name of a player who asked a question
    #{REASON} => reason why player removed his question
    RemoveAsk: "&6[&aAsk&9Op&6]&7: &cPlayer &e{PLAYER}&c removed his question with reason: &7{REASON}"
 
    #Message when a player runs this command when he didn't ask any questions:
    NoQuestions: "&6[&aAsk&9Op&6]&7: &cYou didn't ask staff any questions!"
 
    #Message to a player who couldn't ask it (doesn't have askOp.ask permission):
    CouldntAsk: "&6[&aAsk&9Op&6]&7: &cYou can't remove your question, because you couldn't ask it!"
 
    #Message when a player has no permissions to run /got command:
    NoPermissions: "&6[&aAsk&9Op&6]&7: &cYou don't have permissions to use this command!"
 
    #Message when staff members try to remove a question:
    OnlyUsers: "&6[&aAsk&9Op&6]&7: &cStaff can't ask questions, so they can't remove them!"
 
    #Message when /got command was run from console:
    NoConsole: "&6[&aAsk&9Op&6]&7: &cYou can't do this action from console!"
 
#Player question style:
QUESTION:
 
    #Line that tells who asked a question:
    #{PLAYER} => name of a player who asked a question
    Who: "&6[&aAsk&9Op&6]&7: &e{PLAYER} &ahad asked a question:"
 
    #Line that tells the question player asked:
    #{QUESTION} => player's question
    What: "&6[&aAsk&9Op&6]&7: &7{QUESTION}"
 
    #Line that tells how to reply to a player who asked a question:
    #{PLAYER} => name of a player who asked a question
    How: "&6[&aAsk&9Op&6]&7: &fUse /reply {PLAYER} <answer> to answer!"
 
    #Line that tells a player who asked a question an answer from staff:
    #{ANSWER} => an answer from staff
    Get: "&6[&aAsk&9Op&6]&7: &fStuff'd answered you: &7{ANSWER}"


Similar projects

Plugin →