You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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)
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:
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:
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
The text was updated successfully, but these errors were encountered: