Skip to content

Upgrades Data Resetting #56

@SkyLyfe

Description

@SkyLyfe

Expected behavior

Upgrades data should not completely reset after server crash, should use the last saved data prior to crash.

Observed/Actual behavior

Upgrades data seems to completely reset if server crashes. It seems the bentobox "backup-period" setting in config has no effect on upgrades? Just a theory.

Note: Tested with json, sqlite, and mariadb.

For example, with mariadb it completely cleared the database table:
image

Steps/models to reproduce

Upgrade island range or limits using /is upgrades. Simulate a crash. The /is upgrades gui will show level 1 for every upgrade, but your actual island range & limits will be what you upgraded them to.

BentoBox version

Running PAPER 1.20.4.
(git-Paper-431 (MC: 1.20.4))
BentoBox version: 2.1.1-SNAPSHOT-b2566
Database: MARIADB
Loaded Game Worlds:
skyblock (SkyBlock): Overworld, Nether, The End
Loaded Addons:
Bank 1.7.1-SNAPSHOT-b87 (ENABLED)
Biomes 2.2.0-SNAPSHOT-b256 (ENABLED)
Border 4.2.2-SNAPSHOT-b196 (ENABLED)
BSkyBlock 1.17.0-SNAPSHOT-b752 (ENABLED)
Chat 1.2.0 (ENABLED)
Level 2.12.1-SNAPSHOT-b560 (ENABLED)
Limits 1.20.1 (ENABLED)
Upgrades 0.3.0-SNAPSHOT-b133 (ENABLED)

Plugin list

Server Plugins (80):
Bukkit Plugins:

  • ajLeaderboards, ajParkour, Analyse, AntiPopup, AuctionHouse, automaticinventory, BentoBox, BentoBox-Bank, BentoBox-Biomes, BentoBox-BSkyBlock
    BentoBox-Level, BentoBox-Limits, ChestsPlusPlus, Chunky, Citizens, CMI, CMILib, CoinsEngine, CommandCooldown, CommandPanels
    CompatNoCheatPlus, CrateReloaded, CustomDrops, DeluxeTags, Denizen, DiscordSRV, DungeonParties, eco, EcoEnchants, EcoSkills
    FastAsyncWorldEdit, HeadDatabase, HolographicDisplays, IllegalStack, InfinityBucket, InteractiveChat, InteractiveChatDiscordSrvAddon, JetsMinions, libreforge, LiteBans
    LuckPerms, Multiverse-Core, MythicDungeons, MythicMobs, NBTAPI, NexEngine, NoCheatPlus, OfflineGrowthPro, Orebfuscator, OreRegenerator
    PlaceholderAPI, PlayerParticles, PlayerPoints, PlayerVaults, PlayerWarps, ProtocolLib, PvPManager, QuickShop-Hikari, ServerBackup, ShopGUIPlus
    ShopGUIPlus-SellGUI, SimpleCrops, spark, SpawnerMeta, SpawnMob, TAB, TAB-Bridge, Tebex, TempFly, TradeSystem
    Vault, ViaBackwards, ViaVersion, vilib, VoidGen, VoidSpawn, VoteParty, Votifier, WorldGuard, WorldGuardExtraFlags

Other

Edited based on new info after further testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions