BG-Software-LLC / WildStacker

Stacked drops, stacked entities, stacked blocks and stacked spawners in one plugin!
https://bg-software.com/wildstacker/
GNU General Public License v3.0
92 stars 38 forks source link

After some time bug appears #671

Closed Testic19 closed 1 year ago

Testic19 commented 1 year ago

Minecraft's Version

1.16.5 Airplane

Plugin's Version

2022.06 & same with latest dev build

Describe the bug

When I load plugin everything works fine but after some time plugin breaks little bit and when i try to kill any stacked mobs they are killing all at once and i get loot only for one mob. I disabled everything (instant kill, fast kill) but nothing helps. Only thing that helps is unloading and then loading plugin with plugman.

To Reproduce

Place few spawners and wait like half a hour and this bug will happen.

Additional Information

###############################################

WildStacker Configuration

Developed by Ome_R

###############################################

How should the item that is given to players by the give command be called?

{0} represents stack size

{1} represents entity/block type

{2} represents item type (Egg / Spawner / Barrel)

give-item-name: '&6x{0} &f&o{1} {2}'

The inspect tool of the plugin.

When clicking an item, entity, barrel or spawner, all the information

about the object will be displayed to the player.

inspect-tool: type: STICK name: '&6Inspect Tool' lore:

The simulate tool of the plugin.

You can check if two objects can stack together using this tool.

simulate-tool: type: STICK name: '&6Simulate Tool' lore:

Settings related to database.

database:

Should data of worlds that no longer exist be deleted?

delete-invalid-worlds: false

Settings related to the automatic kill all

kill-task:

How much time should be passed between auto-killing? (in seconds)

If you wish to disable the auto-killing task, set the interval to 0.

interval: 0

Should the kill task remove stacked entities?

stacked-entities: true

Should the kill task remove unstacked entities?

unstacked-entities: true

Should the kill task remove stacked items?

stacked-items: true

Should the kill task remove unstacked items?

unstacked-items: true

When enabled, the plugin will remove all stacked-entities when clearlagg removes items & entities.

This feature will work if the interval is set to 0 - these are two different features!

sync-clear-lagg: true

Set a command for getting the next time until kill task will happen.

You can split multiple commands using ",".

You can set it to '' in order to disable this feature.

time-command: stacker timeleft

All settings related to the kill-all task of entities.

kill-entities:

A list of entities that will be cleared.

# EntityType list: https://bg-software.com/entities/
# SpawnReason list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
# You can combine both filters using "ENTITY_TYPE:SPAWN_REASON"
# If you want all entities to be killed, set this to []
whitelist: []
# A list of entities that won't be cleared.
# EntityType list: https://bg-software.com/entities/
# SpawnReason list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
# You can combine both filters using "ENTITY_TYPE:SPAWN_REASON"
# If you wish to disable blacklisted entities, use "blacklist: []"
blacklist: []
# A list of worlds that entities will be cleared inside.
# If you want all worlds, set this to []
worlds: []

All settings related to the kill-all task of entities.

kill-items:

A list of items that will be cleared.

# Material list: https://bg-software.com/materials/
# If you want all items to be killed, set this to []
whitelist: []
# A list of items that won't be cleared.
# Material list: https://bg-software.com/materials/
# If you wish to disable blacklisted items, use "blacklist: []"
blacklist: []
# A list of worlds that items will be cleared inside.
# If you want all worlds, set this to []
worlds: []

Here you can configurable all features related to stacked items.

items:

Should items get stacked on the server?

enabled: true

How many blocks from the item should be checked for other items to stack into?

Material list: https://bg-software.com/materials/

Make sure you follow the "TYPE" and "TYPE:DATA" formats.

merge-radius: all: 5

Custom display-name for the items on ground.

If you don't want a display-name, use "custom-name: ''"

{0} represents stack amount

{1} represents display name

{2} represents display name in upper case

custom-name: '&6x{0} &f&o{1}'

Blacklisted items are items that won't get stacked.

Material list: https://bg-software.com/materials/

Make sure you follow the "TYPE" and "TYPE:DATA" formats.

If you wish to disable blacklisted items, use "blacklist: []"

blacklist:

Here you can configurable all features related to stacked entities.

entities:

Should entities get stacked on the server?

enabled: true

How many blocks from the entity should be checked for other entities to stack into?

EntityType list: https://bg-software.com/entities/

SpawnReason list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html

You can combine both filters using "ENTITY_TYPE:SPAWN_REASON"

merge-radius: all: 6

Custom display-name for the entities.

If you don't want a display-name, use "custom-name: ''"

{0} represents stack amount

{1} represents entity type

{2} represents entity type in upper case

{3} represents the upgrade's display name

custom-name: '&6x{0} &f&o{1}{3}'

Blacklisted entities are entities that won't get stacked.

EntityType list: https://bg-software.com/entities/

SpawnReason list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html

You can combine both filters using "ENTITY_TYPE:SPAWN_REASON"

If you wish to disable blacklisted entities, use "blacklist: []"

blacklist:

Here you can configurable all features related to stacked spawners.

spawners:

Should spawners get stacked on the server?

enabled: false

How many blocks from the spawner should be checked for other spawners to stack into?

EntityType list: https://bg-software.com/entities/

merge-radius: all: 1

Custom hologram for the spawners.

Holograms will be displayed only if one of the following plugins is enabled: HolographicDisplay, Holograms, Arconix

If you don't want a hologram, use "custom-name: ''"

{0} represents stack amount

{1} represents entity type

{2} represents entity type in upper case

{3} represents the upgrade's display name

custom-name: '&6x{0} &f&o{1}{3}'

Blacklisted spawners are spawners that won't get stacked.

EntityType list: https://bg-software.com/entities/

If you wish to disable blacklisted spawners, use "blacklist: []"

blacklist:

Here you can configurable all features related to stacked barrels (aka stacked blocks).

barrels:

Should blocks get stacked into barrels on the server?

enabled: true

How many blocks from the barrel should be checked for other blocks to stack into?

Material list: https://bg-software.com/materials/

Make sure you follow the "TYPE" and "TYPE:DATA" formats.

merge-radius: all: 1

Custom hologram for the barrels.

Holograms will be displayed only if one of the following plugins is enabled: HolographicDisplay, Holograms, Arconix

If you don't want a hologram, use "custom-name: ''"

{0} represents stack amount

{1} represents barrel type

{2} represents barrel type in upper case

custom-name: '&6x{0} &f&o{1}'

Blacklisted barrels are barrels that won't get stacked.

Material list: https://bg-software.com/materials/

Make sure you follow the "TYPE" and "TYPE:DATA" formats.

If you wish to disable blacklisted barrels, use "blacklist: []"

blacklist: []

Whitelisted blocks are blocks that will get stacked.

Material list: https://bg-software.com/materials/

Make sure you follow the "TYPE" and "TYPE:DATA" formats.

If you wish to disable whitelisted barrels, use "whitelist: []"

whitelist:

Here you can configurable all features related to stacked buckets

buckets:

Should buckets get stacked on the server?

enabled: true

A list of blacklisted bucket names.

name-blacklist:

Here you can configurable all features related to stacked stews

stews:

Should stews get stacked on the server?

enabled: true

The new max-stack size for stews. Must be a number between 1 and 64.

max-stack: 16

OmerBenGera commented 1 year ago

Edit your issue and get rid of the config file. Instead, upload it to pastebin and send a link here.

OmerBenGera commented 1 year ago

Any news regarding this?

OmerBenGera commented 1 year ago

Closing this due to lack of response. If the issue still occurs let me know by replying.