BlockRestore
Block Restore
NOTICE
This plugin is in alpha development status. It can crash the server! Use at your own risk.
What It Does
With this plugin, you can save and restore your buildings and creations. Your seleted blocks will be saved.
How To Use It
- This video will be reworked soon.*
Issues
- Items in chests, hoppers and furnaces will not save! I'm working on this issue...
- Doors are hard to save, so when you restore a save with doors, any doors will not appear, but I'm working on this issue too...
- If you try to restore a save with colored wools, every wool will change to white. I'm working on it!
- Save and restore process takes a big amount of RAM, so be carefull... Until I find a better way, you can split your building or whatever to multiple saves and restore them one by one.
- This is all what I know, so if you found an issue, please say it :D
Permissions and commands
Commands
- /blocksave [name] - Saves your selected blocks
- /blockrestore [name] - Restores your blocks on the same coordinates
- /blockremove [name] - Removes a save
- /blocklist - Shows you all saves.
Permissions
- blockrestore.save - Allows you to save blocks
- blockrestore.restore - Allows you to restore blocks
- blockrestore.remove - Allows you to remove blocks
- blockrestore.list - Allows you to show all saved blocks
GitHub
https://github.com/Kazarp/BlockRestore
I welcome every helpful coders, that want to contribute to my project. You can always do a pull request or PM me to become a contributor.
Note
It's a long time since I last updated this plugin. That's because I thought this plugin has no future, but I can see, that many people like this plugin and want it to evolve.
So I decied to rewrite this plugin (Bukkit API has many changes since I last edited the code). Because of that I created a Git repository on GitHub.
You can look forward to some upgrades and new features like:
- Very, very, very less RAM usage. Thanks to new feautures of Bukkit API, I can minimalize the usage of RAM with subthreading, lower priority threads, planned threads and finnaly - saving blocks to binary file instead of a config YAML file.
- Next planned feautures will be added soon.
If you found an grammar mistake, please tell me
@monstercat101
Yes, I'm working hard :D
@Dortexian An update for this sounds great :) is this still hapenning?
@Gr0up115
I'm now working on rewriting this plugin. The Bukkit API has evolved a lot since I was last programming with it. I saw, that they added some very useful features, like subthreading and serializing. Thanks to it, I can make the pluin very better.
@p90nub
Soon, there'll be an "less RAM usage" update! You can look forward for it :D
@nkomosim
Thanks :D.
I did exactly what you were warning me from. I forgot about this plugin for a year. But I finally realized, that there are some people, that likes my plugin and I'm happy about this :D. So I'm now working on rewriting the code.
@Lazarshow
See some permission plugins. That's not a work for me :D
@sgtcost
Thanks :D
@n0nnie
Thanks to your suggestions. I'll soon add them on my TODO list. I have thought about sheluding too, but I have to invite the command system. It must be easy and effective.
However, if you want to contribute to this project, see the GitHub repository.
This is EXACTLY what I was looking for! Thank you so much for writing this! Its kind of overpowered to install WorlGuard and WorldEdit just to restore an area =)
I have a few suggestions to make this Plugin even more awesome =)
- Give opportunity to schedeule restores - this might be handy if you use this with some Questingsystem (break certain amount of blocks) - Give opportunity to restore after a player left the region
I am aware of your lost Sourcecode, but PLEASE consider to go on with developing =)
How do you add permissions for regulars?
My god I have been searching for a plugin like this for ages. This plugin is perfect! Please don't forget about it!
I have a suggestion too, is it possible to shorten the time it takes for BlockRestore to disable? When stopping the server it takes quiet a while to disable for some reason.
I'd like to report an issue with this plugin using too much ram with small saves & restores.
I'm not getting any errors but when saving or restoring, it goes all the way up to 100% then the server crashes. This is happening with only the server running.
Awesome plugin! Just what I was looking for. Can't seem to find another plugin that does the same thing, even though it seems like it is a very useful tool.
brilliant one though
@Conorserver
Please be patient, after all, this is my first plugin :D.
Great Plugin and very unique and simple to use! Hopefully you will be able to fix them bugs in the next update! When approx is the next update anyways? :)
@p90nub: Sorry, I'll try to fix it ASAP. I know that it needs a bit more RAM, but I didn't know, that a server can crash :O
Downloaded it, selected an area, hit /blocksave arena, and voila! CPU usage jumped from 2% to 75%, RAM from 600MB to 1024MB (100% of the RAM), and down went my server ;-;