FallingOverride
FallingOverride by longbread
*Warning: intended only for use on servers such as forks of Spigot and Paper where falling block duplication is patched.
Use of this plugin on other servers will likely cause double-duping!*
Falling block duplication has long existed in the vanilla Minecraft game and has become an integral part of many technical as well as non-technical Minecraft servers. However, some servers such as forks of Spigot and Paper have patched the duplication mechanic and not provided an option to re-enable falling block duplication.
This plugin mimics the falling block duplication mechanic on servers where it is patched. Players can more efficiently gather sand and other resources to realize their goals as the original game intended, all while retaining the benefits of their advanced Spigot/Paper server.
- - - - - - - - - - - -
1.18.2 requires a small change to the RaysWorks duplicator design (check the description of the video linked below).
The 1.17 version should still work on 1.18 servers. The 1.18 version only differs from the 1.17 version cosmetically and has been tested on the latest Paper 1.18.2 release.
- - - - - - - - - - - -
Commands and Configuration
Usage: /falling [block type] [enable/disable]
Block types are sand (sand, red sand), anvil (anvil, chipped anvil, damaged anvil), dragon egg (dragon egg), and decorative (all other falling blocks: gravel, concrete powder, etc.)
Each block type can be individually enabled or disabled by a server operator. Permission: falling.cheat
Sand and decorative block types are enabled by default, and anvil and dragon egg block types are disabled by default. Run /falling with no arguments to check what is currently enabled.
Mechanics
Plugin tested with RaysWorks's sand duplicator design (https://www.youtube.com/watch?v=wfeGyXJOCBw) and Shulkercraft's dragon egg duplicator design (https://www.youtube.com/watch?v=51IVqEQe8ZY) on a Paper release.
This plugin detects when a falling block entity moving in the direction of an end portal block lands next to the end portal block.
If all requirements are met and the falling block's block type is enabled, the plugin will generate an item corresponding to the falling block that will fall into the end portal with a velocity similar to that of the falling block. This effectively mimics the outcome of the event should it have occurred on a vanilla server.
Notes
I hope you enjoy this plugin and find it easy to use. To add it to your server, drop the .jar into your server's plugins folder and restart or reload/enable.
Feedback is appreciated! Feel free to let me know what you think and how FallingOverride could be improved in the future.
It works on 1.19?
In reply to javorskey:
From my experience on 1.19.2, yes.
Working in 1.19 😄
How do I add the plugin in "aternos"?
Hey, I was wondering if its possible to overwrite paper's tripwire hook dupe patch? I think that would be a really cool addon to this plugin and if possible I'd love to see it :)
For more info, this seems to be where the patch originates from ~ https://github.com/PaperMC/Paper/blob/master/patches/server/0370-Validate-tripwire-hook-placement-before-update.patch
Hey longbread,
this plugin is amazing and saved my booty from having to change my whole server thats been running for months now, though I have one issue/question:
Is there a way to have the duped gravity blocks appear in the end as actual blocks or can they only be items? i built a concrete factory before realising it wont work with the concrete powder popping out as items and not as blocks. is there any way this can be changed? maybe in a future update or something?
thank you for your efforts!
Can you please update this amazing plugin? It's not working on the 1.18.2 paper update.
In reply to tenderfeetzzz:
The plugin still works on 1.18.2 with the Shulkercraft machine and with some changes to the RaysWorks machine. Check the description of the RaysWorks video.
In reply to longbread14:
Thanks!! Works perfect
Sand doesn't get duped even though it says it says sand duping is enabled. Also I tried adding gravel and all of the concrete powders but it doesn't seem to recognise them at all
Man you are a legend, saved me hours of no sleeping and wondering what I did wrong... Took me a while to realize that Paper disables this. Thank you!
Thanks king, works in 1.18, so dumb that paper really did that to us. Saved my life with this one homie.
idk how to add executable jar file
How do I add and use this on my server? My server is ran on minehut, if that is any help.