The
PlaceholdeAPI is required for SuperAsks to work
Overview
The SuperAsks plugin is designed to send administration/moderation questions, as well as their answers. The plugin can be useful for servers where there is no "Question - answer" section, or just for other information about the server/something else.
Information
/ask {question} - This command sends a question on behalf of the player. Instead of "{question}", you need to write your question, and then press Enter to send it to the administrators/moderators so that they answer it
/asks - This command is designed to open a list of questions, as well as answer/clear them. You can set up word filters (search) and also delete all questions. In order to access the command, you need the permission "superasks.asks"
superasks.asks - A permission that allows the user to open a menu of questions, as well as answer them, but not receive notifications about new questions, as well as deleting questions. It also does not allow you to delete questions
superasks.delete - A permission that allows the user to delete questions individually, as well as all questions at once
superasks.notify-deleted - A permission that allows the user to delete questions individually, as well as all questions at once
superasks.notify-ask - A permission that allows the user to receive notifications when a new question arrives
Code (YAML):
database: # The type of database to be used for connection (Allowed: H2, MySQL, Fortgres) type: "MySQL" # Database address url: "localhost" # Connection port port: "3306" # The name of the database (not the tables!) name: "database"
# Data for authorization in the database
# Username username: "" # Password password: "" on-question-solved: - 'msg
%asker%, you get reply from %admin%: %reply%' # Change this if you don't have EssebtialsX installed or something similar. messages:
ask-timed-out: "&6&lSuperAsks &8» &7The timeout of &630 seconds &7for the response has expired. The question has been returned to the menu, the chat restrictions have been lifted" ask-await-reply: "&6&lSuperAsks &8» &7Your next chat message will be counted as an answer to the selected question. Question: &c%question%&f." ask-sent: "&6&lSuperAsks &8» &7Your question has been submitted to moderation." ask-deleted: "&6&lSuperAsks &8» &7The question has been deleted." ask-deleted-by-admin: "&8[&c!&8] &6&lSuperAsks &8» &7The question from &c%sender%&7 is addressed by the administrator &c%admin%! &8(ASK ID: %ask_id%)" notify-new-ask: "&6&lSuperAsks &8» &c%sender% &7has sent a new question!" deleted-all-asks: "&6&lSuperAsks &8» &c%count%&7 of questions have been deleted." notify-deleted-all-asks: "&8[&c!&8] &6&lSuperAsks &8» &7Admin &c%admin%&7 deleted all questions! &8(Total: %count%)" action-not-allowed: "&6&lSuperAsks &8» &7You can't do this right now!" filter-set: "&6&lSuperAsks &8» &7The filter is installed: &c%filter%" filter-reset: "&6&lSuperAsks &8» &7The filter has been reset." await-filter: "&6&lSuperAsks &8» &7Your next message will be counted as a new value for the question filter."
# Item Management
# name - name of the item # amount - item quantity # lore - description of the item # type - the material of the item (for example, STONE) # enchantments - enchantment of an item (in MENDING:2 format) # hideEnchantments - hide enchantments (the glow remains) # hideAttributes - hide attributes # hideItemFlags - hide other item flags (for example, what is being set or potion effects) # hideUnbreakable - hide the inviolability of an object # hideAll - hide the 4 above parameters together items:
ask-item:
name: "&7Question from &6%name% &6(%time% ago)" amount: 1
type: PAPER
lore: -
"&r " -
"&f%question%" -
"&r " -
"&7Answer the question - &6LBM" -
"&7Delete a question - &6RMB" asks-prev-page:
name: "&fBack &c#%page%" amount: 1
type: ARROW
asks-next-page:
name: "&fForward &c#%page%" amount: 1
type: ARROW
asks-clear-all:
name: " &c&lClear everything " amount: 1
type: RED_TERRACOTTA
lore: -
" &c&m " -
"&r" -
" &fCompletely clears all " -
" &fexisting issues &f" -
"&r" asks-filter:
name: " &e&lFilter out questions &f" amount: 1
type: SPYGLASS
lore: -
" &e&m " -
"&r" -
" &fFilters questions by" -
" &fthe given word/words &f" -
"&r" -
" &fCurrent filter:" -
" &c%filter%" -
"&r" -
" &fReset the filter - &eRMB" -
"&r"
Support
If you need help, or you find a bug/typo, then you can always contact our support so that we, in turn, can help solve all your problems related to our plugin! In order to contact our support, you must log into our
Discord server