BentoBoxWorld / Boxed

A game mode where you are boxed into a tiny space that only expands by completing advancements
Eclipse Public License 2.0
15 stars 4 forks source link

Old material #93

Closed PabloKateee closed 2 weeks ago

PabloKateee commented 3 weeks ago

Expected behavior

[17:49:46 INFO]: PabloKateee issued server command: /boxed [17:49:46 WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [17:49:50 WARN]: Can't keep up! Is the server overloaded? Running 3526ms or 70 ticks behind

Observed/Actual behavior

[17:49:46 INFO]: PabloKateee issued server command: /boxed [17:49:46 WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [17:49:50 WARN]: Can't keep up! Is the server overloaded? Running 3526ms or 70 ticks behind

Steps/models to reproduce

[17:49:46 INFO]: PabloKateee issued server command: /boxed [17:49:46 WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [17:49:50 WARN]: Can't keep up! Is the server overloaded? Running 3526ms or 70 ticks behind

BentoBox version

1.21-2284-4e55e26 MC:1.21

Plugin list

[17:54:19 INFO]: Bukkit Plugins: (40): [17:54:19 INFO]: - AFKPrevention, AuctionHouse, AuraMobs, AuraSkills, BentoBox, BentoBox-Boxed, BentoBox-Level, BentoBox-Likes, BentoBox-Visit, BetterGUI [17:54:19 INFO]: Citizens, CMI, CMIEInjector, CMILib, CoinsEngine, CombatPets, ExcellentCrates, FastAsyncWorldEdit, GlobalStats, InteractionVisualizer [17:54:19 INFO]: Jobs, LevelTools, LuckPerms, MobFarmManager, Multiverse-Core, MysqlPlayerDataBridge, nightcore, packetevents, Pl-Hide-Pro, PlaceholderAPI [17:54:19 INFO]: ProtocolLib, StreamingDrops, TAB-Bridge, Tebex, Vault, ViaBackwards, ViaVersion, Vulcan, WorldGuard, WorldGuardExtraFlags

Other

this error always appears when you teleport into the box, i.e. the first one after the restart

tastybento commented 3 weeks ago

This can be safely ignored. It is just because the Material class values are being obtained. Spigot should really remove this.

PabloKateee commented 3 weeks ago

Yes I know but in this case the server always gets a strong tps drop, how could I fix it ? Or replace the old material with the new one?

tastybento commented 3 weeks ago

The issue is not the legacy support, it's the code that's running there to clear statistics. I'm working to try and avoid that lag.

tastybento commented 3 weeks ago

Okay, I'm wrong. It is Legacy support. There's no way to not trigger that, but I can do it only once at the start so it shouldn't affect in normal play. Note that InvSwitcher also had the same issue, so I updated that too.

tastybento commented 3 weeks ago

Should be better in the latest release. Note you have to install latest Bentobox too.

PabloKateee commented 3 weeks ago

Cool thank you very much is the update already available today? Then I'll download it directly after work 😄😄😄

tastybento commented 3 weeks ago

Yes. It's in the latest release.

PabloKateee commented 3 weeks ago

https://paste.jubyte.com/berayasaro.yaml

I now have the new bento version on it and the addons too, but the error is the same

tastybento commented 3 weeks ago

That's not due to Legacy Material though, right?

If you are worried about that little bit of lag then check timings or Spark.