Lahuca-Software-Development / Lahuca-Software-Development/BotSentry

FoliaMC error

Open
#131 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi!
I use FoliaMC but plugin crash when server start

[05:26:17 ERROR]: Error occurred while enabling BotSentry v9.8-THANATOS (Is it up to date?) java.lang.UnsupportedOperationException at org.bukkit.craftbukkit.scheduler.CraftScheduler.handle(CraftScheduler.java:517) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimerAsynchronously(CraftScheduler.java:251) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimerAsynchronously(CraftScheduler.java:238) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskLaterAsynchronously(CraftScheduler.java:189) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskAsynchronously(CraftScheduler.java:158) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at BotSentry-9.8-THANATOS-SpigotMC.jar//com.lahuca.botsentry.spigot.f.a(Unknown Source) ~[?:?] at BotSentry-9.8-THANATOS-SpigotMC.jar//com.lahuca.botsentry.b.b.d.c(Unknown Source) ~[?:?] at BotSentry-9.8-THANATOS-SpigotMC.jar//com.lahuca.botsentry.b.b.g.b(Unknown Source) ~[?:?] at BotSentry-9.8-THANATOS-SpigotMC.jar//com.lahuca.botsentry.d.m.a(Unknown Source) ~[?:?] at BotSentry-9.8-THANATOS-SpigotMC.jar//com.lahuca.botsentry.d.a.l.a(Unknown Source) ~[?:?] at BotSentry-9.8-THANATOS-SpigotMC.jar//com.lahuca.botsentry.spigot.BotSentrySpigot.onEnable(Unknown Source) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:279) ~[folia-api-1.21.11-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[folia-api-1.21.11-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:639) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:596) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at net.minecraft.server.MinecraftServer.initPostWorld(MinecraftServer.java:663) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:365) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1335) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:431) ~[folia-1.21.11.jar:1.21.11-11-e112b00] at java.base/java.lang.Thread.run(Thread.java:1575) ~[?:?]

> version BotSentry [05:31:27 INFO]: BotSentry version 9.8-THANATOS Authors: New Era Studios, and Lahuca Software Development
> version [05:31:45 INFO]: Checking version, please wait... [05:31:45 INFO]: This server is running Folia version 1.21.11-11-ver/1.21.11@e112b00 (2026-01-20T18:53:05Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT) You are 3 version(s) behind Download the new version at: https://papermc.io/downloads/folia Previous version: 1.21.4-6-b785bcc (MC: 1.21.4) [05:36:24 INFO]: [LP] Set mw.fly to true for premium in context global.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing startup with BotSentry 9.8-THANATOS on Folia 1.21.11 and follow the stack trace from CraftScheduler into the BotSentry entry points. Determine whether the plugin supports Folia and verify that the server starts without this exception; if support is not intended, document that limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.