Commit Graph

239 Commits

Author SHA1 Message Date
Christian Koop
1851f7665e
Correct file line endings from CRLF to LF 2023-06-29 09:38:31 +02:00
Christian Koop
99cd257b86
Heavy code style changes and slight refactoring 2023-06-26 17:22:26 +02:00
Christian Koop
1fc846a241
Modernize and clean up pom.xml and plugin.yml 2023-06-26 16:44:28 +02:00
Christian Koop
0b5d3481c9
Move from deprecated BlockUtils#updateAdjacentComparators to WorldCore
Fixes `java.lang.NoSuchMethodException: org.bukkit.craftbukkit.v1_19_R3.CraftChunk.getHandle()`
in a mid-version NMS change in Spigot 1.19.4
2023-04-19 21:58:36 +02:00
Christian Koop
1e3f72f235
Fixes WorldGuard interact/use flag getting checked wrong
When trying to open the GUI in a world where `use` is set to allowed,
it just returned and never opened the GUI
2023-03-31 22:34:47 +02:00
Christian Koop
0bb6724378
Fix a 'duplicate item' bug related to item filters
When a user put an item into a filter, saved it (closed that GUI), opens it again and removes
the item without closing the inventory – Another user can break the Hopper and the still
saved item filter gets dropped although the item has already been closed.
2023-03-31 22:03:59 +02:00
Christian Koop
2d0543924f
Fix AutoSell Filter items not getting dropped when breaking a hopper 2023-03-31 21:39:21 +02:00
Christian Koop
4fefd312bd
Fixes FabledSkyBlock Stackable Blocks getting reset and not incremented
If pointing a hopper to a stackable, the stackable gets reset to 0 and the item remains in the
hopper.

This is because a `Stackable` instance can be created without any maxSize being set causing it
to default to `0`.
This is probably more of a workaround/hack and should be fixed in FabledSkyBlock...
But it works with right clicking the block manually - So maybe 0 means infinite? I'm not really sure...
2023-03-31 21:27:39 +02:00
Christian Koop
b38d6cbf3a
Fix (AutoSell) Item-Filters not being saved correctly for next srv start
When the AutoSell filters are saved, they got saved as the normal item filter instead.
On next server start, when loading all the Hoppers from the database,
the AutoSell filter would be empty again and the item filter got overwritten.
2023-03-31 20:57:21 +02:00
Christian Koop
38d9995d6c
Adds experimental support EconomyShopGUI support for AutoSell
Pretty stupid/ugly how the API is accessed and users enabled this feature.
Something for the future when the new SongodaCore release is ready.

Requested by multiple users on Discord.
2023-03-31 20:40:07 +02:00
ceze88
180bf7f642 Updated deprecated methods, added MySQL support 2022-08-09 15:26:16 +02:00
Fernando Pettinelli
f037db1159 Version 4.7.5 2022-07-03 16:19:06 -04:00
Christian Koop
39096ddb5c
Replaces deprecated NBTItem calls 2022-03-18 21:16:25 +01:00
Christian Koop
4697baf282
Code cleanup 2022-03-18 21:16:25 +01:00
Christian Koop
95a1db50b3
Minor code cleanup
Replaced some use of Material with CompatibleMaterial in hopes for the legacy Meterial system to not trigger but without any luck
2021-12-14 21:18:00 +01:00
Fernando Pettinelli
931e680b10 Added back no particle support, accidentally removed it on my latest push. 2021-12-10 17:54:04 -03:00
Fernando Pettinelli
6044aa3077 Reworked how custom containers are handled. 2021-12-08 22:35:57 -03:00
Christian Koop
e6518ae91a
Adds support for empty particles (-> no particles)
Having the particle name set to an empty string (`''`) now tells EpicHoppers that you don't want any particles
2021-11-19 22:45:34 +01:00
Fernando Pettinelli
af82fa0152 Add HopperBreakEvent and HopperPlaceEvent 2021-09-30 18:21:02 -03:00
Fernando Pettinelli
6989c786b7 Check if item is a brewing stand ingredient 2021-09-30 17:36:52 -03:00
Fernando Pettinelli
0263da253d Added AdvancedChests support. 2021-09-30 01:31:15 -03:00
Brianna
c74c222e16 Cleaned up some code. 2021-06-01 13:32:39 -05:00
Brianna
4e7e6f2585 This whole file just wasn't used -.- 2021-06-01 12:50:39 -05:00
Brianna
9aba0f8fa3 Make use of the CompatibleSound API. 2021-06-01 12:46:08 -05:00
Brianna
42710c6b3b Remove legacy support for UltimateStacker and update support. 2021-06-01 12:39:00 -05:00
Christian Koop
036882c069 Fix accidental call to Math#floor over an int 2021-06-01 12:24:34 -05:00
Christian Koop
e5f4869204 Code cleanup 2021-06-01 12:24:30 -05:00
Christian Koop
4539b3d2d3 Don't modify hoppers until they have been loaded (SD-6861) 2021-06-01 12:24:26 -05:00
Fernando Pettinelli
3a73ba8dd8 Added disabled worlds. 2021-06-01 12:23:56 -05:00
Fernando Pettinelli
079095c073 Fixed hopper getting converted into Epic Hopper with a specific setup. 2021-06-01 12:23:40 -05:00
Brianna
0c40b5b71a Bonemeal isn't a material in 1.8. 2021-06-01 12:23:34 -05:00
Fernando Pettinelli
3ad86f6247 Fixed not being able to link to anything other than hoppers. 2021-02-07 17:31:26 -03:00
Fernando Pettinelli
17a6218b2c Fixed dupe bug and fixed normal hoppers. 2021-02-01 20:49:27 -03:00
Fernando Pettinelli
874d51af83 Small optimizations. 2021-01-25 15:25:39 -03:00
Fernando Pettinelli
2bdcf56b7f Added protection plugin support. 2021-01-25 15:20:50 -03:00
Brianna
ce27044153 version 4.6.16b 2021-01-15 16:09:55 -06:00
Brianna
e147c21fec This comment was incorrect. 2020-12-07 13:34:10 -06:00
Brianna
477a4e7aca Cleaned up a few things. 2020-11-16 12:24:19 -06:00
Brianna
43624e07f8 Fixed an issue with the "allow normal hoppers" setting. 2020-11-16 12:12:43 -06:00
Brianna
a8600d4ddd Added Autosmelting and MobHoppers. 2020-10-23 13:03:46 -05:00
Brianna
fce887f0d4 Fix silly issue with last build. 2020-10-01 17:16:07 -05:00
Brianna
1cf407026b Removed the auto remove dead hopper feature. 2020-10-01 14:48:33 -05:00
Brianna
8434a5f711 Removed legacy support for FabledSkyBlock. 2020-10-01 14:43:42 -05:00
Brianna
18c8ed0056 Fixed an issue causing auto sell items to be read wrong. 2020-10-01 14:17:57 -05:00
Brianna
c9cd0d9eee General code cleanup. 2020-09-05 10:32:52 -05:00
Brianna
01dc7c13d2 Cleaned up commands. 2020-09-05 10:08:23 -05:00
Brianna
ca5387ec2a Added switch default. 2020-09-05 10:02:00 -05:00
Brianna
3d240aeb6c Cleaned up imports. 2020-09-05 10:00:16 -05:00
Brianna
8f558e4976 Remove legacy conversion & properly configure the new core data loading. 2020-09-05 09:59:13 -05:00
Bierque Jason
1605df3cae Update ModuleBlockBreak.java
Fix a bug with PaperMC, if we destroy with hopper, he dont drop item.
2020-09-05 09:56:52 -05:00