use @<my_name> Thanks Plugin category: Admin , I think Suggested name: JailPlusplus What I want: I'd like a jailing system that can bail with money .. Ideas for commands: /jail <player> <priceforbail> === Jail the players with the desired price for bail /bail <player> === bail the players that have been jailed /swap <player> == swap to the player that have been jailed because its your friend or something /jail info <player> == info why the player have been jailed /jail escape <player> == player may escape within 25% possibility <- don't make this if its not possible Ideas for permissions: jail.<command> jail.bypass = can't be jailed if the player has this permission jail.* = for all permission When I'd like it by: Yesterday.
Yeah, he wanted the plugin before he made the request Oh and why would you want to be able to escape the jail? I could make it work but I don't see why you would want it EDIT by Timtower: merged posts
@Pocketkid2 I want them to escape at the jail within 10% or base on the config.yml percentage I hope it would be possible thanks
@Sabersek The example format says yesterday, he probably copied the format and didn't change it. @raymart23 Things you'll probably want to address for the sake of @Pocketkid2 or whoever ends up making it: - I'm assuming you'll be wanting some sort of cooldown on that whole escape thing, right? Otherwise they can just spam the command and be basically guaranteed to eventually get out. - You have an info command, but you didn't say that the jail command needed a reason. - Can players bail themselves out? Or is it just by someone else? Or is it just by themselves, and other people can't bail them out?
It will be done my master. Probably within the next day. Those are all valid concerns, and I've thought about them all. I've got some ideas that will work. Although, support for bailing will require Vault. EDIT by Timtower: merged posts Okay so im going to implement jails in the same way that essetials does, where you just set a position or a jail with a specific name, and you access that name to teleport the player there, and they can't break blocks until they are unjailed in which they are teleported back to where they were before. Is that ok? What Java version are you running your server on? Because I usually build my plugins in Java 8 but if you use Java 7 or 6 that will not work and I will build the plugin for whatever you use. EDIT by Timtower: final warning, stop double posting.
@AdamQpzm @Pocketkid2 Hold it use The /prison escape with 10% and Need to wait 2hours to use it again Instead
Yeah thats what i had planned. Anyway, the plugin is coming along nicely. If i can just fix some Annoying errors, it should be done really soon
It's coming along, but i havent had much time to test. I should have it ready in the next couple days.
I am just about done, but I keep running into stupid errors that impede development. Mostly related to object storage. I have now made it my priority, so i'll send it into dev.bukkit.org today or tomorrow. You are welcome to take your own shot at it if you like. Code is complete, once testing is done it'll be good to go! I will put the source on github, and I even have some more features planned aside from the many initial features! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I have finished testing and am finally happy with my results! It took longer than we all hoped, but it is much better code than what I had before, and it all seems to work great. I have now submitted it to dev.bukkit.org, it'll be live at this URL when it's approved: http://dev.bukkit.org/bukkit-plugins/jail-plus-plus/ If anyone wants to see the source code, see here: https://github.com/Pocketkid2/JailPlusPlus I will be continuing development of this plugin, make sure to report any bugs!