BentoBoxWorld / Border

Adds a world border around islands
Eclipse Public License 2.0
13 stars 8 forks source link

Border Issue #122

Open laniiipop opened 6 months ago

laniiipop commented 6 months ago

Expected behavior

Player worlds to be 50x50 blocks.

Observed/Actual behavior

border

Steps/models to reproduce

Looks to be something around here: https://github.com/BentoBoxWorld/Border/blob/develop/src/main/java/world/bentobox/border/listeners/PlayerListener.java#L154

BentoBox version

BentoBox: 2.2.1 Borders Addon: 4.2.1

Plugin list

[01:20:41 INFO]: [NoPlugins] -> ViaVersion v4.9.2 author(s) - [_MylesC, creeper123123321, Gerrygames, kennytv, Matsv] [01:20:41 INFO]: [NoPlugins] -> LuckPerms v5.4.116 author(s) - [Luck] [01:20:41 INFO]: [NoPlugins] -> Vault v1.7.3-b131 author(s) - [cereal, Sleaker, mung3r] [01:20:41 INFO]: [NoPlugins] -> WorldEdit v7.2.18+6616-abda4e0 author(s) - [EngineHub] [01:20:41 INFO]: [NoPlugins] -> ProtocolLib v5.2.0-SNAPSHOT-679 author(s) - [dmulloy2, comphenix] [01:20:41 INFO]: [NoPlugins] -> WorldGuard v7.0.9+5934e49 author(s) - [] [01:20:41 INFO]: [NoPlugins] -> PlaceholderAPI v2.11.5 author(s) - [HelpChat] [01:20:41 INFO]: [NoPlugins] -> LiteBans v2.13.3 author(s) - [Ruan] [01:20:41 INFO]: [NoPlugins] -> Citizens v2.0.33-SNAPSHOT (build 3293) author(s) - [fullwall] [01:20:41 INFO]: [NoPlugins] -> LoneLibs v1.0.45 author(s) - [LoneDev, others] [01:20:41 INFO]: [NoPlugins] -> Essentials v2.20.1 author(s) - [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs, SupaHam, mdcfe, JRoy, pop4959] [01:20:41 INFO]: [NoPlugins] -> BentoBox v2.1.1 author(s) - [tastybento, Poslovitch] [01:20:41 INFO]: [NoPlugins] -> ItemsAdder v3.6.3-beta-13 author(s) - [LoneDev] [01:20:41 INFO]: [NoPlugins] -> HeadDatabase v4.18.0 author(s) - [Arcaniax] [01:20:41 INFO]: [NoPlugins] -> Multiverse-Core v4.3.1-b861 author(s) - [dumptruckman, Rigby, fernferret, lithium3141, main--] [01:20:41 INFO]: [NoPlugins] -> Lib1711 v3.2 author(s) - [adri1711] [01:20:41 INFO]: [NoPlugins] -> DeluxeMenus v1.14.0-Release author(s) - [extended_clip, Glare] [01:20:41 INFO]: [NoPlugins] -> NexEngine v2.2.12 author(s) - [NightExpress] [01:20:41 INFO]: [NoPlugins] -> GSit v1.7.0 author(s) - [Gecolay] [01:20:41 INFO]: [NoPlugins] -> TAB v4.1.2 author(s) - [NEZNAMY] [01:20:41 INFO]: [NoPlugins] -> VentureChat v3.7.1 author(s) - [Aust1n46] [01:20:41 INFO]: [NoPlugins] -> CoreProtect v22.2 author(s) - [Intelli] [01:20:41 INFO]: [NoPlugins] -> CustomText v1.0 author(s) - [Sulphate] [01:20:41 INFO]: [NoPlugins] -> StackMob v5.8.10 author(s) - [antiPerson] [01:20:41 INFO]: [NoPlugins] -> RandomEvents v2.9.3 author(s) - [] [01:20:41 INFO]: [NoPlugins] -> ChatGames v1.2.1 author(s) - [Nsider] [01:20:41 INFO]: [NoPlugins] -> FancyHolograms v2.0.4 author(s) - [OliverHD, Sxtanna] [01:20:41 INFO]: [NoPlugins] -> Lottery v1.4.8 author(s) - [Nick] [01:20:41 INFO]: [NoPlugins] -> OpenInv v1.0-SNAPSHOT author(s) - [] [01:20:41 INFO]: [NoPlugins] -> ArmorStandEditor v1.20.4-45 author(s) - [Wolfstorm, Wolfstorm, DreiFxn, Pinnkk, Kugge, Marfjeh, miknes123, rypofalem, sekwah41, Sikatsu1997, Cool_boy, sumdream, Amaury Carrade, nicuch, kotarobo, prettydude, Jumpy91, Niasio, Patbox, Puremin0rez, Prof-Bloodstone, PlanetTeamSpeak] [01:20:41 INFO]: [NoPlugins] -> WorldEditSelectionVisualizer v2.1.5 author(s) - [MrMicky, ZathrusWriter, Rojetto] [01:20:41 INFO]: [NoPlugins] -> SafariNet v1.16.1-b1-SNAPSHOT author(s) - [Linus122] [01:20:41 INFO]: [NoPlugins] -> CMILib v1.4.4.6 author(s) - [Zrips] [01:20:41 INFO]: [NoPlugins] -> EssentialsSpawn v2.20.1 author(s) - [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, SupaHam, mdcfe, DoNotSpamPls, JRoy] [01:20:41 INFO]: [NoPlugins] -> TradeSystem v2.5.2 author(s) - [CodingAir] [01:20:41 INFO]: [NoPlugins] -> AutoMessage v1.0 author(s) - [shawshark] [01:20:41 INFO]: [NoPlugins] -> WorldGuardExtraFlags v4.2.2 author(s) - [isokissa3] [01:20:41 INFO]: [NoPlugins] -> Multiverse-Portals v4.2.3 author(s) - [Rigby, fernferret] [01:20:41 INFO]: [NoPlugins] -> eco v6.68.3 author(s) - [Auxilor] [01:20:41 INFO]: [NoPlugins] -> squaremap v1.2.3 author(s) - [jmp] [01:20:41 INFO]: [NoPlugins] -> spark v1.10.34 author(s) - [Luck] [01:20:41 INFO]: [NoPlugins] -> BlockParticles v1.11.1-RELEASE author(s) - [BadBones69, Felux] [01:20:41 INFO]: [NoPlugins] -> ImageOnMap v4.2.2 author(s) - [] [01:20:41 INFO]: [NoPlugins] -> ExcellentCrates v5.0.0 author(s) - [NightExpress] [01:20:41 INFO]: [NoPlugins] -> MagicBlock v2.0.2 author(s) - [WeSif] [01:20:41 INFO]: [NoPlugins] -> NoPlugins v8.1 author(s) - [Xanium] [01:20:41 INFO]: [NoPlugins] -> Parkour v7.2.2 author(s) - [A5H73Y, steve4744] [01:20:41 INFO]: [NoPlugins] -> eGlow v3.2.8 author(s) - [MrGraycat] [01:20:41 INFO]: [NoPlugins] -> InventoryRollbackPlus v1.6.14 author(s) - [TechnicallyCoded, TechnicallyCoded, danjono] [01:20:41 INFO]: [NoPlugins] -> Shop v1.8.4.6 author(s) - [SnowGears] [01:20:41 INFO]: [NoPlugins] -> BetonQuest v2.0.0 author(s) - [BetonQuest Organisation, Wolf2323, SaltyAimbOtter, seyfahni, joblo2213, bundabrg, Co0sh] [01:20:41 INFO]: [NoPlugins] -> MiniMOTD v2.0.14 author(s) - [jmp] [01:20:41 INFO]: [NoPlugins] -> DiscordSRV v1.27.0 author(s) - [Scarsz, Androkai, Vankka] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Greenhouses v1.7.5 author(s) - [tastybento] [01:20:41 INFO]: [NoPlugins] -> BentoBox-MagicCobblestoneGenerator v2.5.1 author(s) - [BONNe] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Bank v1.7.1 author(s) - [tastybento] [01:20:41 INFO]: [NoPlugins] -> BentoBox-AOneBlock v1.15.0 author(s) - [tastybento] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Biomes v2.1.1 author(s) - [BONNe] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Warps v1.14.0 author(s) - [tastybento] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Likes v2.3.1 author(s) - [BONNe] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Challenges v1.2.0 author(s) - [tastybento, BONNe] [01:20:41 INFO]: [NoPlugins] -> BentoBox-Visit v1.6.0 author(s) - [BONNe]

Other

Paper: This server is running Paper version git-Paper-446 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 6ad63fb)

BONNe commented 6 months ago

Could you share output of /[admin_cmd] info while being on that island?

laniiipop commented 6 months ago

image

So sorry it took a bit to get back to you. Please let me know if this helps and if there is anything else you need :)

tastybento commented 6 months ago

Hmm, this info doesn't show what I'd expect. Also, your BentoBox version is... odd... 2.2.1? Do you mean 2.1.1? Or is this a fork?

We're trying to see what BentoBox has as the protection range. That is not shown in your screenshot. He's what we'd like to see:

Screenshot 2024-03-10 at 1 01 55 PM

I suspect the reason why the border is small is because the protection range is small.

For debugging, you could also run /oba range display and turn off the border /ob border and see where the border is.

Just to be clear on the BentoBox version, please run /bbox v, ideally in the console and share the output. This will help debug it too.

laniiipop commented 5 months ago

image image Here's what is what I get when I run those two commands. /oba range display & /ob border.

image Here's what I get when I run /bbox v.

image I did double check the protection range and it's at 50. Which is what I had it at when I first added the plugin.

tastybento commented 5 months ago

Do you see this on every island made using OneBlock?

It looks like the protection range is zero, or close to it for that island. If you go into creative mode and fly outside, I assume you get a notice about leaving the island?

Try /oba range set 60 or similar values and see if it changes the range. I expect it will.

The other thing I would like to see is the record for the island. The file will be in plugins/BentoBox/database/Island and iIt'll be called what is show in the info command, e.g, something like "AOneBlocka46:45d7-47fc-4503-bb8a-800fd744498.json`. You can paste it here or zip it up and drag and drop it here.

If this happens all the time when an island is made then something is changing the range to 0 or close to zero. This could be due to a command that is running when islands are made. Did you customize the settings at all?

laniiipop commented 5 months ago

image image Strange, this issue is only on the island I created. These are screenshots from two other players.

I ran the command /oba range set laniiipop 50, it indeed extended the border out to the normal range.

From my knowledge, we have not customized any settings to change anything when islands are made. If it helps any, this issue came about very well after the island was made.

{
  "uniqueId": "AOneBlocka46a45d7-47fd-4503-bb8a-800fd744d49b",
  "blockNumber": 12615,
  "lifetime": 12615,
  "phaseName": "Cherry Blossom",
  "hologram": "",
  "lastPhaseChangeTime": 1707178514054
}

Here is the info for this specific island we've been investigating.

tastybento commented 5 months ago

Thanks. For the island data, it's the data from the BentoBox/database/Island folder. But if you have changed the range already then that will not be useful now. All I can say is that the range was set to something like 0 for some reason. I don't know why that would be, sorry. What I suggest is you monitor this and if it happens again, let me know.

laniiipop commented 5 months ago

Perfect, I'll keep my eye on it! Thanks so much for your help!