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

Full Folia Support. #85

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Yomamaeatstoes
Copy link

Hello!

Here is a fully ported buildable Folia supported version. I have been testing this for the last couple of weeks and it works fine.
If possible, I wouldn't mind looking into getting PremiumVanish ported as well.

@Yomamaeatstoes
Copy link
Author

I did add " # Unofficial Discord https://discord.gg/aT9z7q7hX8 " in the readme, it is just for base support if any bugs are found for folia support. Feel free to remove that.

@ewof
Copy link

ewof commented Apr 23, 2024

[21:27:47 WARN]: [SuperVanish] Unknown exception occurred!
[21:27:47 WARN]: [SuperVanish] Please report this issue!
[21:27:47 WARN]: [SuperVanish] Message: 
[21:27:47 WARN]: [SuperVanish]   Accessing entity state off owning region's thread
[21:27:47 WARN]: [SuperVanish] General information: 
[21:27:47 WARN]: [SuperVanish]   ServerVersion: git-Folia-"25ee657" (MC: 1.20.4)
[21:27:47 WARN]: [SuperVanish]   PluginVersion: 6.2.18
[21:27:47 WARN]: [SuperVanish]   ServerPlugins: LuckPerms v5.4.117, MvndiCore v1.0.5, Vault v1.7.3-b0-folia, PlaceholderAPI v2.11.5-DEV-null, CoreProtect v22.2, MvndiStats v1.0.3, Towny v0.100.2.5, ChestShop v3.12.3-SNAPSHOT (build 401), MvndiEquipment v1.1.14, MvndiPlayer v1.0.2, Brewery v3.1.1, squaremap v1.2.3, TownyChat v0.115, MvndiMMO v1.0, ProtocolLib v5.2.0, MvndiMobs v0.10.7, LiteBans v2.15.0, Chunky v1.3.92, SiegeWar v2.10.0, MvndiSeasons v0.3.3, MvndiGUI v${project.version}, MvndiCombat v1.1.12, BetterRTP v3.6.12, MvndiHunters v0.1, MinecraftSSH v1.1.0, ChatControlRed v10.23.3, iConomy v5.25, ChunkyBorder v1.1.50, TownyMenus v0.0.8-SNAPSHOT, MvndiTowny v1.0.0, PaperMessages v1.0, TownyBlockGlitch v1.0, MvndiCrafting v1.0.4, FlagsH v4.0.0, BigDoors vAlpha 0.1.8.50 (b-1), FarmControl v1.2.5, HexNicks v3.1.1, TAB v4.1.2, TownyWaypoints v1.2, BetterHud vbeta-17, MvndiBanHooks v1.0, BukkitGreentext v3.1.5, BetterGUI v9.6, MvndiHolders v1.2.0, InvSeePlusPlus v0.25.2-SNAPSHOT, MvndiChisel v0.4.0, MvndiSiege v1.0, spark v1.10.60, SmoothTimber v1.25.0, FreedomChat v1.5.2, MvndiGUIShop v${project.version}, GrimAC v2.3.62, InventoryRollbackPlus v1.6.14, HeadDrop v4.35, VoidWorldGenerator v1.1.0, MvndiSounds v1.0.4, MapTowny v2.2.0,
[21:27:47 WARN]: [SuperVanish] Settings:
[21:27:47 WARN]: [SuperVanish]   MsgsVersion: 6.2.18
[21:27:47 WARN]: [SuperVanish]   Settings: ||InvisibilityFeatures.NightVisionEffect>true||InvisibilityFeatures.DisableDamage>true||InvisibilityFeatures.DisableHunger>true||InvisibilityFeatures.DisableMobTarget>true||InvisibilityFeatures.OpenChestsSilently>true||InvisibilityFeatures.DisablePressurePlates>true||InvisibilityFeatures.DisablePush>false||InvisibilityFeatures.DefaultPickUpItemsOption>false||InvisibilityFeatures.ModifyTablistPackets>true||InvisibilityFeatures.ModifyTabCompletePackets>true||InvisibilityFeatures.PreventSculkSensorActivation>true||InvisibilityFeatures.PreventTurtleEggBreaking>true||InvisibilityFeatures.DisableDripLeaf>true||InvisibilityFeatures.PreventRaidTriggering>true||InvisibilityFeatures.PreventMobSpawning>true||InvisibilityFeatures.Fly.Enable>true||InvisibilityFeatures.Fly.DisableOnReappear>true||VanishStateFeatures.AutoVanishOnJoin>false||VanishStateFeatures.ReappearOnWorldChange>false||VanishStateFeatures.ReappearOnQuit>false||VanishStateFeatures.CheckPermissionOnWorldChange>false||VanishStateFeatures.CheckPermissionOnQuit>false||VanishStateFeatures.CheckPermissionOnLogin>false||IndicationFeatures.LayeredPermissions.EnableSeePermission>true||IndicationFeatures.LayeredPermissions.LayeredSeeAndUsePermissions>false||IndicationFeatures.LayeredPermissions.MaxLevel>100||IndicationFeatures.MarkVanishedPlayersAsSpectators>true||MessageOptions.FakeJoinQuitMessages.BroadcastFakeQuitOnVanish>true||MessageOptions.FakeJoinQuitMessages.BroadcastFakeJoinOnReappear>true||MessageOptions.FakeJoinQuitMessages.AnnounceVanishReappearToAdmins>true||MessageOptions.FakeJoinQuitMessages.SendMessageOnlyToAdmins>false||MessageOptions.FakeJoinQuitMessages.SendMessageOnlyToUsers>false||MessageOptions.HideRealJoinQuitMessages>true||MessageOptions.HideAdvancementMessages>true||MessageOptions.ReappearOnQuitHideLeaveMsg>true||MessageOptions.AnnounceRealJoinQuitToAdmins>true||MessageOptions.AnnounceDeathToAdmins>true||MessageOptions.RemindVanishedOnJoin>true||MessageOptions.DisplayActionBar>true||RestrictiveOptions.PreventBlockBreaking>false||RestrictiveOptions.PreventBlockPlacing>false||RestrictiveOptions.PreventHittingEntities>false||ExternalInvisibility.ServerList.AdjustAmountOfOnlinePlayers>true||ExternalInvisibility.ServerList.AdjustListOfLoggedInPlayers>true||HookOptions.EnableEssentialsHook>true||HookOptions.EnableDynmapHook>true||HookOptions.DynmapSendJoinLeaveMessages>true||HookOptions.EnableTrailGUIHook>true||HookOptions.EnablePlaceholderAPIHook>true||HookOptions.EnableMVdWPlaceholderAPIHook>true||HookOptions.EnableCitizensHook>true||CompatibilityOptions.PlayerJoinEventPriority>HIGH||CompatibilityOptions.PlayerQuitEventPriority>HIGH||MiscellaneousOptions.UpdateChecker.Enable>true||MiscellaneousOptions.UpdateChecker.NotifyAdmins>true||ConfigVersion>6.2.18||
[21:27:47 WARN]: [SuperVanish] StackTrace: 
[21:27:47 WARN]: java.lang.IllegalStateException: Accessing entity state off owning region's thread
[21:27:47 WARN]:        at io.papermc.paper.util.TickThread.ensureTickThread(TickThread.java:79)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftCow.getHandle(CraftCow.java:21)
[21:28:45 INFO]: [Bannedom of Prussia|Bannedsberg] Archteus: From now to the last 3 days of the Beta Server
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftCow.getHandle(CraftCow.java:6)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity.isInWorld(CraftEntity.java:940)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity.isValid(CraftEntity.java:394)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.CraftRegionAccessor.lambda$getEntities$1(CraftRegionAccessor.java:312)
[21:27:47 WARN]:        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:308)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.visibility.VisibilityChanger.hidePlayer(VisibilityChanger.java:98)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.visibility.VisibilityChanger.hidePlayer(VisibilityChanger.java:44)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.commands.SubCommand.hidePlayer(SubCommand.java:36)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.commands.subcommands.VanishSelf.execute(VanishSelf.java:33)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.commands.SubCommandMgr.execute(SubCommandMgr.java:39)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.commands.VanishCommand.execute(VanishCommand.java:29)
[21:27:47 WARN]:        at SuperVanish-6.2.18.jar//de.myzelyam.supervanish.SuperVanish.onCommand(SuperVanish.java:169)
[21:27:47 WARN]:        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[21:27:47 WARN]:        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1042)
[21:27:47 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64)
[21:27:47 WARN]:        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[21:27:47 WARN]:        at net.minecraft.commands.execution.tasks.ExecuteCommand.a(ExecuteCommand.java:32)
[21:27:47 WARN]:        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19)
[21:27:47 WARN]:        at net.minecraft.commands.execution.UnboundEntryAction.a(UnboundEntryAction.java:8)
[21:27:47 WARN]:        at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5)
[21:27:47 WARN]:        at net.minecraft.commands.execution.ExecutionContext.a(ExecutionContext.java:101)
[21:27:47 WARN]:        at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:434)
[21:27:47 WARN]:        at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:336)
[21:27:47 WARN]:        at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:323)
[21:27:47 WARN]:        at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2285)
[21:27:47 WARN]:        at net.minecraft.server.network.PlayerConnection.lambda$handleChatCommand$14(PlayerConnection.java:2245)
[21:27:47 WARN]:        at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173)
[21:27:47 WARN]:        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1646)
[21:27:47 WARN]:        at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407)
[21:27:47 WARN]:        at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404)
[21:27:47 WARN]:        at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525)
[21:27:47 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1583)
[21:27:47 WARN]: [SuperVanish] Please include this information
[21:27:47 WARN]: [SuperVanish] if you report the issue.

@Yomamaeatstoes
Copy link
Author

Hello, @ewof you can fix this error by disable "InvisibilityFeatures.DisableMobTarget"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants