Comments (5)
org.bukkit.command.CommandException: Unhandled exception executing command 'sw' in plugin SiegeWar v2.6.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:1017) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at org.bukkit.craftbukkit.v1_19_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[folia-1.19.4.jar:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:322) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:306) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2310) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$16(ServerGamePacketListenerImpl.java:2270) ~[?:?]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1527) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:360) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.lang.UnsupportedOperationException
at org.bukkit.craftbukkit.v1_19_R3.scoreboard.CraftScoreboardManager.getNewScoreboard(CraftScoreboardManager.java:45) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at org.bukkit.craftbukkit.v1_19_R3.scoreboard.CraftScoreboardManager.getNewScoreboard(CraftScoreboardManager.java:25) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at com.gmail.goosius.siegewar.hud.SiegeWarHud.toggleOn(SiegeWarHud.java:46) ~[SiegeWar-2.6.0.jar:?]
at com.gmail.goosius.siegewar.hud.SiegeHUDManager.toggleWarHud(SiegeHUDManager.java:26) ~[SiegeWar-2.6.0.jar:?]
at com.gmail.goosius.siegewar.command.SiegeWarCommand.parseSiegeWarHudCommand(SiegeWarCommand.java:218) ~[SiegeWar-2.6.0.jar:?]
at com.gmail.goosius.siegewar.command.SiegeWarCommand.parseSiegeWarCommand(SiegeWarCommand.java:136) ~[SiegeWar-2.6.0.jar:?]
at com.gmail.goosius.siegewar.command.SiegeWarCommand.onCommand(SiegeWarCommand.java:113) ~[SiegeWar-2.6.0.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
... 14 more
[12:05:26 ERROR]: Could not pass event NewShortTimeEvent to SiegeWar v2.6.0
from siegewar.
Folia 1.19.4 Towny-0.99.5.0 SiegeWar-2.6.0
from siegewar.
- This command works fine for me on the latest Spigot 1.19.4
- I see you are using Folia 1.19.4.
- I think that is relevant
- The problem line is this:
Scoreboard board = Bukkit.getScoreboardManager().getNewScoreboard();
- Sw doesn't do anything complicated in this line, it simply calls a bukkit method, without even passing any parameters
- I believe this method would probably fail for any plugin which tried to call this method
- This looks like a Folia related issue.
- I'll come back to this, either SW should be using something slightly different here to integrate with Folia, or there's a bug in the Folia build.
from siegewar.
Folia doesn't support scoreboards yet.
Towny opted to just block the commands when folia is present.
from siegewar.
Ah ok thank you!. I will do the same in sw
from siegewar.
Related Issues (20)
- Suggestion: add option to capture Provinces
- Suggestion: Make sure money warnings also apply if costs are too low HOT 2
- Suggestion: Banner lore
- Suggestion: SiegeWar Sphere of Influences
- Problem evaluating new banner control sessions HOT 1
- Remove hard dependancy on TownyChat
- An internal error ocurred while attempting to tab-complete this command HOT 6
- Suggestion: Lift Siege spawn block except during battle sessions
- Suggestion: Have War Sickness only during Battle Sessions HOT 1
- Fix number formatting of money warnings
- Suggestion: Get money warnings to discount edge cases
- Possible bug related to outlaw teleport
- max_active_siege_attacks_per_nation can be bypassed when SiegeAssemblies are used.
- Siege war dont start HOT 12
- Suggestion: Allow modifying the War Sickness feature
- Suggestion: Option to disable outpost teleportation during battle sessions
- Suggestion: Make dynmap layer name configurable. HOT 1
- Issue: SpecialWarSicknessNow not firing due to "NewShortTimeEvent" HOT 2
- Suggestion: Add the ability to translate messages for Discord webhook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siegewar.