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:
Yeah, it just happened to remove mine the first time, I couldn't get it to happen again, but I figure if someone is in jail they probably deserve it anyway.
Oh, also, I have to edit the configuration for each jail manually, I have the same problem as someone else where it gets stuck on the config part and I just end up talking in chat. I am using LiveChat http://dev.bukkit.org/bukkit-plugins/chat/
@diannetea
Inventory is not deleted, it's saved and restored after player is free
Is the player's inventory supposed to be deleted? :(
aaand I can't duplicate it. Awesome.
@RomilDoesMinecraft
no they cant... they cant even do any commands nor talk while they are in jail. They can only break stuff that are permitted in that cell.
If a player in jail and they do /spawn and do they g to spawn???
Having trouble getting it to respond in the config questions part... when you do T:Sand it wont go onto the next part.
I love it, cool :D
I still have same issue, jail is completely full of sand after some server update time...
Any chance to fix that, please?
@BeerCav And be able to jail an offline person. It's like a little surprise! :D
@kdthehun
Either that or be able to stop blocks when they are offline. I have like 3 that once jailed never came back but cant clean jail or anything else.
Issue!
You can't IP check, Ban, Kick the player if jailed. You can't free if player offline. Would be nice to fix these issues.
This is so EXTREME.
I love it! Now all these dumb haters are crying out loud because obsidian is so long to mine! :D
It's also a great way to bypass these anti-afk and auto-reconnect mods. Awesome job!
@ReaperSoon
OK,
this is mine CFG: http://pastebin.com/HFdSdZ6K
this is mine jails.yaml: http://pastebin.com/ghhfdh6v
I cant see anything wrong, but maybe you can. I still have feeling that all these errors are related to that first one for setspawn position. I still did not try your custom version with spawn fix, because of this err.
Please check it and revert.
cheers :)
@ha11oga11o
Hmm, no it's not normal... Verify your area, my plugin count haw many blocks of sand (or other depeding your choice) are in your jail area. If your area is bad, my plugin can't count them.
@ReaperSoon
hello,
I send you a mail.
Tell me guys, is it normal that after some time jail is full of sand? I stated only 5 blocks in jail at time, but yesterday i come to see how guys works, and i seen jail is 90% full of sand... When they dig it it works fine,... so far :)
Cheers!
Hi ReaperSoon, thanks for that great plugin.
Could you add jail commands executed from console? Will be helpfull for my jail server. Thanks for your time! ;)
Best regards.
@ha11oga11o
Hi, i made it for you, tell me if spawn selection work with it: http://alienation-gaming.fr/to_download/JailWorker-1.2.2-CB1.5.2-R0.1_%28setspawn_fix%29.zip
I work for a new version of my plugin, without yaml file, but i have some problem for now and no many time to work (i'm student ;))
Your help can be useful, because i haven't server to test. Please send me an email if you are interested to help me :)
@ReaperSoon
I tried everything, no way that right click works for spawn position. BUT, right click works fine when selecting cuboid :/
I think, that there's problem with some other plugin but i couldn't find which one. I suspect to MCmmo but im not 100% sure.
I did it this way...
I selected cuboid and manually add coordinates to file, and then add spawn point in very same yaml.
After that start server - all works fine :)
But still, im not able to create another prison.
Suggestions;
We need to create prison somewhere wheres not protected/claimed area so all players can interact with punishment blocks, right?
OK... so when youre in jail, mark jail coordinates and later come to that place and devastate jail completely!!
Is it possible when we select/create jail cuboid to make it protected from griefing and to be permission for that so we can tweak it?
Otherwise, plugin idea is great, works fine an already i have 30% swearing drop in mine server in only one day :)
Thank you manno, really good job. If i can contribute somehow dont hesitate to ask me. I even have test rig so if you need testing im here.
@ReaperSoon
When I right click when do jw-setspawn It sets both points
@ha11oga11o
Some users have the same problem, i don't know why... I think you have to right click pn your block without moving. It still work for others ;)