If anyone would like to continue this simple project before I delete it, will gain full ownership/management of the project. Please pm regarding this matter.
This plugin aims to provide users with something a little fun, just to bypass sometime or earn a reward. This plugin schedules a broadcast announcing to users to guess a value between x - x (where x is configurable). Once the user has submitted their answer, it will compare their answers with the random number, and if it's correct they will automatically receive an item which also can be configured in the config file.
Just drag and drop into your servers '\plugin' directory.
|guess.use||Gives access to /guess <value> or /g <value>|
|guess.admin||Gives access to /gtn start|
|guess.admin||Gives access to /gtn info - (Default users have no need to access this)|
|/gtn info||Lists commands||N/A|
|/guess <value>||Submits your answer against random value||/g <value>|
|/gtn start||Starts/Restarts scheduled broadcast||N/A|
values: min: 1 max: 5 item-prize: 57 # Your message if the value is incorrect wrong-value-message: '&cWrong number, try again!' broadcaster: enable: true # Values below are set in seconds. # When you want it to start after the correct answer. start-delay: 60 # How often you want the message announced (in seconds). interval: 120 # Your broadcast message # Do NOT delete the min and max variables broadcast-message: '&2Guess a number between %min% - %max%' # Your broadcast message for the winner # Do NOT delete the player variable broadcast-winning-message: '&9%player% &2has won the prize!'
- Add a cooldown before enabling the scheduled broadcast
- Commands to edit the config file in game
- Add reload command
- Add stop command