Simple Help Tickets
Simple Help Tickets
Description:Simple Help Tickets provides a simple and effective system for users to request the assistance of an admin. Starting out as a rather lightweight plugin I threw together for personal use and decided to share, it has continued to expand due to popular demand. By using /ticket a user can open a help ticket, which can then be reviewed and dealt with by an administrator. Both users and admin are able to reply to tickets to further dialogue regarding a ticket. If a user logs in and an open ticket has received a reply from an admin, they will be notified of the change.
Installation:Updating to 1.0
If you are updating to 1.0 you will need to start with a fresh database.
If you're using SQLite simply delete Tickets.db in SimpleHelpTickets plugin directory
MySQL users, delete the table SHT_Tickets in your database, it will be replaced on server start.
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server
Configuration:
• MaxTickets
Maximum number of tickets per user.
• TicketExpiration
Number of days before a closed ticket expires
• NotifyAdminOnTicketClose
Users with the sht.admin permission will receive a message when a ticket is closed.
• MultiWorld
If using more than one world, take/check ticket will display the appropriate world name in ticket details
• OnJoin
Display number of personal tickets to user / total tickets to admin upon join
• USE_MYSQL
Whether to use MySQL instead of SQLite output.yml
• Use to customize plugin output (Language / Formatting)
Commands:
• /helptickets - SimpleHelpTickets Menu.
• /ticket (description) - Open a help ticket.
• /tickets [-a/-c] - List Open/All/Closed tickets.
• /checkticket <#> - Check the details of a ticket.
• /taketicket <#> - Assign self to a ticket. (and be teleported to the location is was set)
• /replyticket <#> <reply> - Reply to a ticket
• /closeticket [-r] <#> - Close a help ticket.
• /delticket (#) - Delete a help ticket.
• /purgetickets [-c/-a] - Purge expired, Closed or All tickets
Permissions:
• sht.ticket - Open a help ticket.
• sht.admin - Administrate help tickets.
• sht.reload - Reload SimpleHelpTickets.
To Do:
•
•
•
•
•
Web GUI
By popular demand, a Web GUI is available for SimpleHelpTickets.
You can download it below. • SimpleHelpTickets Web GUI
Thankyou for your support! :D Recent Change-Log:
1.4
- Updated for Spigot API 1.10.2
- UPDATED: Updated for new UUID system
(Caveats: UUID not translated to player name)
- Fixed: bug when reopening a ticket
1.3.6
- FIXED: MaxTickets not limiting the amount of tickets a user can open
- FIXED: User OnJoin notification of open tickets repeating itself
- FIXED: MySQL Connection Check. (Merged PR: TheCutter)
1.3.5
- Updated extra formatting to not interfere with colour codes
- Recoded ticket.class
- Fixed "CONSOLE has opened a ticket" bug for MySQL users
- Fixed notification of admin reply on user join
1.3.4
- Added bold/italic/underline/strike/reset to output.yml
- Fixed typo in output.yml
- Added check to getconnection in mysqlconnection.java to ensure connection is established, and if not re-stablish connection before continuing.
1.3.3
- minor bugfix: Users rceiving notification about open tickets even if tickt is/are closed
- minor bugfix: Prefix removed from 'No Tickets To Display' message
- minor bugfix: Instances of getDisplayName changed to getName in closeticket & taketicket (Fronix)
- minor bugfix: A few typos in output.yml have been fixed (if your output.yml is unchanged, delete it before starting your server to generate a new one)
-
View User Profile
-
Send Message
Posted Dec 14, 2012@Halpan
Nicely spotted.
SHT assumes that if you have the sht.admin permission that you would also have inherited the sht.ticket permission from lower groups which do.
This would rarely be otherwise, however in your case it appears that those with sht.admin permission are not inheriting the sht.ticket permission.
Initially I'd say that this is an error with your permissions setup.
However it'd be best for SHT not to make assumptions like that all the same.
I'll update accordingly. :)
-
View User Profile
-
Send Message
Posted Dec 14, 2012A problem I've encountered is that as an admin with the admin permission, it won't let me reply to a ticket. It says I don't have permissions to use the command.
-
View User Profile
-
Send Message
Posted Dec 4, 2012@MrDiceServer
As I said before, output.yml handles all the plugin output.
Change the output in output.yml
-
View User Profile
-
Send Message
Posted Dec 2, 2012Hello, still some problem with the text. When someone creates a help ticket it says "CONSEL" created help ticket. And when any help ticket is close/reviewed it says "Your help ticket is being reviewed." Take a look :
Pic #1 : http://i.imgur.com/iUUJo.png
Pic #2 : http://i.imgur.com/p23Dk.png
-
View User Profile
-
Send Message
Posted Nov 25, 2012@Odiumxxx
I opened my Output.yml to edit it, and it is the exact same as you told me to change it to?
Also could you check out this error : 2012-11-10 18:56:34 [INFO] §7[SimpleHelpTickets] §cError: §fjava.text.ParseException: Unparseable date: "2012-11-09 01:17:19.0"
-
View User Profile
-
Send Message
Posted Nov 25, 2012Sometimes when a player logs in and has a help ticket created in queue, I see this in console:
18:55:45 [INFO] jedipadwan[/66.67.22.222:63185] logged in with entity id 5929 at ([freebuild1] 2183.9832865926833, 57.0, -1142.32559304946) 18:55:45 [INFO] ?7[SimpleHelpTickets] ?cError: ?fjava.lang.NullPointerException
Versions: CB 1.4.5 r0.2 SimpleHelpTickets-1.2.jar
-
View User Profile
-
Send Message
Posted Nov 25, 2012@MrDiceServer
Yeh, it's just a typo in output.yml. :)
You can ix it yourself with ease, just change TicketOpenADMIN to...
TicketOpenADMIN: '&Y%player &whas opened a &YHelp Ticket'
I've updated the source accordingly.
@Erudin1
Very strange indeed, I'm as yet unable to replicate you error under a myriad of attempted circumstances. I'll continue trying and let you know if I come across a solution for you.
@kbryantLA24
It seems you haven't noticed there already is one.
Output.yml
-
View User Profile
-
Send Message
Posted Nov 24, 2012Any plans for a locale/language file? I'm OCD about the text that appears on my server and always tweak this on every plugin that offers this feature.
-
View User Profile
-
Send Message
Posted Nov 21, 2012Hi.
I got 2 different Errors..
If i use SQL:
19:13:42 [INFO] §7[SimpleHelpTickets] §cError: §fcom.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
If i have SQL disabled:
19:09:36 [INFO] §7[SimpleHelpTickets] §cError: §fcom.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
There is no way to fix it from my side. Serverbuild: 1.4.5 R0.2
I wiped/deleted the Database and reinstalled the Plugin. Nothing fixed the Problem.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@elgarfo
@Odiumxxx
I would really love too have the source on GitHub makes it possible for me to tweak the plugin to suit our server better. The plugin is really good, however I would like to change the commands to swedish and add some stuff of my own.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Odiumxxx
Yes. you told me before, i think it has something to do with output.yml.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@MrDiceServer Did you start with a fresh database after updating?
@elgarfo
Fantastic point, there appear to be a couple more instances of output that should also be included in the output.yml which I'll update also.
-
View User Profile
-
Send Message
Posted Nov 17, 2012i used to localize your plugin through recompiling from github source. now with that outpu.yml its a much easier task. but you seem to have missed some strings of the plugin in that output.yml because the help menu stays in english language although i changed every string in output.yml to german.
could you please add the help-menu string to the output.yml or re-publish the current source-code to github, so i can change those string "the old way"?
awesome plugin btw. it really keeps much stress from our game masters.
-
View User Profile
-
Send Message
Posted Nov 10, 2012Please make some shortcuts, like. /checktickets - /ct /taketicket - /tt
-
View User Profile
-
Send Message
Posted Nov 10, 2012@MrDiceServer
Same problem here.
-
View User Profile
-
Send Message
Posted Nov 8, 2012Hello, I was wondering why when someone opens a help ticket on my server for some reason it says "CONSOLE has opened a help ticket" instead of saying their name. Here is a picture of it happening : http://i48.tinypic.com/zo88bq.png
Also, I was wondering if you could add a few things :
For the output.yml. Thanks.
Update : Now getting this error :
2012-11-10 18:56:34 [INFO] §7[SimpleHelpTickets] §cError: §fjava.text.ParseException: Unparseable date: "2012-11-09 01:17:19.0"
Please help me out on this too, thanks.
-
View User Profile
-
Send Message
Posted Nov 6, 2012I want to know If a player creates a ticket and logs off then a moderator answers the ticket when they are offline, will it tell them when they log in next?
Thanks
-
View User Profile
-
Send Message
Posted Nov 5, 2012@Odiumxxx
Waiting for file 1.2 :P
-
View User Profile
-
Send Message
Posted Nov 4, 2012@kbryantLA24
I'm....honestly not sure how I've missed that.
Replyticket needs a new permission, definitely.
Uploading a fresh version now.
Thanks for your feedback :D
@MrDiceServer As Above:
If you are updating to 1.0 you will need to start with a fresh database. If you're using SQLite simply delete Tickets.db in SimpleHelpTickets plugin directory MySQL users, delete the table SHT_Tickets in your database, it will be replaced on server start.
-
View User Profile
-
Send Message
Posted Nov 4, 2012When i submit a ticket with Sql i get this problem?
[SimpleHelptickets] Error : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'adminreply' in 'field list'