Block Breaking Event (Custom Plugin Needed)

Status
This thread has been locked.

OSePO

Feedback score
0
Posts
9
Reactions
8
Resources
0
I am looking to buy a custom plugin for my server. I want this plugin to alter how long certain blocks take to break as well as a few other things, but in a bit more of a unique way. I plan on having this plugin affect blocks such as web, glass block, birch fence, jungle fence, and oak fence. How this plugin works is once a player left clicks one of the listed blocks, (not continuously hitting, just a single left click), the player's experience bar will fill up to the percentage of durability the block has left before it breaks. As long as the player stands still and does not hit another block, they will continue to break the block they had left clicked. The player's experience bar will gradually drop down as the block gets closer and closer to breaking. When the player's experience bar has completely emptied, the block will break. If the player breaking the block chooses to walk away or start breaking a different block, the previous block they were breaking will pause its breaking progress, and will start where it left off if that player or a different player chooses to start breaking it again. Also, I would like it so that if multiple people have left clicked the same block and are all breaking it at the same time, the block's durability will go down multiplied by how many people are breaking it. For example, if a block normally takes 30 seconds for one player to break, then it should take 10 seconds if 3 players are breaking it.



If you are confused about how the plugin works or what I want exactly, I've included a youtube video with the link copied at a timestamp. Watch that video from the timestamp (17:16) to 17:48 if you wish to have a better understanding on the plugin.
This video shows how jumping or moving will pause the block breaking event (17:18), how the block's breaking progress can be picked up right where it was left off at (17:19) and how the block breaks faster depending on how many players are breaking it (17:40).

Unlike the video, however, I don't want iron bars to be affected, as I only wish to have the blocks I listed above, (web, glass block, birch fence, jungle fence, and oak fence). Web should take 3 seconds for 1 player to break, whereas glass block should take 5 seconds, birch fence should take 10 seconds, jungle fence should take 20 seconds, and oak fence should take 30 seconds.

On top of this, I would also like each block to give off a particle when being broken, similar to how it is done in the video. I would also like it so that the blocks display the cracking particles as they do when a player normally breaks a block in survival. Perhaps have it so that the block cracks a little bit more as the experience bar goes further down before it breaks. Lastly, I would like there to be a command that can be run that will 1.) place back any blocks broken via the plugin and 2.) will reset each and every blocks' breaking durability so they take the full time to break again, despite how they were left from last game.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

With

Freelance Developer
Premium
Feedback score
13
Posts
643
Reactions
223
Resources
0
Please contact me on Discord @ Flix#6059 or you can DM me on here, I can complete this for you as you need.
 
Status
This thread has been locked.
Top