SuggestionBox
What it does
SuggestionBox is a plugin for obtaining suggestions, comments, questions, and requests for your Bukkit server.
Players can add, list and read the entries.
Administrators can also delete entries, change the priority of entries, and save the entries to a file on the server.
Change log
v1.0.2
- Added first_run config option so that the default suggestion is not added again on server restart and the suggestion list is empty
- Added a counter as well as the ID number to the
/sblist
command
v1.0.1
- Fixed
/sblist
throwing an error when a suggestion is less than 20 characters
Download
How it works
To add a suggestion, comment, question, or request to the SuggestionBox you use a command. In fact you use commands for everything! See Commands below.
Configuration
There is a config file, but it is not used yet.
Commands
There are 6 commands. All commands work both in game and on the console.
/suggest
- aliases: [sb,suggestbox]
- description: Make a suggestion, comment, question or request.
- usage:
/<command> [s|c|q|r] [your text here]
- the first argument is the type of entry you want to add:
- s = suggestion
- c = comment
- q = question
- r = request
- when used with no arguments, it displays HELP
/sblist
- aliases: [sbl,suggestboxlist,suggestlist]
- description: List suggestions, comments, questions or requests.
- usage:
/<command>
/sbread
- aliases: [sbr,suggestboxread,suggestread]
- description: Read suggestions, comments, questions or requests.
- usage:
/<command> [SuggestionBox ID]
- use the list command to view the SuggestionBox ID of the entry you want to read
/sbfile
- aliases: [sbf,suggestboxfile,suggestfile]
- description: Save suggestions to file.
- usage:
/<command>
- text files are saved to the plugins/SuggestionBox directory with the day's date
/sbdelete
- aliases: [sbd,suggestboxdelete,suggestdelete]
- description: Delete a suggestion, comment, question or request.
- usage:
/<command> [SuggestionBox ID]
- use the list command to view the SuggestionBox ID of the entry you want to delete
/sbpriority
- aliases: [sbp,suggestboxpriority,suggestpriority]
- description: Set the priority of a suggestion, comment, question or request.
- usage:
/<command> [SuggestionBox ID] [NORMAL|MEDIUM|HIGH]
- use the list command to view the SuggestionBox ID of the entry you want to set the priority of
Permissions
There are three:
suggest.admin
default: op - Allow players access administer SuggestionBox
suggest.use
default: true - Allow players to make and list suggestions
suggest.read
default: op - Allow players to read suggestions, comments, questions, and requests.
It would be nice to have a perm that would allow to see how many suggestions/comments/ etc. on login.
Could you maybe add categories that we can set? Then everything would be more organized.
Hello. Can you add option to rating suggestion by public (only approved suggestions) and giving them items for good proposals? Thanks.
@Ryex95
Done - file awaiting Bukkit approval
Can you add the command /sbclear to delete all suggestions?
@deleted_9935739
v1.0.2 fixes the "Welcome to Suggestion.." comment regeneration issue
The ID numbers come from and are determined by the SQLite database, I have added sequential numbering to the
/sblist
command, but you still need to use the ID number for the/sbread
,/sbpriority
and/sbdelete
commands so you are selecting the correct suggestion.If you want, I could add a
/sbdeleteall
command that removes all suggestions and resets the database ID back to 1The "Welcome to Suggestion.." comment regenerates every time the server restarts and the numbers don't reset, they just keep adding up.
@ZwPBerserk
Fixed in v1.0.1 :)
http:dev.bukkit.org/media/files/648/716/SuggestionBox-1.0.1.jar
If a suggestion was shorter than 20 characters the
/sblist
command was choking on displaying it.@ZwPBerserk
Forgot to subscribe to the comments :(
Will take a look tonight and see what's up
I like this plugin! The only problem is that i get an error when i have more than 8 suggestions.
As once as i do /sblist i get an error after the 8th line.