Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not loading upgrades after update of addons #32

Open
Kesims opened this issue Nov 18, 2020 · 5 comments
Open

Not loading upgrades after update of addons #32

Kesims opened this issue Nov 18, 2020 · 5 comments

Comments

@Kesims
Copy link

Kesims commented Nov 18, 2020

Description

Describe the bug

Hello. After I upgraded 3 addons (Level 2.4.1 -> 2.5.0, Upgrades SNAPSHOT-b64 -> b74, Limits 1.14.0 -> 1.15.0), all old upgrades that players purchased befor this update are not loading. In database there is for examle HOPPER: 18, but in reality it does not increase. When I purchase 19th upgrade of hopper, limit increases only 1times (like if I had purchased only 1 hopper upgrade).

Expected behavior

Load all purchased upgrades.

Output of /bbox version (Mandatory)
[07:49:03 INFO]: Running PAPER 1.16.3.
[07:49:03 INFO]: BentoBox verze: 1.15.2
[07:49:03 INFO]: Database: JSON
[07:49:03 INFO]: Loaded Game Worlds:
[07:49:03 INFO]: bskyblock_world (BSkyBlock): Overworld, [nether_color]Nether, [end_color]End
[07:49:03 INFO]: Loaded Addons:
[07:49:03 INFO]: Biomes 1.13.0 (ENABLED)
[07:49:03 INFO]: Border 2.0.0 (ENABLED)
[07:49:03 INFO]: BSkyBlock 1.14.2-SNAPSHOT-b676 (ENABLED)
[07:49:03 INFO]: Challenges 0.8.3 (ENABLED)
[07:49:03 INFO]: Chat 1.1.1 (ENABLED)
[07:49:03 INFO]: Level 2.5.0 (ENABLED)
[07:49:03 INFO]: Limits 1.15.0 (ENABLED)
[07:49:03 INFO]: MagicCobblestoneGenerator 2.1.0 (ENABLED)
[07:49:03 INFO]: Upgrades 0.2.0-SNAPSHOT-b74 (ENABLED)
[07:49:03 INFO]: Warps 1.9.7 (ENABLED)

Plugins (Optional)

[07:50:06 INFO]: Plugins (53): AdvancedChests, AdvancedEnchantments, ArmorStandEditor, AsyncWorldEdit, AuctionHouse, BentoBox, ChestShop, Citizens, CMI, CMIPaperLib, CommandNPC*, CraftingStore, DiscordSRV, dtlTraders, FastLogin, FlightPlus, HeadZ, HolographicDisplays, InteractiveBoard, ItemGenerators*, JetsHoppers, JetsMinions, KiteBoard*, Lib1711*, LoginSecurity*, MineableSpawners, MOTD, Multiverse-Core, NonSquareMines*, NoPhysics, PermissionsEx*, PlaceholderAPI, Plan, PlayerHeads*, ProtocolLib, SkinsRestorer, SuperbVote, TabuuCore, TimeIsMoney*, TreeAssist, UltraCustomizer, Vault, ViaVersion, VillagerOptimiser, VoidGenerator, VoidSpawn, Votifier, Voting*, WorldBorderAPI, WorldEdit, WorldGuard, WorldGuardExtraFlags, XProtect*

Additional context (Optional)

Also the Limits addon is doing weird things - in console it outputs [Limits] Limit HOPPER to 350, but in reality it loads only 200 (old value). Maby it is fault of this addon. I have tried replacing newly updated addons back with old ones, but that didnt help.

@Guillaume-Lebegue
Copy link
Collaborator

Yes, this addon is the problem.
There is a breaking bug in this version with limits.
I'm waiting for an issue to be fixed in limits, but it's taking longer than expected. I'll push a fix for it.
This bug is that on each connection, islands limits are reset to default ones.

@Kesims
Copy link
Author

Kesims commented Jan 4, 2021

Still not working, even on build 79. When I updated Limits addon, purchased upgrades wiped again and are not loading. But in database they are counted and in /is upgrades it shows that player purchased max upgrades.

@Guillaume-Lebegue
Copy link
Collaborator

Did you reset the upgrades since the build 79 ?
If not, that's normal because of the stupid way I coded it.
I'm still working on refactoring it.

@Guillaume-Lebegue
Copy link
Collaborator

I received an email, but don't see the message.

So the only way that the database can reappear after having deleted it is that you deleted it while the server was running.

@Kesims
Copy link
Author

Kesims commented Jan 6, 2021

Yes, exactly. I accidentally deleted the folder before stopping the server, second try I did it right..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants