JailWorker
Updated to version 3.3.10!
Hello everyone, I am happy to present you new JailWorker!
Original author reapersoon2 is not active. And, lazy_gon is now maintaining new JailWorker.
If you want to report bug or suggest new feature, please create issue here. Do not report to here.
Currently JailWorker will work on minecraft version 1.12+, 1.13+, 1.14+ (1.14+ is recomended).
About JailWorker
JailWorker is a simple plugin to punish your players.
When a player grief, or insult, or make something you do not like, you can give him some punishment point and send into prison. Prisoner must work in prison and reduce his punishment point to be free.
Current available work actions are:
- To break punishment block.
- To keep logging on and wait in prison (optional).
New Features
- New language system. JailWorker checks players language setting and displays each languages.
- Punishment point system. To implement more work actions.
- If you punish offline player, the player will be added to wanted list and punished when logging on.
- Other plugin can modify prisoners properties. For example, punishment point, punisher, jail name and so on. (For developer)
- Prisoners cannot escape from prison. Server will send them in prison if they are out.
- New command format. Previously, JailWorker's command format was like '/jw-free'. Now this becomes '/jw free'. And, tab-completion is now supported.
How it works
Here, I will explain how to use JailWorker. Do not be afraid, it is very simple :)
Each operations can be done with one or two commands and clicks.
How to create Jails
To create jail, you can use '/jw create <jail-name> <punishment-block-interval> <max-punishment-blocks> <punishment-block-type-1> [punishment-block-type-2] ...'
This command will define new jails with some properties.
- <jail-name> will be Jail name.
- <punishment-block-interval> defines how often the punishment block will appear. Specify in number of second.
- <max-punishment-blocks> defines how many punishment blocks can be in prison.
- <punishment-block-type-...> defines what blocks will appear in prison. You can specify multiple punishment blocks.
After using this command, you select prison location by right clicking. For this section there is navigation in chat.
On first right click, you define position 1. On second right click, you define position 2. Jail space will be inside of rectangle defined with position 1 and position 2. On third right click, you define spawn position.
If you have WorldEdit installed and already selected positions, position1 and position2 will be retrieved from WorldEdit. And on first right click defines spawn location.
After creating prison, you can modify properties by '/jw edit' command.
How to punish players
To punish player, you can use '/jw put <player> <jail-name> <punishment-point>' command. <punishment-point> will be number.
Note that if you stop or delete prison and there are prisoners there, they will not be free but can be out of jail and break blocks.
Wiki
See pages.
Thanks
To damdam501 to help me to test plugin and erase some bugs :)
To AbsintoJ for the Portuguese tutorial :)
To ProfesseurCraft for the French tutorial :)
To everyone for all your comments and download, 10,000 DOWNLOADS! Thank you so much :)
Sources
Hi everyone, today is a great day, i decided to make my sources public. You can take the sources on my github and you can fork the project to update it ! :) Please, just don't forget to keep my name in the plugin as the first developer. This plugin is my first java project, it's my baby ;)
Original source:
Hello guys, im trying to create jail but im stuck at point /jw-setspawn
Well, nothing happens. Im using mcmmo on server, and it uses some events with right click.
Now... am i doing something wrong or what??
Thank you :)
I find this plugin very useful aside the fact that blocks dont drop but, it does pose as a nice and boring jail, lol. I like how you can add whitelist commands. I have run into an issue with it though. I had some of my players testing it out and come to find out, the command /top still works. I just want to suggest the ability to blacklist commands as well. Personally I would find this ability supremely useful.
Thank you.
@Stuartie_h_94
I apologize for the problems incurred on your server, I hope there was no impact... I made a huge mistake in my plugin and I apologize, I immediately found and rectified it!
You can download (if you want ever use my plugin) the new update with the fix.
NB: I was using Asynchronous tasks to spawn blocks on jails. It should never access any API in Bukkit because it's not thread-safety. It was the first time i use Scheduler, now i know it unsafe with Asynchronous and make it Synchronous. I'm very sorry!
ReaperSoon.
I would like to point out that your plugin must have a major bug. Ever since I started using it, it had started to crash my server, I don't know the main cause behind it, however, anytime I was sleeping (as I am UK time and my server gets more busy when I go to bed) it would just crash, we had be told that this was an entity problem and that we would need to generate a new world. We had done this and we were still getting the same problem. This went on for a few weeks and we just though great its something to do with the maps we need to find out what. So we spend endless hours trying to fix and find out what was causing the problem, only to stumble across comment on the internet that showed the exact same error as we were getting. We then found out by someone commenting (a bukkit creator) that this was cause due to a poorly built plugin. We then figured out when this had started happening (the crash logs helped with this) we found the date and look at some of the plugin that we had installed before this had started happening.
We started by working our way through the plugins (starting with this one) as it was added closest to the crashes and we removed it. Once removed we left the server running for 5+ days without any crashes, we are still yet to have any crashes and we then came to the conclusion that the cause of this was indeed your plugin. This may not be the case with everyone however, I just want to warn you incase this has been happening to anyone else.
-Stuart
@user_587959
I don't work on my plugin for now because i have to studding hard for one month. I worked on a new/much stable version. I think i release it on August, with all suggest ;)
Awesome plugin! I love it.
My only problem is; When I jail someone I cannot do anything with them... There are many situations where you have interact with the jailed player. I would love to see the option for a permission to be added to bypass this.
Also cannot remove players that are put in jail after they log off... So now my jail is filling up with names of lazy griefers.
Example: Player steals from another or breaks house. Once jailed I cannot get the items back until I ether unjail or they finish there blocks
Again... Love the plugin aside from these two minor things
@ReaperSoon
No problem! Just a little something to make it just a little better :D
@Stuartie_h_94
Thank you verry much for your suggest !
I will use it for my next update :)
Been using this for a while now and have no complaints! Just a few suggestions however :)
Suggestion 1: You could make it that when you are jailed you get a prefix like [JW] or [Jailed] or something just so you know (some how link it to permissions)
Suggestion 2: Maybe if you only have one jail you only have to do /jail-player <name> not having to add the name of the jail.
Suggestion 3: You could have it that when they get unjailed (either automatically or after finishing) there is a set position that they will spawn back in
Suggestion 4: Maybe have a option in the config that lets you decide which items you want to give them when they are jailed eg, give them a wooden pick or something.
Just suggestion to help improve your plugin :)
@Wolfmen2012
Please send mail to [email protected], the other one does not work
Sorry i have just moment send the log on [email protected]! Thank you for your interest and help. I would like to insert the JailWorker on my server as PVPGun penalty would be a funny thing as a quarry for prisoners!
@Wolfmen2012
I don't know why, need to see server logs
Hi, please excuse my bad english. I have installed the plugin you distributed authorization. It is displayed in the chat green. I have a 40x40 jail in height 15 built block. Defined with right click. then / jw-setjail message in the chat: An internal error occued while Attempting to perform this command What did I do wrong. The message is also used in other commands eg / jw-jw-save setspawn or quarry. Thank you for your help
@rangewonk
Please ensure you reload your server after applying changes on config.yml I tested all options and all work fine for me
This is working for me and I like it although when I try to make it so they can hear and speak it wont let me. Any ideas?
@ASpiderMunkey
Yes, this plugin is compatible with multiworld
Are you able to set the jail as a separate world using Multiword?
@ReaperSoon
I'm using permissionsEX if that matters? I might try it with bPermissions..
Also using craftbukkit 1.5.1 R0.2
The config is here: http://pastebin.com/0yN7s2AX
If you need the actual files and all the list of plugins PM me :)
@Stuartie_h_94
Can you give me your config ? I want to try on my home, i need plugins & CraftBukkit version Thx
@Stuartie_h_94
I have no idea... I don't find the same problem on google. And when i try i have no problem...