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.
@chlitto
http://dev.bukkit.org/server-mods/petitionplugin/forum/petition-plugin2/29812-current-petition-plugin-v2-0-status/#p4
:)
could you maybe add mysql support ;] ?
@suhy17
That seems way out of the scope of the plugin. But I could possibly implement a tag for petitions which could be used with the list function to sort them.
Also you can think about petitions chanels. For example I have mods for cuboids, griefing and other mods for removing ugly buildings. First mods could have default channel, second mods could have channel for buildings.
@suhy17
Multi-Language support is coming in version 2.0 which is currently in development.
It is a complete re-code of the plugin and so will take some time due to me being quite busy in real life but I do hope to get it out at some point.
Can you add language support. Good feature will be also possibility to change prefix ([Pe])
@Trapcore
Yep, 'petition.pe' is the correct node but everyone is able to close petitions that THEY have made.
If you don't want people to be able to warp to their own petitions then set: 'warp-requires-permission' to true in the settings.txt
With that set to true you can then give 'petition.warp-to-own-if-assigned' to allow them to warp to where they created the petition if someone is assigned to it.
Sorry about the documentation being a little bit off i'll update the main page with all the 1.4 documentation now.
@Xemnas33
ok, I tried to use your plugin as a ticket system, were people could open a ticket (petition).
the default group has only the node : petition.pe ( "petition" didnt work, so I tried this ).
so basically, I am looking for the correct permission-node to set up a group which is only able to open a new petition and view their OWN petitions because "petition" didnt work.
cant really test the listing , cause im alone, thats why im asking if this is the right node.
thanks for your fast reply :) bye
@Trapcore
I've tried this with bpermissions and pp1.4 but I can't seem to reproduce the problem. What exactly do they have access to?
@Trapcore
Hm..i'll look into it as soon as possible. Obviously a mistake on my end.
Hi , im using CB 1.0.1-R1 with bPermissions ( PetitionPlugin 1.4 ). For some reason i cant get the correct permission nodes... if i give "petition.pe" it will enable everything... for every other node mentioned it will just say "maybe you don't have the permission to do this".
Where's my mistake ? (using with OP status is no problem, but i need the permission node for the default group to just open a petition).
@lawliet555
Will add this to the feature list for 2.0!
Is it possible to have the option to make it so that a player can only have a limited number of petitions open at a time.
Thx
@LordKainzo
PetitionPlugin v1.4 should work for now untill I have finished the complete re-code (2.0).
@LordKainzo
I've noticed but thanks for posting. We're working on fixing the plugin but it's going to take a bit due to real life time constraints.
@Xemnas33
Any fix for http://pastie.org/3007931 Happens on latest 1.35 on Bperms 2.0 with the latest rb )
@sourcemaker
I'm going to try and make a lot of improvements over my Christmas holidays because i'll actually have free time. :)
It would be wonderful, if an already assigned ticket which is open, not longer announced "There is 1 open petition waiting, use...". If a supporter has assigned this ticket to himself the other staff is spammed until it's closed. Thats a little bit annoying ;-)
Can you have this plugin rely on Vault instead of Permissions for permission handling? :)
PetitionPlugin v1.35 is up, works with #1550.
Thanks to Juze!