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

Level addon don't count levels on Y=319 #341

Open
dule0004 opened this issue Jan 26, 2025 · 7 comments
Open

Level addon don't count levels on Y=319 #341

dule0004 opened this issue Jan 26, 2025 · 7 comments
Assignees
Labels
cannot replicate this cannot be replicated on a default install (yet)

Comments

@dule0004
Copy link

Expected behavior

Counting level on Y=319

Observed/Actual behavior

/

Steps/models to reproduce

  1. Place block on Y=319
  2. Type /ob level

BentoBox version

[16:34:51 INFO]: Running PAPER 1.21.3.
[16:34:51 INFO]: (1.21.3-26-34c0042 (MC: 1.21.3))
[16:34:51 INFO]: BentoBox version: 3.0.1
[16:34:51 INFO]: Database: MARIADB
[16:34:51 INFO]: Loaded Game Worlds:
[16:34:51 INFO]: oneblock_world (OneBlock): Overworld, [nether_color]Nether, [end_color]End
[16:34:51 INFO]: Loaded Addons:
[16:34:51 INFO]: AOneBlock 1.18.0 (ENABLED)
[16:34:51 INFO]: Biomes 2.2.0 (ENABLED)
[16:34:51 INFO]: Border 4.4.0 (ENABLED)
[16:34:51 INFO]: Challenges 1.4.0 (ENABLED)
[16:34:51 INFO]: Chat 1.3.0 (ENABLED)
[16:34:51 INFO]: ControlPanel 1.14.0 (ENABLED)
[16:34:51 INFO]: DimensionalTrees 1.8.0 (ENABLED)
[16:34:51 INFO]: IslandFly 1.14.0 (ENABLED)
[16:34:51 INFO]: Level 2.17.0 (ENABLED)
[16:34:51 INFO]: Limits 1.26.0 (ENABLED)
[16:34:51 INFO]: Upgrades 0.3.0-SNAPSHOT-b141 (ENABLED)
[16:34:51 INFO]: Warps 1.16.0 (ENABLED)

Plugin list

[16:35:05 INFO]: Server Plugins (107):
[16:35:05 INFO]: Paper Plugins:
[16:35:05 INFO]: - BKCommonLib, FancyHolograms, FancyNpcs, RoseStacker
[16:35:05 INFO]: Bukkit Plugins:
[16:35:05 INFO]: - AdvancedRegionMarket, ajLeaderboards, AlonsoTags, AntiEndermanGrief, ArmorStandTools, BanItem, BattlePass, BentoBox, BentoBox-AOneBlock, BentoBox-Biomes
[16:35:05 INFO]: BentoBox-Challenges, BentoBox-Chat, BentoBox-IslandFly, BentoBox-Level, BentoBox-Limits, BentoBox-Warps, *BookDuplicationFix, Boosters, BungeeGuard, BungeeTabListPlus
[16:35:05 INFO]: ChatControlRed, ChatInjector, ChestShop, *ClaimSystem, CMILib, CoreProtect, CrateReloaded, CrazyEnvoys, CreativeManager, DailyBonus
[16:35:05 INFO]: DecentHolograms, DeluxeCoinflip, DeluxeMenus, DiscordSRV, eco, Essentials, EssentialsSpawn, *ExecuteEverywhere, EZBlocks, FastAsyncWorldEdit
[16:35:05 INFO]: FlashMine, FoxSnow, HeadDatabase, *HungerKeeperPlus, IllegalStack, InteractiveChat, InventoryRollbackPlus, *IPWhitelist, ItemRestrict, ItemsAdder
[16:35:05 INFO]: LeaderHeadsRevamped, libreforge, LibsDisguises, LoneLibs, LPX, LuckPerms, MCPets, ModelEngine, MoneyPouchDeluxe, more-fish
[16:35:05 INFO]: Multiverse-Core, MythicMobs, NBTAPI, *NightVision, NoCheatPlus, NoFlyZone, *NoSleepCMDs, OBKviz, OpenInv, packetevents
[16:35:05 INFO]: PlaceholderAPI, PlayerPoints, PlayerVaults, PlayerVoteEvent, *PremiumAds, PreventStart, ProCosmetics, ProtocolLib, PvPManager, QuickShop-Hikari
[16:35:05 INFO]: *RedstoneClockDetector, SC-Leaderboard, *SCElytraFix, ShopGUIPlus, SilkSpawners_v2, SkinsRestorer, *SpigotPreventTab, TAB, TradeSystem, *UnbreakingAnvils
[16:35:05 INFO]: UpgradeableHoppers, Vault, ViaBackwards, ViaVersion, VoidWorldGenerator, VoteParty, WildTools, WorldBorderAPI, WorldGuard, WorldGuardExtraFlags
[16:35:05 INFO]: WorldGuardSBevent, *Yamler, zAuctionHouseV3

Other

No response

@tastybento tastybento self-assigned this Jan 30, 2025
@tastybento tastybento transferred this issue from BentoBoxWorld/BentoBox Jan 30, 2025
@tastybento tastybento added the cannot replicate this cannot be replicated on a default install (yet) label Jan 30, 2025
@tastybento
Copy link
Member

Hmm, I cannot replicate this. The code is very clear that it scans up to the world height and I check it and it works. I added a diamond block at 319 and ran level and my level went up. I don't know why you don't see that. Could the block you're adding have no value, maybe?

@dule0004
Copy link
Author

Here is a video of bug: https://youtu.be/taJd36-bsEw

@tastybento
Copy link
Member

Can you use /setbock ~ 319 ~ minecraft:diamond_block and see what happens?

@dule0004
Copy link
Author

@tastybento
Copy link
Member

How strange. I made a special debug build. Can you run it and then run the level command?

Level-2.17.1-DEBUG-SNAPSHOT-LOCAL.jar.zip

It should show something like this in the console, where there are lots of DEBUG: 319 scan statements:

...
[17:24:55 INFO]: [BentoBox] DEBUG: 319 scan
[17:24:55 INFO]: [BentoBox] DEBUG: 319 scan
[17:24:55 INFO]: [BentoBox] DEBUG: 319 scan
[17:24:55 INFO]: [BentoBox] DEBUG: 319 scan
[17:24:55 INFO]: [BentoBox] DEBUG: 319 scan
[17:24:55 INFO]: [BentoBox] Completed Level scan.
[17:24:55 INFO]: [BentoBox] DEBUG: World max height = 320

If y=319 is being checked then it'll show DEBUG: 319 scan. If it isn't, then it will not. And finally, it will show what the max height of the world is for the scan.

Thanks!

@dule0004
Copy link
Author

[12:46:17 INFO]: TheDuliX_ issued server command: /ob level
[12:46:17 INFO]: [BentoBox] Added island to Level queue: Location{world=CraftWorld{name=oneblock_world},x=0.0,y=80.0,z=0.0,pitch=0.0,yaw=0.0}
[12:46:17 INFO]: [BentoBox] Starting to scan island level at Location{world=CraftWorld{name=oneblock_world},x=0.0,y=80.0,z=0.0,pitch=0.0,yaw=0.0}
[12:46:17 INFO]: [BentoBox] Completed Level scan.
[12:46:17 INFO]: [BentoBox] DEBUG: World max height = 319

I got this in console.

@tastybento
Copy link
Member

That solves the mystery then. The world's max height is 319 for some reason.

The height of the world comes from the server, not the plugin. This is or was a server bug. If you are running in the latest version of the server and this still happens then it may be because the world was made like that due to a server bug. Not sure if I can do anything here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot replicate this cannot be replicated on a default install (yet)
Projects
None yet
Development

No branches or pull requests

2 participants