efCraftTickets

Over the past year or so my server has been using this ticket plugin to manage everything. Whether it be griefing help, ranking up, basic help, buycraft support, .... anything!

The plugin is highly configurable and manages tickets using permissions for various ticket types. Using permissions you can give various players/ranks roles to ticket types. Every ticket type you can customize to grant specific permissions for a group/player. So for example if a group has the list permission for a ticket type, then that group can list the tickets. If they do not have the list permission then those tickets will not be listed.

Here is how it works.

First we have the basic ticket commands:

/ticket new <type> <description>
Creates a new ticket with <type> and <description>
/ticket confirm
Confirms creating a ticket so you can review it before making it
/ticket types
Lists the available ticket types
/ticket help
Lists the help menu
/ticket close <#>
Closes a ticket #
/ticket view <#>
Views a ticket #
/ticket list <#>
Lists tickets available to you
/ticket next
Views the next ticket that is on your list
/ticket tp <#>
Teleports to the ticket #'s creation location
/ticket stats <player>
Views stats for the ticket
/ticket reload
Reloads config file
/ticket resetLiveTicket <player>
Resets a player's live ticket score

Using these commands you interact with the plugin Each command has permissions in the form of "efcraft.ticket.<command>" ... example: efcraft.ticket.help

Now for the fun part. In the config file you can specify various types of tickets in a list setup. Each ticket can be created with the <type> parameter in the /ticket new command. The type is listed with /ticket types.

Tickets can be managed with permissions as well so you can have viewing permissions, closing permissions, new permissions, list permissions. This way you can simplify setting up tasks for mods by changing each moderator's permissions based on what tickets they can view.

So for example, if we have a ticket type called "grief". In order to make the ticket using the command /ticket new grief <description>, a user would need the permission "efcraft.ticket.new.grief"

In order for someone to view the ticket they would need the permissions efcraft.ticket.list.grief. Same goes for closing and tping to the ticket: efcraft.ticket.close.grief and efcraft.ticket.tp.grief

So to wrap things up. The permissions for the various close, view, tp, list, and new would be:

efcraft.ticket.close.<type>
efcraft.ticket.view.<type>
efcraft.ticket.tp.<type>
efcraft.ticket.list.<type>
efcraft.ticket.new.<type>

Remember to give them the base permissions without the <type> in order to use the commands.

On top of this, I also have stats that are monitored for each user which shows how many active tickets they have open, how many tickets they have closed, and how many total tickets they have made. I use this to monitor my admins to see who is pulling the most weight. These stats are viewed with /ticket stats <player>

Also in the config file I have maxlivetickets which are the maximum number of live tickets a player can have at any time and a tickettimer which is the amount of time in seconds between creating new tickets.

Here is an example config file (default):

# List of ticket types (Can add custom tickets)
tickets:
- grief
- info
- bug
- adminabuse
- rankup
- help
- adminhelp
- buycraft
maxlivetickets: 5
tickettimer: 360

Also one last thing, I have added a special buycraft ticket which can only be created by the console. These are special tickets that I use when issuing commands from my buycraft account. So for example I have: /ticket new buycraft {user} purchased a premium plot

in my buycraft command list, which will create a new ticket of type buycraft indicating that the {user} has bought a premium plot.

This allows me to monitor which user buys things from my buycraft account.

Anyways I hope you all like the plugin. It has been running great on my server for more than a year and all my admins/moderators love it and allows me to set up roles based on ticket types.

If you want to check out the plugin come to one of my servers: play.efcraft.net or pvp.efcraft.net

Currently the maximum number of tickets that can be live at one time is 999, if servers need more let me know and I will increase or provide a way to increase the number from the config file.

Commands

/ticket new <type> <description>
Creates a new ticket with <type> and <description>
/ticket confirm
Confirms creating a ticket so you can review it before making it
/ticket types
Lists the available ticket types
/ticket help
Lists the help menu
/ticket close <#>
Closes a ticket #
/ticket view <#>
Views a ticket #
/ticket list <#>
Lists tickets available to you
/ticket next
Views the next ticket that is on your list
/ticket tp <#>
Teleports to the ticket #'s creation location
/ticket stats <player>
Views stats for the ticket
/ticket reload
Reloads config file
/ticket resetLiveTicket <player>
Resets a player's live ticket score

Ticket Permissions

efcraft.ticket.close.<type>
efcraft.ticket.view.<type>
efcraft.ticket.tp.<type>
efcraft.ticket.list.<type>
efcraft.ticket.new.<type>

Ticket Command Permissions

efcraft.ticket.close
efcraft.ticket.new
efcraft.ticket.view
efcraft.ticket.tp
efcraft.ticket.list
efcraft.ticket.next
efcraft.ticket.reload
efcraft.ticket.stats
efcraft.ticket.types
efcraft.ticket.resetLiveTicket
efcraft.ticket.confirm
efcraft.ticket.help

TODOS:

  • None (sorry no need for mySQL, I added tons of optimization techniques that effectively caches things in the plugin.)

Check out my other plugin(s)! Namer: http://dev.bukkit.org/bukkit-plugins/namer/


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    67985
  • Created
    Oct 26, 2013
  • Last Released File
    Oct 26, 2013
  • Total Downloads
    749
  • License

Categories

Members

Recent Files