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 Oct 16, 2012@Adriani6
Perhaps something like this is a little simpler to install and easier on the eyes? :)
-
View User Profile
-
Send Message
Posted Oct 15, 2012Created Web GUI for this. I don't know if you Odium saw my message :P So here it is.
http://dev.bukkit.org/server-mods/web-gui-simplehelptickets/
Enjoy.
-
View User Profile
-
Send Message
Posted Oct 15, 2012hello =)
got this.. in config: expiration:7 database connection is open creating table
When i do a reload of the plugin alone,it clears the database.. after the reload it says "creating table".. im pretty sure it should not create a table everytime it loads.. and i can't get to phpmyadmin..only sqlbuddy. so don't mind too much about my problem,since i realize it's on my mysql server the problem occur..not your plugin off to try to solve the login problem then..thanks for the help Odiumxxx =)
Edit: i got in,and i see the test tickets that i created..restart of Plugin flushes the table.im puzzled lol
-
View User Profile
-
Send Message
Posted Oct 15, 2012@tiwar
Heya!
I've tried hard to replicate your error and had no luck. It's very confusing, My best guess is it's something to do with ticket expiration? How does your config.yml look?
Also, a few other things you can try:
1) See if you are able to use something like PHPMyAdmin to have a look at the database, it may help to give you a clearer picture of what is happening.
2) Watch at server-startup, If database connection is successful SimpleHelpTickets should say:
"DATABASE CONNECTION OPEN"
and, if it then fails to find a table in the database, it will then say:
"creating table"
3) Ticket Expiration
At startup and Shutdown SimpleHelpTickets checks the expiration date of closed tickets, and deletes any expired tickets.
When it does this, it will output to the console:
[SimpleHelpTickets] X Expired Tickets Deleted
X being the number of expired tickets it deleted.
I hope this helps, let me know how you go. :)
-
View User Profile
-
Send Message
Posted Oct 14, 2012Is it possible for players to reply to their own tickets as well?
Also, could you possibly add a separate permission node for purging and deleting and closing tickets for users and admins?
Thanks =)
-
View User Profile
-
Send Message
Posted Oct 14, 2012-
View User Profile
-
Send Message
Posted Oct 14, 2012Hi,again.. i don't know what im doing wrong here? i created a mysql database,named tickets,added all login creds. I go in ingame,creates several test tickets, And all seems fine,i can bring up the tiockets and all. But if i stop the server,and starts it again, All ticket gets deleted from the database. When i log in again it says i got no tickets. probably nothing to do with this plugin at all,but i have to start somwere.. Thanks for any help regards tiwar
-
View User Profile
-
Send Message
Posted Oct 13, 2012Update Sourcecode pls :)
-
View User Profile
-
Send Message
Posted Oct 12, 2012Can you make it so that it alerts the user on login if their ticket(s) have been updated?
-
View User Profile
-
Send Message
Posted Oct 12, 2012Wow! works awesome =) thank you very much.. and mysql me like.. good work,much appreciated regards tiwar
-
View User Profile
-
Send Message
Posted Oct 11, 2012@tiwar
Great point.
I'm working on another update tonight, hopefully MySQL support will finally be sorted.
While I'm there I'll be sure to make admins exempt from ticket limitations.
-
View User Profile
-
Send Message
Posted Oct 11, 2012hey,love this plugin =) could you make it so admins have unlimited amount of helptickets? as it is now i can only issue 3 tickets,as the ordinary users have.. i use this for assigning jobs for my moderators aswell. thanks cheers tiwar
-
View User Profile
-
Send Message
Posted Oct 11, 2012Really good plugin ! But a exploit is possible with "/taketicket"
My moderator use this for tp player in PvP .. It's possible to add an option for disable the teleportation when you take a ticket? Thanks you !
-
View User Profile
-
Send Message
Posted Oct 7, 2012This maybe a little off topic for the plugin but a it would be cool if a player types /grief or something at a grief, admins can TP to it and fix it. This is eaiser then telling people to make a ticket a grief, as 8 year olds don't understand.
-
View User Profile
-
Send Message
Posted Oct 6, 2012there is bug, maximum tickets= 2, they can make 7-8
-
View User Profile
-
Send Message
Posted Sep 26, 2012Could u add support to language switching or change it by ourself (sorry for my bad english)
-
View User Profile
-
Send Message
Posted Sep 23, 2012@daboross
Version 0.9.7 works fine in 1.3.1 R2.0
There is no need for any updates, and SimpleHelpTickets is by no means laggy.
It's far too simple a plugin to be the cause of any lag.
-
View User Profile
-
Send Message
Posted Sep 19, 2012Could you please release a build for craftbukkit 1.3.1 R2.0? I don't use the current beta build on my server because it is Very laggy, and downgrading to 1.2.5 is not an option for me. I don't see a file in the downloads fro that version, and if you could create one that would be helpful.
-
View User Profile
-
Send Message
Posted Sep 14, 2012Could you please add something like this:
When a staff replies to a ticket, after x days if the user didn't replied it automatically closes?
Please this would be very useful, specially on bigger servers :D
-
View User Profile
-
Send Message
Posted Sep 14, 2012I'm having a problem. I use Group Manager and when I add sht.ticket to permissions the players are still denied access to any command related to SHT. What's going on?