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

Nether box not working #101

Open
Wiebol opened this issue Nov 20, 2024 · 34 comments
Open

Nether box not working #101

Wiebol opened this issue Nov 20, 2024 · 34 comments
Assignees
Labels
in progress task is actively being worked on under investigation

Comments

@Wiebol
Copy link

Wiebol commented Nov 20, 2024

Expected behavior

I wanted to go in the nether and get my nether box

Observed/Actual behavior

image

Im getting tped to another box, in chat u can see this is not my user

Steps/models to reproduce

im having bentobox 2.7.0 + my server version is 1.21

BentoBox version

[12:54:03 INFO]: Running PAPER 1.21.1.
[12:54:03 INFO]: (1.21.1-15-3554f78 (MC: 1.21.1))
[12:54:03 INFO]: BentoBox version: 2.7.0
[12:54:03 INFO]: Database: JSON
[12:54:03 INFO]: Loaded Game Worlds:
[12:54:03 INFO]: boxed_world (Boxed): Overworld, Nether
[12:54:03 INFO]: Loaded Addons:
[12:54:03 INFO]: Border 4.3.0 (ENABLED)
[12:54:03 INFO]: Boxed 2.7.2 (ENABLED)

Plugin list

[12:54:18 INFO]: Paper Plugins:
[12:54:18 INFO]: - BKCommonLib, RoseStacker
[12:54:18 INFO]: Bukkit Plugins:
[12:54:18 INFO]: - AdvancedBan, AdvancedVanish, AuraSkills, AxSellwands, BentoBox, BentoBox-Boxed, BetterTeams, ChatGames, Chunky, Citizens
[12:54:18 INFO]: CMILib, CoreProtect, CrazyVouchers, CustomCommands, DailyRewards, DecentHolograms, DeluxeMenus, DeluxeTags, DiscordSRV, EpicRename
[12:54:18 INFO]: Essentials, EssentialsChat, EssentialsSpawn, EvenMoreFish, ExcellentCrates, EZColors, floodgate, FreedomChat, GCore, Geyser-Spigot
[12:54:18 INFO]: GSit, Infiniteannouncements, ItemsAdder, ItsMyConfig, Jobs, LoneLibs, Lottery, LuckPerms, MinesGame, MiniMOTD
[12:54:18 INFO]: My_Worlds, nightcore, PL-Hide, PlaceholderAPI, PlayerPoints, PlayerWarps, PlugManX, ProtocolLib, Quests, QuickShop
[12:54:18 INFO]: Rankup, ResourceWorld, SafariNet, ShopGUIPlus, ShopGUIPlus-SellGUI, TAB, Tebex, TempFly, ToastedAFK, Topper
[12:54:18 INFO]: UltimateAutoRestart, Vault, ViaBackwards, ViaVersion, VoteParty, VotifierPlus, Vulcan, WorldEdit, WorldGuard
[12:54:18 INFO]: zAuctionHouseV3, zMenu

Other

This is it. I think

@Wiebol
Copy link
Author

Wiebol commented Nov 20, 2024

Forgot to add the following:

[12:52:43 ERROR]: Could not pass event PlayerPortalEvent to BentoBox v2.7.0
java.lang.IllegalArgumentException: Unexpected value: UNKNOWN
at BentoBox-2.7.0.jar/world.bentobox.bentobox.listeners.teleports.PlayerTeleportListener.onPlayerPortalEvent(PlayerTeleportListener.java:81) ~[BentoBox-2.7.0.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1067.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:1.21.1-15-3554f78]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:630) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at BKCommonLib-1.21.1-v1-1795.jar/com.bergerkiller.bukkit.common.utils.CommonUtil.callEvent(CommonUtil.java:181) ~[BKCommonLib-1.21.1-v1-1795.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.PlayerRespawnHandler.handlePortalEnter(PlayerRespawnHandler.java:231) ~[MyWorlds-1.21.1-v1-312.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.PortalTeleportationHandler.scheduleTeleportationWithVelocity(PortalTeleportationHandler.java:110) ~[MyWorlds-1.21.1-v1-312.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.handlers.PortalTeleportationHandlerNetherLink.handleWorld(PortalTeleportationHandlerNetherLink.java:185) ~[MyWorlds-1.21.1-v1-312.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.MWListener.handlePortalEnter(MWListener.java:452) ~[MyWorlds-1.21.1-v1-312.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.MWListener.onPortalEnter(MWListener.java:316) ~[MyWorlds-1.21.1-v1-312.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.PortalEnterEventDebouncer.triggerAndRunOnceATick(PortalEnterEventDebouncer.java:64) ~[MyWorlds-1.21.1-v1-312.jar:?]
at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.MWListener.onEntityPortalEnter(MWListener.java:263) ~[MyWorlds-1.21.1-v1-312.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor345.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:1.21.1-15-3554f78]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:630) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.block.NetherPortalBlock.entityInside(NetherPortalBlock.java:114) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.entityInside(BlockBehaviour.java:1230) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.Entity.checkInsideBlocks(Entity.java:1686) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.Entity.tryCheckInsideBlocks(Entity.java:1345) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.Entity.move(Entity.java:1281) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.LivingEntity.handleRelativeFrictionAndCalculateMovement(LivingEntity.java:3091) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.LivingEntity.travel(LivingEntity.java:3025) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.player.Player.travel(Player.java:1692) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.level.ServerPlayer.travel(ServerPlayer.java:1850) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3551) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.player.Player.aiStep(Player.java:574) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3199) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.world.entity.player.Player.tick(Player.java:288) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:835) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:346) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.network.Connection.tick(Connection.java:638) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:242) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1830) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:476) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1605) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1305) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:331) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

@Wiebol
Copy link
Author

Wiebol commented Nov 20, 2024

when i type: /boxadmin tpusernether Wiebol Wiebol Wiebol's protected box 1

I get tped to no box

edit: nvm my size was just big
image

@tastybento
Copy link
Member

As a test, could you try the 3.0.0 pre-release of BentoBox? Take backups so that if something happens (it shouldn't) you can recover. https://github.com/BentoBoxWorld/BentoBox/releases/tag/3.0.0-pre

@tastybento
Copy link
Member

Also, I haven't finished porting Boxed to 1.21.x yet. There are known bugs around the structures so those will cause errors most likely if used. I'm working on it but there were big changes to the server code.

@Wiebol
Copy link
Author

Wiebol commented Nov 20, 2024

I will try it, i am currently just using 1.21 not an 1.21.x version

Edit: my bad im using 1.21.1 oops

@Wiebol
Copy link
Author

Wiebol commented Nov 20, 2024

I removed almost all of my structures already since they were causing crashes

@tastybento tastybento self-assigned this Nov 21, 2024
@Wiebol
Copy link
Author

Wiebol commented Nov 21, 2024

tried it, still dont work.

[11:02:15 ERROR]: Could not pass event PlayerPortalEvent to BentoBox v3.0.0-SNAPSHOT-b2759
java.lang.IllegalArgumentException: Unexpected value: UNKNOWN
        at BentoBox-3.0.0-SNAPSHOT-b2759.jar/world.bentobox.bentobox.listeners.teleports.PlayerTeleportListener.onPlayerPortalEvent(PlayerTeleportListener.java:81) ~[BentoBox-3.0.0-SNAPSHOT-b2759.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1065.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:1.21.1-15-3554f78]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:630) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at BKCommonLib-1.21.1-v1-1795.jar/com.bergerkiller.bukkit.common.utils.CommonUtil.callEvent(CommonUtil.java:181) ~[BKCommonLib-1.21.1-v1-1795.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.PlayerRespawnHandler.handlePortalEnter(PlayerRespawnHandler.java:231) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.PortalTeleportationHandler.scheduleTeleportationWithVelocity(PortalTeleportationHandler.java:110) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.handlers.PortalTeleportationHandlerNetherLink.handleWorld(PortalTeleportationHandlerNetherLink.java:185) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.MWListener.handlePortalEnter(MWListener.java:452) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.MWListener.onPortalEnter(MWListener.java:316) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.PortalEnterEventDebouncer.triggerAndRunOnceATick(PortalEnterEventDebouncer.java:64) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.MWListener.onEntityPortalEnter(MWListener.java:263) ~[MyWorlds-1.21.1-v1-312.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor350.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:1.21.1-15-3554f78]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:630) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.world.level.block.NetherPortalBlock.entityInside(NetherPortalBlock.java:114) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.entityInside(BlockBehaviour.java:1230) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.Entity.checkInsideBlocks(Entity.java:1686) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.Entity.tryCheckInsideBlocks(Entity.java:1345) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.Entity.move(Entity.java:1281) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.LivingEntity.handleRelativeFrictionAndCalculateMovement(LivingEntity.java:3091) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.LivingEntity.travel(LivingEntity.java:3025) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.player.Player.travel(Player.java:1692) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.level.ServerPlayer.travel(ServerPlayer.java:1850) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3551) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.player.Player.aiStep(Player.java:574) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3199) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.world.entity.player.Player.tick(Player.java:288) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:835) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:346) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.network.Connection.tick(Connection.java:638) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:242) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1830) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:476) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1605) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1305) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:331) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

@Wiebol
Copy link
Author

Wiebol commented Nov 21, 2024

  • [11:02:41 ERROR]: [BentoBox] No blueprints loaded for bundle 'default'!

cant do /box reset

@Wiebol
Copy link
Author

Wiebol commented Nov 21, 2024

image

Was this the right version?

@tastybento
Copy link
Member

I'll have to try and replicate with Pifferfish and your plugins. Looks like BKLib is in there doing something. Let me investigate.

@tastybento tastybento added in progress task is actively being worked on under investigation labels Nov 21, 2024
@Wiebol
Copy link
Author

Wiebol commented Nov 22, 2024

I can also try out bentobox 2.6.0, for my friend that works.

tastybento added a commit to BentoBoxWorld/BentoBox that referenced this issue Nov 23, 2024
@tastybento
Copy link
Member

The error should be fixed in https://ci.codemc.io/job/BentoBoxWorld/job/BentoBox/ (it's building now)

@tastybento tastybento added done task has been completed and removed in progress task is actively being worked on under investigation labels Nov 23, 2024
@Wiebol
Copy link
Author

Wiebol commented Nov 24, 2024

Im still having the issue with that version. What do you recommend me to do? Reset the nether box world?

@tastybento
Copy link
Member

With 3.0.0-SNAPSHOT?

Is there an error? Share it, if so.

Deleting the nether world will not do anything so don't do that. The issue is that your teleporting is being disrupted for some reason. The errors you posted should not be happening anymore.

Also, I'd like to know the coordinates of the portal you are entering and the coordinates of the nether point where you arrive.

Also, share your config.yml for BentoBox and Boxed so I can use them in my testing.

@Wiebol
Copy link
Author

Wiebol commented Nov 25, 2024

My version:
image

Only the following error: [08:33:43 ERROR]: [BentoBox] No blueprints loaded for bundle 'default'!

Im entering the portal at ~-17279 68 0, and end up at -1927 73 0.

Sharing configs in next comment

@Wiebol
Copy link
Author

Wiebol commented Nov 25, 2024

Bentbox config:

# BentoBox v3.0.0-SNAPSHOT-b2761 configuration file.
# 
general:
  # Default language for new players.
  # This is the filename in the locale folder without .yml.
  # If this does not exist, the default en-US will be used.
  default-language: en-US
  # Use economy or not. If true, an economy plugin is required. If false, no money is used or given.
  # If there is no economy plugin present anyway, money will be automatically disabled.
  use-economy: true
  # Console commands to run when BentoBox has loaded all worlds and addons.
  # Commands are run as the console.
  # e.g. set aliases for worlds in Multiverse here, or anything you need to
  # run after the plugin is fully loaded.
  # Added since 1.24.2.
  ready-commands: []
  database:
    # JSON, MYSQL, MARIADB, MONGODB, SQLITE, and POSTGRESQL.
    # Transition database options are:
    #   JSON2MARIADB, JSON2MYSQL, JSON2MONGODB, JSON2SQLITE, JSON2POSTGRESQL
    #   MYSQL2JSON, MARIADB2JSON, MONGODB2JSON, SQLITE2JSON, POSTGRESQL2JSON
    # If you need others, please make a feature request.
    # Minimum required versions:
    #    MySQL versions 5.7 or later
    #    MariaDB versions 10.2.3 or later
    #    MongoDB versions 3.6 or later
    #    SQLite versions 3.28 or later
    #    PostgreSQL versions 9.4 or later
    # Transition options enable migration from one database type to another. Use /bbox migrate.
    # JSON is a file-based database.
    # MYSQL might not work with all implementations: if available, use a dedicated database type (e.g. MARIADB).
    # BentoBox uses HikariCP for connecting with SQL databases.
    # If you use MONGODB, you must also run the BSBMongo plugin (not addon).
    # See https://github.com/tastybento/bsbMongo/releases/.
    # You can find more details in this video: https://youtu.be/FFzCk5-y7-g
    type: JSON
    host: localhost
    # Port 3306 is MySQL's default. Port 27017 is MongoDB's default.
    port: 3306
    name: bentobox
    username: username
    password: password
    # How often the data will be saved to file in mins. Default is 5 minutes.
    # This helps prevent issues if the server crashes.
    # Data is also saved at important points in the game.
    backup-period: 5
    # How many players will be saved in one tick. Default is 200
    # Reduce if you experience lag while saving.
    # Do not set this too low or data might get lost!
    max-saved-players-per-tick: 20
    # How many islands will be saved in one tick. Default is 200
    # Reduce if you experience lag while saving.
    # Do not set this too low or data might get lost!
    max-saved-islands-per-tick: 20
    # Number of active connections to the SQL database at the same time.
    # Default 10.
    # Added since 1.21.0.
    max-pool-size: 10
    # Enable SSL connection to MongoDB, MariaDB, MySQL and PostgreSQL databases.
    # Added since 1.12.0.
    use-ssl: false
    # Database table prefix. Adds a prefix to the database tables. Not used by flatfile databases.
    # Only the characters A-Z, a-z, 0-9 can be used. Invalid characters will become an underscore.
    # Set this to a unique value if you are running multiple BentoBox instances that share a database.
    # Be careful about length - databases usually have a limit of 63 characters for table lengths
    # Added since 1.13.0.
    prefix-character: ''
    # Custom connection datasource properties that will be applied to connection pool.
    # Check available values to your SQL driver implementation.
    # Example: 
    #   custom-properties: 
    #     cachePrepStmts: 'true'
    #     prepStmtCacheSize: '250'
    #     prepStmtCacheSqlLimit: '2048'
    # Added since 1.21.0.
    custom-properties: {}
    # MongoDB client connection URI to override default connection options.
    # See: https://docs.mongodb.com/manual/reference/connection-string/
    # Added since 1.14.0.
    mongodb-connection-uri: ''
  # Allow FTB Autonomous Activator to work (will allow a pseudo player [CoFH] to place and break blocks and hang items)
  # Add other fake player names here if required
  # /!\ This feature is experimental and might not work as expected or might not work at all.
  fakeplayers:
  - '[CoFH]'
panel:
  # Toggle whether panels should be closed or not when the player clicks anywhere outside of the inventory view.
  close-on-click-outside: true
  # Defines the Material of the item that fills the gaps (in the header, etc.) of most panels.
  # Added since 1.14.0.
  filler-material: light_blue_stained_glass_pane
  # Toggle whether player head texture should be gathered from Mojang API or mc-heads.net cache server.
  # Mojang API sometime may be slow and may limit requests to the player data, so this will allow to
  # get player heads a bit faster then Mojang API.
  # Added since 1.16.0.
  use-cache-server: true
  # Defines how long player skin texture link is stored into local cache before it is requested again.
  # Defined value is in the minutes.
  # Value 0 will not clear cache until server restart.
  # Added since 1.14.1.
  head-cache-time: 60
  # Defines a number of player heads requested per tasks.
  # Setting it too large may lead to temporarily being blocked from head gatherer API.
  # Added since 1.16.0.
  heads-per-call: 9
  # Defines a number of ticks between each player head request task.
  # Setting it too large may lead to temporarily being blocked from head gatherer API.
  # Added since 1.16.0.
  # /!\ In order to apply the changes made to this option, you must restart your server. Reloading BentoBox or the server won't work.
  ticks-between-calls: 10
logs:
  # Toggle whether superflat chunks regeneration should be logged in the server logs or not.
  # It can be spammy if there are a lot of superflat chunks to regenerate.
  # However, as superflat chunks regeneration can be performance-intensive, it is recommended to keep
  # this setting set to true, as it will help you know if there are regenerations taking place.
  # Added since 1.2.0.
  clean-super-flat-chunks: true
  # Toggle whether downloading data from GitHub should be logged in the server logs or not.
  # Added since 1.5.0.
  github-download-data: true
island:
  # Override island distance mismatch checking. BentoBox normally refuses to run if
  # the island distance in the gamemode config is different to the one stored in the database
  # for safety. This overrides that check. You should never need this, and if you do not understand it
  # keep it as false
  override-safety-check: false
  # The default number of concurrent islands a player may have.
  # This may be overridden by individual game mode config settings.
  concurrent-islands: 1
  # Hide used blueprints.
  # Blueprints can have a maximum use when players have concurrent islands.
  # If this is true, then ones that are used up will not be shown in the island create menu.
  # Added since 2.3.0.
  hide-used-blueprints: false
  cooldown:
    time:
      # How long a player must wait until they can rejoin a team island after being kicked in minutes.
      # This slows the effectiveness of players repeating challenges
      # by repetitively being invited to a team island.
      invite: 60
      # How long a player must wait until they can coop a player in minutes.
      coop: 5
      # How long a player must wait until they can trust a player in minutes.
      trust: 5
      # How long a player must wait until they can ban a player after unbanning them. In minutes.
      ban: 10
      # How long a player must wait before they can reset their island again in seconds.
      reset: 300
    options:
      # Whether the reset cooldown should be applied when the player creates an island for the first time or not.
      # Added since 1.2.0.
      set-reset-cooldown-on-create: true
  confirmation:
    # Time in seconds that players have to confirm sensitive commands, e.g. island reset.
    time: 10
    commands:
      # Ask the player to confirm the command he is using by typing it again.
      kick: true
      leave: true
      reset: true
    # Ask the recipient to confirm trust or coop invites.
    # Team invites will always require confirmation, for safety concerns.
    # Added since 1.8.0.
    invites: false
  delay:
    # Time in seconds that players have to stand still before teleport commands activate, e.g. island go.
    time: 0
  name:
    # Sets the minimum length an island custom name is required to have.
    min-length: 4
    # Sets the maximum length an island custom name cannot exceed.
    max-length: 20
    # Requires island custom names to be unique in the gamemode the island is in.
    # As a result, only one island per gamemode are allowed to share the same name.
    # Note that island names are purely cosmetics and are not used as a way to programmatically identify islands.
    # Added since 1.7.0.
    uniqueness: false
  # Remove hostile mob on teleport box radius
  # If hostile mobs are cleared on player teleport, then this sized box will be cleared
  # around the player. e.g. 5 means a 10 x 10 x 10 box around the player
  # Be careful not to make this too big. Does not cover standard nether or end teleports.
  # Added since 1.6.0.
  clear-radius: 5
  # Minimum nether portal search radius. If this is too low, duplicate portals may appear.
  # Vanilla default is 128.
  # Added since 1.16.2.
  portal-search-radius: 64
  # Number of blocks to paste per tick when pasting blueprints.
  # Smaller values will help reduce noticeable lag but will make pasting take slightly longer.
  # On the contrary, greater values will make pasting take less time, but this benefit is quickly severely impacted by the
  # resulting amount of chunks that must be loaded to fulfill the process, which often causes the server to hang out.
  paste-speed: 64
  # Island deletion: Number of chunks per world to regenerate per second.
  # If there is a nether and end then 3x this number will be regenerated per second.
  # Smaller values will help reduce noticeable lag but will make deleting take longer.
  # A setting of 0 will leave island blocks (not recommended).
  # Added since 1.7.0.
  delete-speed: 100
  deletion:
    # Toggles whether islands, when players are resetting them, should be kept in the world or deleted.
    # * If set to 'true', whenever a player resets his island, his previous island will become unowned and won't be deleted from the world.
    #   You can, however, still delete those unowned islands through purging.
    #   On bigger servers, this can lead to an increasing world size.
    #   Yet, this allows admins to retrieve a player's old island in case of an improper use of the reset command.
    #   Admins can indeed re-add the player to his old island by registering him to it.
    # * If set to 'false', whenever a player resets his island, his previous island will be deleted from the world.
    #   This is the default behaviour.
    # Added since 1.13.0.
    keep-previous-island-on-reset: false
    # Toggles how the islands are deleted.
    # * If set to 'false', all islands will be deleted at once.
    #   This is fast but may cause an impact on the performance
    #   as it'll load all the chunks of the in-deletion islands.
    # * If set to 'true', the islands will be deleted one by one.
    #   This is slower but will not cause any impact on the performance.
    # Added since 1.19.1.
    slow-deletion: false
  # By default, If the destination is not safe, the plugin will try to search for a safe spot around the destination,
  # then it will try to expand the y-coordinate up and down from the destination.
  # This setting limits how far the y-coordinate will be expanded.
  # If set to 0 or lower, the plugin will not expand the y-coordinate.
  # Added since 1.19.1.
  safe-spot-search-vertical-range: 400
  # By default, if the destination is not safe, the plugin will try to search for a safe spot around the destination.
  # This allows to change the distance for searching this spot. Larger value will mean longer position search.
  # This value is also used for valid nether portal linking between dimension.
  # Added since 1.21.0.
  safe-spot-search-range: 16
web:
  github:
    # Toggle whether BentoBox can connect to GitHub to get data about updates and addons.
    # Disabling this will result in the deactivation of the update checker and of some other
    # features that rely on the data downloaded from the GitHub API.
    # It does not send any data.
    # Added since 1.5.0.
    download-data: true
    # Time in minutes between each connection to the GitHub API.
    # This allows for up-to-the-minute information gathering.
    # However, as the GitHub API data does not get updated instantly, this value cannot be set to less than 60 minutes.
    # Setting this to 0 will make BentoBox download data only at startup.
    # Added since 1.5.0.
    connection-interval: 120

@Wiebol
Copy link
Author

Wiebol commented Nov 25, 2024

Boxed config:

# Boxed Configuration 2.7.2
boxed:
  command:
    # Player Command. What command users will run to access their area.
    # To define alias, just separate commands with white space.
    player: boxed bx box
    # The admin command.
    # To define alias, just separate commands with white space.
    admin: boxadmin
    # The default action for new player command call.
    # Sub-command of main player command that will be run on first player command call.
    # By default it is sub-command 'create'.
    new-player-action: create
    # The default action for player command.
    # Sub-command of main player command that will be run on each player command call.
    # By default it is sub-command 'go'.
    default-action: go
  # Ignore advancements.
  # If this is true, advancements will not change the size of the box.
  ignore-advancements: true
  # Announce advancements. We recommend you set the game rule `/gamerule announceAdvancements false`
  # but that blocks all new advancement announcements. This setting tells Boxed to broadcast new advancements.
  broadcast-advancements: false
  # Deny advancements for visitors.
  # Visitors cannot get an advancement. Note visitors will still get the reward, e.g., experience
  deny-visitor-advancements: true
world:
  # Friendly name for this world. Used in admin commands. Must be a single word
  friendly-name: Boxed
  # Name of the world - if it does not exist then it will be generated.
  # It acts like a prefix for nether and end (e.g. boxed_world, boxed_world_nether, boxed_world_end)
  world-name: boxed_world
  generator:
    # World seed.
    # /!\ BentoBox currently does not support changing this value mid-game. If you do need to change it, do a full reset of your databases and worlds.
    seed: 602103456450
  # World difficulty setting - PEACEFUL, EASY, NORMAL, HARD
  # Other plugins may override this setting
  difficulty: NORMAL
  spawn-limits:
    # Spawn limits. These override the limits set in bukkit.yml
    # If set to a negative number, the server defaults will be used
    monsters: -1
    animals: -1
    water-animals: -1
    ambient: -1
    # Setting to 0 will disable animal spawns, but this is not recommended. Minecraft default is 400.
    # A negative value uses the server default
    ticks-per-animal-spawns: -1
    # Setting to 0 will disable monster spawns, but this is not recommended. Minecraft default is 400.
    # A negative value uses the server default
    ticks-per-monster-spawns: -1
  # Radius of player area. (So distance between player starting spots is twice this)
  # MUST BE A FACTOR OF 16. If not, it will be rounded to be one.
  # It is the same for every dimension : Overworld, Nether and End.
  # /!\ BentoBox currently does not support changing this value mid-game. If you do need to change it, do a full reset of your databases and worlds.
  area-radius: 320
  # Starting size of boxed spaces. This is a radius so 1 = a 2x2 area.
  # Admins can adjust via the /boxadmin range set <player> <new range> command
  starting-protection-range: 8
  # Start to place players at these coordinates. This is where players will start in the
  # world. This must be a multiple of your area radius, but the plugin will auto
  # calculate the closest location on the grid. Players are placed around this location
  # in a spiral manner.
  # If none of this makes sense, leave it at 0,0.
  start-x: 0
  start-z: 0
  # Maximum number of player areas in the world. Set to -1 or 0 for unlimited.
  # If the number of areas is greater than this number, it will stop players from joining the world.
  max-areas: -1
  # The number of concurrent areas a player can have
  # A value of 0 will use the BentoBox config.yml default
  concurrent-area: 1
  # Disallow team members from having their own area.
  disallow-team-member-areas: true
  # Area height
  # It is the y coordinate of the bedrock block in the blueprint.
  area-height: 8
  # The maximum number of players a player can ban at any one time in this game mode.
  # The permission boxed.ban.maxlimit.X where X is a number can also be used per player
  # -1 = unlimited
  ban-limit: -1
  nether:
    # Generate Nether - if this is false, the nether world will not be made and access to
    # the nether will not occur. Other plugins may still enable portal usage.
    # Note: Some default challenges will not be possible if there is no nether.
    # Note that with a standard nether all players arrive at the same portal and entering a
    # portal will return them back to their areas.
    generate: true
    # This option indicates if nether portals should be linked via dimensions.
    # Option will simulate vanilla portal mechanics that links portals together
    # or creates a new portal, if there is not a portal in that dimension.
    # Added since 1.0.3.
    create-and-link-portals: true
  end:
    # End World - if this is false, the end world will not be made and access to
    # the end will not occur. Other plugins may still enable portal usage.
    generate: false
  # Mob white list - these mobs will NOT be removed when logging in or doing /boxed
  remove-mobs-whitelist: []
  # World flags. These are boolean settings for various flags for this world
  flags:
    DRAGON_EGG: false
    ISLAND_RESPAWN: true
    CREEPER_GRIEFING: true
    PETS_STAY_AT_HOME: true
    NATURAL_SPAWNING_OUTSIDE_RANGE: false
    HURT_TAMED_ANIMALS: false
    ANVIL: false
    VISITOR_TRIGGER_RAID: true
    TRAPPED_CHEST: false
    ENDER_CHEST: true
    TREES_GROWING_OUTSIDE_RANGE: true
    BOOKSHELF: false
    HARVEST: false
    FROST_WALKER: true
    PISTON_PUSH: false
    COLLECT_LAVA: false
    LEVER: false
    CAKE: false
    HURT_MONSTERS: true
    CLEAN_SUPER_FLAT: false
    SIGN_EDITING: false
    TRADING: true
    EGGS: false
    CHEST: false
    ENTER_EXIT_MESSAGES: true
    FLINT_AND_STEEL: false
    SCULK_SENSOR: true
    CROP_TRAMPLE: false
    DROPPER: false
    ENTITY_PORTAL_TELEPORT: false
    OBSIDIAN_SCOOPING: false
    TNT_PRIMING: false
    COLLECT_WATER: false
    AXOLOTL_SCOOPING: false
    WORLD_BLOCK_EXPLODE_DAMAGE: false
    BUTTON: false
    COMPOSTER: false
    COMMAND_RANKS: false
    TRAPDOOR: false
    EXPERIENCE_BOTTLE_THROWING: true
    DYE: false
    HIVE: false
    ITEM_FRAME: false
    CROP_PLANTING: false
    CRAFTING: true
    ENCHANTING: true
    SHEARING: false
    BOAT: true
    BANK_ACCESS: false
    BED: false
    SPAWN_EGGS: false
    SCULK_SHRIEKER: true
    SMITHING: false
    CHEST_DAMAGE: true
    EXPERIENCE_PICKUP: true
    PREVENT_TELEPORT_WHEN_FALLING: false
    WORLD_TNT_DAMAGE: true
    HOPPER: false
    CANDLES: false
    LEASH: false
    BREAK_BLOCKS: false
    MOUNT_INVENTORY: false
    OFFLINE_REDSTONE: true
    JUKEBOX: false
    POTION_THROWING: true
    SPAWNER_SPAWN_EGGS: false
    HURT_ANIMALS: false
    LOOM: false
    REDSTONE: true
    VISITOR_KEEP_INVENTORY: false
    BUCKET: false
    ENDER_PEARL: false
    BELL_RINGING: false
    DOOR: true
    BREAK_HOPPERS: false
    FURNACE: true
    LIQUIDS_FLOWING_OUT: true
    MINECART: true
    FISH_SCOOPING: false
    END_PORTAL: true
    BREEDING: false
    HURT_VILLAGERS: false
    WITHER_DAMAGE: false
    TURTLE_EGGS: false
    BREAK_SPAWNERS: false
    ELYTRA: true
    COARSE_DIRT_TILLING: true
    RIDING: false
    ARMOR_STAND: false
    NAME_TAG: false
    ENDERMAN_GRIEFING: true
    ITEM_DROP: true
    NOTE_BLOCK: true
    NETHER_PORTAL: false
    REMOVE_END_EXIT_ISLAND: true
    LECTERN: false
    OFFLINE_GROWTH: true
    SHULKER_BOX: true
    GRINDSTONE: false
    ITEM_PICKUP: true
    BREWING: false
    CREEPER_DAMAGE: true
    GREENHOUSE: false
    STONECUTTING: false
    FIRE_EXTINGUISH: false
    BEACON: false
    ALLAY: false
    PRESSURE_PLATE: false
    PLACE_BLOCKS: false
    REMOVE_MOBS: true
    FLOWER_POT: false
    MILKING: false
    DISPENSER: false
    GATE: true
    ALLOW_MOVE_BOX: false
    CHORUS_FRUIT: false
    CONTAINER: true
    ITEM_FRAME_DAMAGE: false
    BARREL: false
    COLLECT_POWDERED_SNOW: false
    CARTOGRAPHY: false
  # These are the default protection settings for new areas.
  # The value is the minimum area rank required allowed to do the action
  # Ranks are the following:
  #   VISITOR   = 0
  #   COOP      = 200
  #   TRUSTED   = 400
  #   MEMBER    = 500
  #   SUB-OWNER = 900
  #   OWNER     = 1000
  default-area-flags:
    HURT_ANIMALS: 500
    DRAGON_EGG: 500
    REDSTONE: 500
    BUCKET: 500
    LOCK: 0
    ENDER_PEARL: 500
    DOOR: 0
    BREAK_HOPPERS: 500
    FURNACE: 500
    MONSTER_SPAWNERS_SPAWN: 500
    MINECART: 500
    ANVIL: 500
    FIRE_IGNITE: 500
    FISH_SCOOPING: 500
    END_PORTAL: 500
    BREEDING: 500
    HURT_VILLAGERS: 500
    FROST_WALKER: 500
    TURTLE_EGGS: 500
    COLLECT_LAVA: 500
    BREAK_SPAWNERS: 500
    LEVER: 0
    ELYTRA: 0
    CAKE: 500
    HURT_MONSTERS: 0
    RIDING: 500
    NAME_TAG: 500
    ARMOR_STAND: 500
    TRADING: 0
    EGGS: 500
    ITEM_DROP: 0
    NOTE_BLOCK: 0
    FLINT_AND_STEEL: 500
    NETHER_PORTAL: 0
    LECTERN: 500
    ITEM_PICKUP: 0
    CROP_TRAMPLE: 500
    BREWING: 500
    DROPPER: 500
    TNT_PRIMING: 500
    COLLECT_WATER: 500
    BUTTON: 0
    FIRE_EXTINGUISH: 500
    COMMAND_RANKS: 500
    BEACON: 500
    TRAPDOOR: 500
    PRESSURE_PLATE: 0
    EXPERIENCE_BOTTLE_THROWING: 500
    DYE: 500
    ITEM_FRAME: 500
    PLACE_BLOCKS: 500
    CRAFTING: 0
    ANIMAL_SPAWNERS_SPAWN: 500
    SHEARING: 500
    ENCHANTING: 500
    BOAT: 0
    SPAWN_EGGS: 500
    BED: 500
    MILKING: 500
    DISPENSER: 500
    GATE: 0
    EXPERIENCE_PICKUP: 500
    HOPPER: 500
    LEASH: 500
    BREAK_BLOCKS: 500
    MOUNT_INVENTORY: 500
    CHORUS_FRUIT: 500
    CONTAINER: 500
    JUKEBOX: 500
    POTION_THROWING: 500
  # These are the default settings for new areas
  default-area-settings:
    PVP_END: false
    PVP_NETHER: false
    LEAF_DECAY: true
    TNT_DAMAGE: true
    MONSTER_SPAWNERS_SPAWN: true
    ANIMAL_NATURAL_SPAWN: true
    MONSTER_NATURAL_SPAWN: true
    FIRE_IGNITE: true
    FIRE_SPREAD: true
    FIRE_BURNING: true
    ANIMAL_SPAWNERS_SPAWN: true
    PVP_OVERWORLD: false
  # These settings/flags are hidden from users
  # Ops can toggle hiding in-game using SHIFT-LEFT-CLICK on flags in settings
  hidden-flags:
  - PVP_END
  - ANIMAL_NATURAL_SPAWN
  - ANIMAL_SPAWNERS_SPAWN
  - FIRE_IGNITE
  - FIRE_SPREAD
  - LEAF_DECAY
  - MONSTER_NATURAL_SPAWN
  - MONSTER_SPAWNERS_SPAWN
  - PVP_NETHER
  - PVP_OVERWORLD
  - TNT_DAMAGE
  - FIRE_BURNING
  - COLLECT_LAVA
  # Visitor banned commands - Visitors to areas cannot use these commands in this world
  visitor-banned-commands: []
  # Falling banned commands - players cannot use these commands when falling
  # if the PREVENT_TELEPORT_WHEN_FALLING world setting flag is active
  falling-banned-commands: []
area:
  # Default max team size
  # Permission size cannot be less than the default below. 
  max-team-size: 8
  # Default maximum number of coop rank members per area
  # Players can have the boxed.coop.maxsize.<number> permission to be bigger but
  # permission size cannot be less than the default below. 
  max-coop-size: 8
  # Default maximum number of trusted rank members per area
  # Players can have the boxed.trust.maxsize.<number> permission to be bigger but
  # permission size cannot be less than the default below. 
  max-trusted-size: 8
  # Default maximum number of homes a player can have. Min = 1
  # Accessed via /is sethome <number> or /is go <number>
  max-homes: 5
  reset:
    # How many resets a player is allowed (manage with /boxadmin reset add/remove/reset/set command)
    # Value of -1 means unlimited, 0 means hardcore - no resets.
    # Example, 2 resets means they get 2 resets or 3 areas lifetime
    reset-limit: -1
    # Kicked or leaving players lose resets
    # Players who leave a team will lose an area reset chance
    # If a player has zero resets left and leaves a team, they cannot make a new
    # area by themselves and can only join a team.
    # Leave this true to avoid players exploiting free areas
    leavers-lose-reset: false
    # Allow kicked players to keep their inventory.
    # Overrides the on-leave inventory reset for kicked players.
    kicked-keep-inventory: false
    on-join:
      # What the addon should reset when the player joins or creates an area
      # Reset Money - if this is true, will reset the player's money to the starting money
      # Recommendation is that this is set to true, but if you run multi-worlds
      # make sure your economy handles multi-worlds too.
      money: false
      # Reset inventory - if true, the player's inventory will be cleared.
      # Note: if you have MultiInv running or a similar inventory control plugin, that
      # plugin may still reset the inventory when the world changes.
      inventory: false
      # Reset health - if true, the player's health will be reset.
      health: false
      # Reset hunger - if true, the player's hunger will be reset.
      hunger: false
      # Reset experience points - if true, the player's experience will be reset.
      exp: false
      # Reset Ender Chest - if true, the player's Ender Chest will be cleared.
      ender-chest: false
      # Reset advancements.
      reset-advancements: false
      # Grant these advancements
      grant-advancements:
      - minecraft:story/root
    on-leave:
      # What the plugin should reset when the player leaves or is kicked from an area
      # Reset Money - if this is true, will reset the player's money to the starting money
      # Recommendation is that this is set to true, but if you run multi-worlds
      # make sure your economy handles multi-worlds too.
      money: false
      # Reset inventory - if true, the player's inventory will be cleared.
      # Note: if you have MultiInv running or a similar inventory control plugin, that
      # plugin may still reset the inventory when the world changes.
      inventory: false
      # Reset health - if true, the player's health will be reset.
      health: false
      # Reset hunger - if true, the player's hunger will be reset.
      hunger: false
      # Reset experience - if true, the player's experience will be reset.
      exp: false
      # Reset Ender Chest - if true, the player's Ender Chest will be cleared.
      ender-chest: false
      # Reset advancements.
      reset-advancements: false
      # Grant these advancements
      grant-advancements: []
  create-area-on-first-login:
    # Toggles the automatic area creation upon the player's first login on your server.
    # If set to true,
    #    * Upon connecting to your server for the first time, the player will be told that
    #     an area will be created for him.
    #   * Make sure you have a Blueprint Bundle called "default": this is the one that will
    #     be used to create the area.
    #   * An area will be created for the player without needing him to run the create command.
    # If set to false, this will disable this feature entirely.
    # Warning:
    #   * If you are running multiple gamemodes on your server, and all of them have
    #     this feature enabled, an area in all the gamemodes will be created simultaneously.
    #     However, it is impossible to know on which area the player will be teleported to afterwards.
    #   * Island creation can be resource-intensive, please consider the options below to help mitigate
    #     the potential issues, especially if you expect a lot of players to connect to your server
    #     in a limited period of time.
    enable: false
    # Time in seconds after the player logged in, before his area gets created.
    # If set to 0 or less, the area will be created directly upon the player's login.
    # It is recommended to keep this value under a minute's time.
    delay: 5
    # Toggles whether the area creation should be aborted if the player logged off while the
    # delay (see the option above) has not worn off yet.
    # If set to true,
    #   * If the player has logged off the server while the delay (see the option above) has not
    #     worn off yet, this will cancel the area creation.
    #   * If the player relogs afterward, since he will not be recognized as a new player, no area
    #     would be created for him.
    #   * If the area creation started before the player logged off, it will continue.
    # If set to false, the player's area will be created even if he went offline in the meantime.
    # Note this option has no effect if the delay (see the option above) is set to 0 or less.
    abort-on-logout: true
  # Toggles whether the player should be teleported automatically to his area when it is created.
  # If set to false, the player will be told his area is ready but will have to teleport to his area using the command.
  teleport-player-to-area-when-created: true
  commands:
    # List of commands to run when a player joins an area or creates one.
    # These commands are run by the console, unless otherwise stated using the [SUDO] prefix,
    # in which case they are executed by the player.
    # 
    # Available placeholders for the commands are the following:
    #    * [name]: name of the player
    # 
    # Here are some examples of valid commands to execute:
    #    * "[SUDO] bbox version"
    #    * "boxadmin deaths set [player] 0"
    on-join: []
    # List of commands to run when a player leaves an area, resets his area or gets kicked from it.
    # These commands are run by the console, unless otherwise stated using the [SUDO] prefix,
    # in which case they are executed by the player.
    # 
    # Available placeholders for the commands are the following:
    #    * [name]: name of the player
    # 
    # Here are some examples of valid commands to execute:
    #    * '[SUDO] bbox version'
    #    * 'boxadmin deaths set [player] 0'
    # 
    # Note that player-executed commands might not work, as these commands can be run with said player being offline.
    on-leave: []
    # List of commands that should be executed when the player respawns after death if Flags.ISLAND_RESPAWN is true.
    # These commands are run by the console, unless otherwise stated using the [SUDO] prefix,
    # in which case they are executed by the player.
    # 
    # Available placeholders for the commands are the following:
    #    * [name]: name of the player
    # 
    # Here are some examples of valid commands to execute:
    #    * '[SUDO] bbox version'
    #    * 'bsbadmin deaths set [player] 0'
    # 
    # Note that player-executed commands might not work, as these commands can be run with said player being offline.
    # Added since 1.14.0.
    on-respawn: []
  sethome:
    nether:
      # Allow setting home in the nether.
      allow: true
      require-confirmation: true
    the-end:
      # Allow setting home in the end.
      allow: true
      require-confirmation: true
  deaths:
    # Whether deaths are counted or not.
    counted: false
    # Maximum number of deaths to count. The death count can be used by add-ons.
    max: 10
    # When a player joins a team, reset their death count
    team-join-reset: false
    # Reset player death count when they start a new area or reset an area
    reset-on-new-area: false
protection:
  # Geo restrict mobs.
  # Mobs that exit the area space where they were spawned will be removed.
  geo-limit-settings: []
  # Blocked mobs.
  # List of mobs that should not spawn in Boxed.
  block-mobs: []
  # Invincible visitors. List of damages that will not affect visitors.
  # Make list blank if visitors should receive all damages
  invincible-visitors: []
do-not-edit-these-settings:
  # These settings should not be edited
  reset-epoch: 0

@tastybento
Copy link
Member

I assume you didn't change anything in the config files?

When the error was happening originally, I can see:

at MyWorlds-1.21.1-v1-312.jar/com.bergerkiller.bukkit.mw.portal.handlers.PortalTeleportationHandlerNetherLink.handleWorld(PortalTeleportationHandlerNetherLink.java:185) ~[MyWorlds-1.21.1-v1-312.jar:?]

I'm wondering if MyWorlds is interfering with the teleport.

If you make a copy of your server, remove MyWorlds, and try the teleport, does it still do this weird thing?

Another experiment, do /boxadmin info in the over world. Teleport, and then do /boxadmin info there and show me what they say.

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

image

image

Havent tried removing myworlds yet.

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

And no errors in console anymore

@tastybento
Copy link
Member

Okay, could you zip up your BentoBox/database folder and drag and drop it here? I'll try and replicate.

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

Also getting this error when I try to setup my testserver (i removed database folder from testserver)

[19:52:38 WARN]: [BentoBox] Plugin BentoBox v3.0.0-SNAPSHOT-b2761 generated an exception while executing task 7790
java.lang.IncompatibleClassChangeError: Found class org.bukkit.block.Biome, but interface was expected
at BentoBox-3.0.0-SNAPSHOT-b2761.jar/world.bentobox.bentobox.database.json.adapters.BiomeTypeAdapter.lambda$new$0(BiomeTypeAdapter.java:40) ~[BentoBox-3.0.0-SNAPSHOT-b2761.jar:?]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at BentoBox-3.0.0-SNAPSHOT-b2761.jar/world.bentobox.bentobox.database.json.adapters.BiomeTypeAdapter.<init>(BiomeTypeAdapter.java:40) ~[BentoBox-3.0.0-SNAPSHOT-b2761.jar:?]
at BentoBox-3.0.0-SNAPSHOT-b2761.jar/world.bentobox.bentobox.database.json.BentoboxTypeAdapterFactory.create(BentoboxTypeAdapterFactory.java:71) ~[BentoBox-3.0.0-SNAPSHOT-b2761.jar:?]
at com.google.gson.Gson.getAdapter(Gson.java:556) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:160) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:294) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:130) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.getAdapter(Gson.java:556) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory.create(MapTypeAdapterFactory.java:125) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.getAdapter(Gson.java:556) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:160) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:294) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:130) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.getAdapter(Gson.java:556) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1226) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1137) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1075) ~[gson-2.10.1.jar:?]
at BentoBox-3.0.0-SNAPSHOT-b2761.jar/world.bentobox.bentobox.managers.BlueprintClipboardManager.loadBlueprint(BlueprintClipboardManager.java:108) ~[BentoBox-3.0.0-SNAPSHOT-b2761.jar:?]
at BentoBox-3.0.0-SNAPSHOT-b2761.jar/world.bentobox.bentobox.managers.BlueprintsManager.loadBlueprints(BlueprintsManager.java:328) ~[BentoBox-3.0.0-SNAPSHOT-b2761.jar:?]
at BentoBox-3.0.0-SNAPSHOT-b2761.jar/world.bentobox.bentobox.managers.BlueprintsManager.lambda$loadBlueprintBundles$5(BlueprintsManager.java:200) ~[BentoBox-3.0.0-SNAPSHOT-b2761.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[pufferfish-1.21.1.jar:1.21.1-15-3554f78]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[pufferfish-1.21.1.jar:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

But on the testserver, the portal spawns outside the nether box.

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

image

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

Without myworld i spawn inside the box...

But i need some sort of worlds plugin

@Wiebol
Copy link
Author

Wiebol commented Nov 26, 2024

[00:21:31 ERROR]: [BentoBox] No blueprints loaded for bundle 'default'! and what does this mean?

since on my testserver if I make a new box, it doesnt teleport automatically anymore.

@tastybento
Copy link
Member

Please try on 1.21.3, not 1.21.1. There are differences in the server code and BentoBox 3.0.0 is designed for 1.21.3.

I'll test your database and MyWorlds and see what's going on.

@Wiebol
Copy link
Author

Wiebol commented Nov 27, 2024

image

This is what i see when i start on 1.21.1

@Wiebol
Copy link
Author

Wiebol commented Nov 27, 2024

It also doesnt generate the standard tree anymore.

@tastybento tastybento added in progress task is actively being worked on under investigation and removed done task has been completed labels Nov 28, 2024
@tastybento
Copy link
Member

I've managed to replicate the teleporting to the wrong box issue. I'm now trying to work out what's going on.

@tastybento
Copy link
Member

The issue occurs with MyWorlds and if it is not installed, then it doesn't. It affects all game modes, e.g., BSkyBlock as well.
I suspect it's something to do with the nether dimension being a different size to the overworld - so there is some coordinate mapping happening, like in vanilla. However, in BentoBox, the nether coordinates are the same as the overworld. We don't "shrink" them. Let me continue to investigate.

@tastybento
Copy link
Member

I found a solution: in the MyWorlds config.yml have portals handled by vanilla, so set netherPortal and endPortal to false:

# Turns different types of portals on or off
# When the portal is disabled, MyWorlds will not handle the portal's logic
enabledPortals:
  # Turns handling of nether portal teleportation on or off
  # Vanilla Minecraft will handle nether portals when disabled
  netherPortal: false
  # Turns handling of end portal teleportation on or off
  # Vanilla Minecraft will handle end portals when disabled
  endPortal: false

@Wiebol
Copy link
Author

Wiebol commented Nov 30, 2024

Okay I will try this. Ill update you if it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress task is actively being worked on under investigation
Projects
None yet
Development

No branches or pull requests

2 participants