PetitionPlugin
A plugin for players to log problems, requests and complaints etc.
NOTICE - IRC Channel #PetitionPlugin on irc.esper.net for any suggestions/queries!
Features:
- Players may open one or more petitions and get assigned a unique ticket # for each. This number can be used to track the petition until it has been closed.
- Each petition may be assigned to a specific op/admin or left as unassigned
- Players as well as ops/admins may add comments to an open petition
- Ops/admins (and currently players) may warp to the location where the petition was opened
- Ops/admins (and currently players) may review the history of each open petition
- Closed petitions are archived and can be reviewed or reopened by moderators
- Use the command "/petition" or the shorthand command "/pe".
- All commands are case-insensitive
- New and updated petitions are announced to everyone with 'petition.moderate' permission
- Supports multiple worlds
- Offline players receive notifications on petition updates when logging in
- Server admins can handle petitions on the server console
- Players and moderators are reminded of their open petitions at configurable intervals
Command syntax:
- /pe open|create|new <Message>
- /pe comment|log <#> <Message>
- /pe close <#> [<Message>]
- /pe list [<count>]
- /pe view <#>
- /pe assign <#> [<Operator>]
- /pe unassign <#>
- /pe warp|goto <#>
Installation:
- Download the latest PetitionPlugin version.
- Copy it to your "plugins" directory
- Optionally create a new directory called "plugins/PetitionPlugin"
- Optionally create a new directory called "plugins/PetitionPlugin/archive"
- Optionally create a new file "plugins/PetitionPlugin/settings.txt"
- Load the plugin (Restart the server, or use any plugin you have for this purpose)
Settings: The configuration file is optional, the following settings are available:
single=Petition plural=Petitions notify-all-on-close=false notify-owner-on-assign=true notify-owner-on-unassign=true notify-interval-seconds=300 warp-requires-permission=false
Command examples: A player in distress:
/pe open Someone has burned down my home! # the player receives a ticket number, say 45 for this example /pe comment 45 And killed my chicken!
Admin/Moderator responds:
/pe list # the plugin shows me a list of currently open petitions /pe assign 45 FloydATC # the petition status is changed to show that I am now handling this incident /pe warp 45 # I am teleported to the scene /pe comment 45 nice crater /pe close 45 Feather refunded, have a nice day # +1 served
Dependencies:
- None
Permissions:
- 'petition.pe' required to open, comment and view a petition
- 'petition.warp-to-own' required IF 'warp-requires-permission' is enabled
- 'petition.warp-to-own-if-assigned' required IF 'warp-requires-permission' is enabled
- 'petition.moderate' and 'petition.moderator' required for everything else
Known problems: Certain situations can lead to double notifications, such as an operator commenting on his own petition. Colourisation is work-in-progress.
@Xemnas33
As long as the old deprecated methods are gone, i'll be happy ;)
@Xemnas33
if you implement all this, you're my hero and let me know where a PayPal donation can be made :-) ... also, HelpTicket has a nifty feature of auto-assigning a ticket to the person who first warps to its location (which seems kinda logical to me) which I'd love to see in Petition as well, if at all possible :-P
@Punishkey
Will sort that out!
@zathrus_writer
As far as i'm aware there's not really any performance 'problems' but optimisations can definitely be made.
Re-colouring will be possible. Multi-language support will be coming and I could give the option to use the /ticket command name and change the messages accordingly.
@Xemnas33
I'm unfamiliar with old Petition plugin... so please, what kind of performance problems are you guys talking?
and also, would it be hard to allow us re-color the messages Petition gives and maybe customize texts? I could be switching from HelpTicket but it would confuse players if they see petitions instead of tickets probably - and all the changed colors :-)
thx!
hello, great plugin!! you could put a limit of tickets per person to avoid the trolls?
thanks!!
@KSISniper47
It 'should' work.
Is GroupManager not compatible with this?
@LordKainzo
I'll see what I can do in terms of performance. I'll put a "test build" out once I feel the majority of the plugin is functional to see how it performs.
@Xemnas33
Any performance improvements from the old Petition Plugin ?
@Hikyuuri
Vault isn't a permissions system. It's an API that allows me to support the majority of permissions systems with very few lines of code.
Why does this require Vault? Why can't we use any permission system, like PermissionsEx. I have that one already fully set up for my server, and really don't want to have to set up a new one.
@DudeClank60
Update.
More errors:
16:09:17 [SEVERE] Error occurred while enabling PetitionPlugin v1.4.1 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/List ener;Lorg/bukkit/plugin/Plugin;)V java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg /bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V at com.petitionplugin.petition.PetitionPlugin.onEnable(PetitionPlugin.ja va:81) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:970) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:187) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:170 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@lipe124
Thanks!
This plugin is really a GREAT idea and works well.
Kudos to you good sir.
@Xemnas33
Thanks a million. Works like a charm now. Keep up the good work !
@XzistPriest
Uploaded the file, just wait for it to be approved.
@DudeClank60
The plugin requires Vault. Download it from here.
UPDATE3 : No, same error. If you want to see the error again with timestamps, I copied it from server.log for you.
UPDATE2 : On it right now. I'll get back to you in 2 minutes tops. Thank you for responding so fast !
UPDATE : The CB I downloaded is 1.1 RB, from here.
Yes, I checked Vault (updated to latest version , so is CB), and the PetitionPlugin is downloaded from here, last link posted. (obviously). Any suggestions are welcomed !
I have an error running my server with petitions. Every time i run my server the plugin can't load.
16:42:35 [SEVERE] Could not load 'plugins\PetitionPlugin.jar' in folder 'plugins ': Vault org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:136) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:215) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:152) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:128) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur ationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:147) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@XzistPriest
Thanks for your comment!