JProtection
What is JProtection?
JProtection is a plugins that allows you to literally lock everything, blazes, furnaces, ender crystals, dragons, you name it. Apart from just preventing you from breaking or damaging a entity or block, it does also prevents you from interacting with the block or entity (This is optionally for the player who owns the lock), you can for example prevent other players from entering your mine cart, or prevent them from opening your chest, or even prevent them from trading with your villager. You can also optionally lock items that gets thrown on death.
- Download latest stable build!
- Found a bug, or having truble running the plugin? Fill out a Ticket!
- Check out our IRC Channel for Help and Questions (irc://irc.esper.net/JProtection)
- GitHub
- Documents
- Commands|Permissions|Config
Lock your blocks
This plugin gives you the ability to lock all blocks. It does also makes it possible to prevent people from sneaking in your chests, messing with your beacon, and stealing stuff from you furnace.
Lock your entities
This plugin does also gives you the ability to lock you entities. You optionally prevent people from interact with them, that might be good if you don't want people to trade with your villager, or don't want people to keep rotating you item frame. But allowing interactions might be good if you want to have cows that can't be killed but you still want people to be able to breed on them.
Lock your items upon death
If you think its annoying that people steal your items when you die you have the ability to turn on the function that locks your items when you die. But it doesn't prevent despawn so you better pick them up quickly. Check the Config page for more info.
Take out a fee for creating locks
If you have Vault on your server, and doesn't want people to create locks to easily, you have the opportunity to set a price for the locks. The price is set individually per entity/block. Check the Config page for more info.
Other abilities to come
- Disable the plugin in specific worlds
- Give names to locks (Intended for chests, and livingentities) and then be able to search for them.
- Be able to remove all locks from a player after they have been away for a certain time.
- Be able to group entities together, and perform commands on the entire group.
- Put up locks for sale. (Good for selling mob spawners, or ender crystals)
- Make wolfs and cats be auto locked when tamed, and switch owner when another one locks them.
- The possibility to lock entities to server on spawn. (If you want to have an area with immortal creepers)
I would like to thankyou everyone that are testing my plugin. It might take a few weeks until next beta. I plan to release it together with the first beta of another plugin of mine, JCore. The next update will bring SQL to the plugin. Together with a more advance economy. I will also make the cache a little bit more advanced, and smarter. I can reveal that there are already some planning and testing for functions that will fix the problems that are about to come with the new functions in minecraft 1.5
JCore is a plugin API and doesn't do anything by itself. My plan is that when JCore is released JProtection will be released together with it. And it will be supporting thing like multilanguage and SQL. No need for vault will be required by then.
Hi again joatin.
Did this plugin will still be alive when your JCore will passed on release ?
Or it will be replaced by your JCore ?
Thkx
Yes the good thing is that it doesn't have any kind of list of lockable blocks. That way all new blocks will be supported the second bukkit updates to the next minecraft version. All you need is the block id. However I will try to fix so that you only need to lock one side of the double chests instead of both.
It's like LWC, but better and not limited just to chests!
In the next update I plan to fix the commands for toggle the protection on locks. I'm also going to fix so that passwords works properly. I hope to have that done in less than a week.
In the later updates I'm going to change the save files from being text files to be one single binary instead. That way you will be able to store millions of locks within a few megabytes. I'm also going to fix a cache for the locks. Another thing I'm also going to change is that instead of having all messages in the config, I'm going to use language files instead. But I will support a "Custom language". In that file you will be able to write whatever you like. Oh, and one important update im about to do is the double chest ofcourse. Right now you have to lock both sides of it.
If you would like to protect an area instead I suggest that you wait for my other plugin JTown.
No, but they can protect animals one by one. And it works with all entities/blocks. Villagers, dragons, item frames, bedrock(if that would be necessary) and so on.
protect animals? users can made their own region?
Next beta uploaded! Should be availeble for download within a few Days.
Yes, a lock may be public. The code has simply two statements protected/unprotected. A unprotected lock allows others to interact with blocks/entities. However the owner and the owner only (not even admins) may destroy/damage a block/entity. If a admin would like to remove a block/entity he would first have to remove the lock. That prevents admins from breaking anything by accident. The plugin does already count all locks per player. But I haven't yet added the max amount function to the config. I might fix that till the next week, together with the info command. Right now I'm working on integrating my other mod JTown with this in order to give the best world protection possible. I'm also going to change the save files into binary. That would make it so that the plugin can save millions of protections without trouble. However the plugin is still just intender for locking individual blocks. If you would like to block a entire area you should use JTown instead. :)
As a long-time and loyal user of LWC I can actually say that I am considering a switch to JProtection. Can you lock objects as public (you own them but others can interact with them), and limit the number of protections both per-person, and per-entity/block?