[ADMN/GEN/TP] OKModTickets v1.0.2 - Support ticket system for Bukkit [1.0.0-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Oct 3, 2011.

  1. Offline

    Kalman Olah

    OM - OKModTickets
    by Kalman Olah​
    Latest version: 1.0.2 ( Download )​
    Would you like to buy me a drink? some useless stuff from Amazon? a car?​
    [​IMG]
    What is OKModTickets?
    OKModTickets is a simple support ticket system for Bukkit. It allows player to submit tickets, should they be experiencing issues. OKModTickets features a workflow system, some built-in teleportation commands, permissions nodes for everything, and ticket cooldowns.
    OKModTickets supports Permissions, PermissionsEX, GroupManager and bukkit's permissions.
    Where can I download it?
    The latest version of OKModTickets can always be found here.
    Additionally, OKModTickets comes with an auto-updater which will download updates to the /plugins/OKModTickets/update/ folder.
    How do I set it up?
    After you've extracted the .jar to your server's /plugins/ directory and have restarted your server OKModTickets will generate a config.yml file, which can be found in the /plugins/OKModTickets/ directory.
    Example config.yml:
    Code:
    play-time-required-to-submit-ticket-in-minutes: '1440'
    cooldown-time-in-minutes: '10'
    enable-anonymous-stat-tracking: 'true'
    default-ticket-tier: Default
    ticket-tiers:
        Default:
            node: okmodtickets.tier.default
        Mod:
            node: okmodtickets.tier.mod
        Admin:
            node: okmodtickets.tier.admin
    Explanation:
    How do I use OKModTickets?
    List of commands and permissions nodes:
    Misc:
    Check out the source code on GitHub at:
    https://github.com/kalmanolah/OKModTickets

    Changelog:
    Version 1.0.2
    • Bugfixes to configuration class.
    Version 1.0.1
    • Minor update to permissions Check.
    • Ignored deprecation warnings.
    Version 1.0.0
    • First public release.
     
  2. Offline

    Hackuss

    Hmm interesting: D Soon I will be testing: D
     
  3. Offline

    Kalman Olah

  4. Offline

    fffizzz

    might have to check this out.. been using modtrs
     
  5. Offline

    Tomaz

    Good Plugin, i Really like this.
     
  6. Offline

    GoofyGewber

    Awesome, this is going to help out on my server a lot!
     
  7. Offline

    Kalman Olah

    Version 1.0.1

    • Minor update to permissions Check.
    • Ignored deprecation warnings.
     
  8. Offline

    Kalman Olah

    Version 1.0.2

    • Bugfixes to configuration class.
     
  9. Offline

    Zaros

    Kohle likes this.
  10. Offline

    Kalman Olah

    Yeah, sorry, didn't want to put any names in there :).
     
  11. Offline

    MonsieurApple

  12. Offline

    Kalman Olah

    Thank you kindly :).
     
  13. Offline

    Orcem12

    Using Permissionsbukkit.
    permissions given: superpermbridge.okmodtickets.ticket: true
    "You do not have permission to do this."

    Fixed. But now it says you cannot make a ticket?
     
  14. Offline

    Kalman Olah

    you probably don't meet the "play time required" requirement. Set that to about "1" in the config :).
     
  15. Offline

    Orcem12

    Alright now I'm getting internal errors on almost everything except /ta reload
     
  16. Offline

    Kalman Olah

    Could you post your config, bukkit version and permissions plugin/version please?
    Just to be sure, try deleting the config and database files, and restarting your server :).
     
  17. Offline

    Orcem12

    ok, after deleting and restarting everything here is what I get:
    @Kalman Olah
    Error:
    Code:
    29.10 19:34:54 [Server] INFO Caused by: java.lang.NullPointerException
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    29.10 19:34:54 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    29.10 19:34:54 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    29.10 19:34:54 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    29.10 19:34:54 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    29.10 19:34:54 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'ticket' in plugin OKModTickets v1.0.2
    29.10 19:34:54 [Server] SEVERE null
    Config:
    Code:
    play-time-required-to-submit-ticket-in-minutes: '1'
    cooldown-time-in-minutes: '10'
    enable-anonymous-stat-tracking: 'true'
    default-ticket-tier: Default
    ticket-tiers:
      Default:
        node: okmodtickets.tier.default
      Mod:
        node: okmodtickets.tier.mod
      Admin:
        node: okmodtickets.tier.admin
    
    Permissions: I got this part working...

    Bukkit Version: 1337
     
  18. Offline

    Kalman Olah

    Could you post the full error? Your part does not mention what function caused it specifically :).
     
  19. Offline

    Orcem12

    @Kalman Olah
    Of course. Give me one sec

    EDIT: I hope this is what you are looking for

    Code:
    29.10 20:59:03 [Server] INFO     ... 12 more
    29.10 20:59:03 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    29.10 20:59:03 [Server] INFO     at me.kalmanolah.om.OKCmd.onCommand(OKCmd.java:309)
    29.10 20:59:03 [Server] INFO     at me.kalmanolah.om.OKmain.CheckPermission(OKmain.java:104)
    29.10 20:59:03 [Server] INFO     at com.platymuus.bukkit.permcompat.PermissionHandler.has(PermissionHandler.java:48)
    29.10 20:59:03 [Server] INFO     at com.platymuus.bukkit.permcompat.PermissionHandler.internalHasPermission(PermissionHandler.java:27)
    29.10 20:59:03 [Server] INFO Caused by: java.lang.NullPointerException
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    29.10 20:59:03 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    29.10 20:59:03 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    29.10 20:59:03 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    29.10 20:59:03 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    29.10 20:59:03 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'ticket' in plugin OKModTickets v1.0.2
    29.10 20:59:03 [Server] SEVERE null
     
  20. Offline

    Kalman Olah

    There is no reason for you to be getting that error. I suggest you make sure the default tier in the config actually exists, and do a full restart.
     
  21. Offline

    Orcem12

  22. Offline

    tatelax

    Everytime I try to use a command, I get Usage: (the command I tried to use)

    like,

    "Usage: /ticket"

    How could I fix this?
     
  23. Offline

    Kalman Olah

    The plugin failed to actually start up. Check your startup log and post the error :).
     
  24. Offline

    captainnana

    This plugin made my server have 110% CPU on the process and crashed it; I removed it 5%... Think there may be a problem with it. CB 1337
     
  25. Offline

    Kalman Olah

    Working just fine on a server that regularly has about ~100 people online at once. Post your startup log, something must've gone wrong.
     
  26. Offline

    FaeDine

    Came across a bug I think with /ta list.

    Moderators have the permissions:
    - okmodtickets.view
    - okmodtickets.move
    - okmodtickets.to
    - okmodtickets.claim
    - okmodtickets.unclaim
    - okmodtickets.close

    Admins have the permission:
    - okmodtickets.*

    Doing /ta list works for Admins but not Moderators and gives the error in the console:
    Code:
    23:59:02 [WARNING] [OKModTickets] [SQLite] Error at SQL Query: [SQLITE_ERROR] SQL error or missing d
    atabase (near "LIMIT": syntax error)
    23:59:02 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ta' in plugin OKModTicke
    ts v1.0.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
            at me.kalmanolah.om.OKFunctions.getTickets(OKFunctions.java:129)
            at me.kalmanolah.om.OKCmd.onCommand(OKCmd.java:130)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 13 more
    Bukkit is b1337 and OKModTickets is 1.0.2. Any insight into this is appreciated :)

    Edit: Oh yeah, same thing happens with /ticketadmin.

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'ticketadmin' in plugin OKModTickets v1.0.2
    
     
  27. Offline

    Kalman Olah

    They need to have one of the ticket tier permissions.
     
  28. Offline

    FaeDine

    Can't believe I missed that. Thank you very much :D
     
  29. Offline

    Nathan C

    Very nice, it works great!

    Unlike every other petition plugin there is out.
     
  30. Offline

    vein_mx

    Gonna try it out! Great plugin so far!
     

Share This Page