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 Jun 27, 2012I can help you translating your Plugin into German. If you want this PM me..
-
View User Profile
-
Send Message
Posted Jun 24, 2012@TheSAgibbs
you mean custom aliases?
Sure, I'll look into it. :)
-
View User Profile
-
Send Message
Posted Jun 23, 2012Would I be able to modify this plugin? Like edit the commands?
Instead of /ticket I could change it to something I currently use, like /modreq
-
View User Profile
-
Send Message
Posted Jun 19, 2012@ilovewhaling
That already occurs. :)
When you take/close/reply to a ticket the user who owns the ticket is notified.
-
View User Profile
-
Send Message
Posted Jun 19, 2012Would it be possible to add the ability for players to get a notification when their ticket has been responded to or closed? (Sorry if I missed being able to do this already).
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Cuddyier yeah that would be nice to see how productive each admin has been :P
-
View User Profile
-
Send Message
Posted Jun 17, 2012Could you add a way to see how many tickets an admin has done /taketicket on? I would love this to monitor my admin's activity.
-
View User Profile
-
Send Message
Posted Jun 17, 2012@l4pierce
I've been meaning to incorporate a resolve ticket function for this reason, it's just a matter of deciding how to go about it.
It will likely be included in later versions. :)
-
View User Profile
-
Send Message
Posted Jun 15, 2012Can't wait for mysql :P
-
View User Profile
-
Send Message
Posted Jun 15, 2012Can you make it where the Ticket DOES NOT delete itself when you complete the ticket? This is the only drawback to this plugin, otherwise .. its great!
-
View User Profile
-
Send Message
Posted Jun 15, 2012You have in your code sender.sendMessage(ChatColor.WHITE + "/delticket <#>");
Yet that command is not listed anywhere.
Just helping you out in case you forgot.
-
View User Profile
-
Send Message
Posted Jun 11, 2012Great plugin, keep up the great work. <3
-
View User Profile
-
Send Message
Posted Jun 6, 2012It would be a lot nicer if the tickets would sort themselves back to 1 - <# of tickets> instead of continuously just adding onto the latest ticket.
-
View User Profile
-
Send Message
Posted May 24, 2012Exelent Plugin , I Love It :)
-
View User Profile
-
Send Message
Posted May 22, 2012@Ratkoon
This is because the ticket ID you are doing /checkticket for does not exist. E.g. You are typing /checkticket 1 when there is only a ticket with the ID 0 in /tickets, in this senario, ticket ID 1 doesn't exist. Therefore java cannot find the ticket ID therefore gives that exception. It's completely normal as far as I'm aware.
-
View User Profile
-
Send Message
Posted May 21, 2012Getting this error.
2012-05-21 18:05:01 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'checkticket' in plugin SimpleHelpTickets v0.7 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.odium.simplehelptickets.SimpleHelpTickets.onCommand(SimpleHelpTickets.java:422) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
-
View User Profile
-
Send Message
Posted May 17, 2012I have a question
I am using PEX and in my config stand this :
Ingame i can access the /sht menu but not /ticket
Solution ?
EDIT: Permission System is PEX
-
View User Profile
-
Send Message
Posted May 13, 2012I believe it would also be great that replied tickets after some time close automatically, because for example on my server with 100 players you get many people who forget to close the ticket
-
View User Profile
-
Send Message
Posted May 10, 2012i hope it can write down the place while the ticket was opening
:-(my english is not well, please Try to understand it:-)
-
View User Profile
-
Send Message
Posted May 10, 2012i like the plugin!