A simple plugin that will add chat-questions to your Minecraft server. If you want to ask your players about something. For example, about how they found out your server or if you need to add certain changes to the server, this plugin is for you.
Features:
Layout: Make a question layout for yourself.
Two types of data saving: 1: All player's data stored in one .yml file.
READ ADDITIONAL INFO 2: Every player has it's own .yml file.
READ ADDITIONAL INFO Ability to make everyone vote again by using /bq update [questionNumber]. Answers on this question won't update.
Please give me suggestions in the discussion forum to improve the plugin.
Plugin сommands:
Code (Text):
/bq help - open a help list
/bq on|off - turn on/off plugin notifies for player
/bq rl - reload configuration file
/bq view [ID] - view question statistic
/bq list - list of questions
/bq delete [ID] - Delete question with answers on him
/bq toggle [ID] - Toggle question broadcasting
/bq update [ID] - make everyone vote again (READ ADDITIONAL INFO)
Permissions:
Code (Text):
betterquestions.admin - Ability to use admin commands
betterquestion.ignore - Ability to ignore questions
Configuration File:
Code (Text):
# ! Every duration have to be in minecraft ticks !
#
#Delay before sending vote message
#20 ticks = 1 second
delay: 400
delimiter: " | "
playersdatasavetype: 2 #Plugin has two types of if player answered data saving. 1: All data saved in one config file. With big number of players may cause troubles. 2: Each players gets his own file where list of questions is contained. May cause troubles with /bq update
layout: "==================\n%question%\n\n%answers%\n==================" #adding more than 1 "%answers%" will cause troubles
messages:
successfulvote: "&aYou successfully voted!"
alreadyvoted: "&cYou already voted on this question!"
nowbroadcasting: "&aQuestions are now broadcasting."
nolongerbroadcasting: "&aQuestions no longer broadcasting."
alreadybroadcasting: "&cNothing happened. Questions already broadcasting."
alreadystoppedbroadcasting: "&cNothing happened. Questions weren't broadcasting."
noanswer: "&cThere is no such answer to that question"
reload: "&aConfig has been reloaded!"
hoveranswertext: "&fSend &b%answer% &fas an answer." #Answer in chat hover
questionnotfound: "&cThere is no question with this number"
updatesuccessful: "&aUpdate successful"
questionNowDisabled: "&cThis question is now removed from broadcast pool"
questionNowEnabled: "&aThis question is now added to broadcast pool"
onlyPlayerCanAnswer: "&cOnly players can answer questions!"
nopermissions: "&cYou don't have permissions to do that"
usage:
view: "/bq view [questionNumber]"
update: "/bq update [questionID]" #Remove all answers correspond to that question
delete: "/bq delete [questionID]" #Remove question
toggle: "/bq toggle [questionID]"
#Is questions broadcasting?
active: true
Screenshots:
ADDITIONAL INFO:
If you use 1't type of data saving you may experience troubles when the file is starting to get big.
If you use 2'nd type of data saving you may experience lags when using /bq update command. (this command loops through all player files and removes needed question number).
Warning! If you found a bug make sure to contact me!
You are not allowed to redistribute or resell this plugin on any website without my permission
You are not allowed to claim this plugin as you own work
Thank you for using the BetterQuestions plugin.
Have fun!