nerdsie / easywarp Goto Github PK
View Code? Open in Web Editor NEWBukkit plugin for easy teleportation
Home Page: http://dev.bukkit.org/bukkit-plugins/easy-warp/
Bukkit plugin for easy teleportation
Home Page: http://dev.bukkit.org/bukkit-plugins/easy-warp/
Hi,
i'm not sure if this is a bug of Spigot or EasyWarp, but i'll post it here first. I am using v3.3 and get NullPointerExceptions in my logs. It doesn't cause any crashes but it's annoying... :-)
[11:27:01] [Server thread/WARN]: [EasyWarp] Task #338 for EasyWarp v3.3 generated an exception java.lang.NullPointerException at org.bukkit.Location.getChunk(Location.java:78) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] at com.collinsrichard.easywarp.Helper.warp(Helper.java:73) ~[?:?] at com.collinsrichard.easywarp.objects.WarpTimer.run(WarpTimer.java:22) ~[?:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
Greetings
when trying to add a warp I get "An Internal error occured while attempting to perform this command" in return. I'm not sure when this started, but around the time 1.20 came around.
Within the console this is what's being spit out:
20.06 20:56:16 [Server] INFO __ddddd issued server command: /addwarp testwarp 20.06 20:56:16 [Server] ERROR null 20.06 20:56:16 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'addwarp' in plugin EasyWarp v3.12 20.06 20:56:16 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?] 20.06 20:56:16 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?] 20.06 20:56:16 [Server] INFO at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:1003) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[paper-1.20.1.jar:?] 20.06 20:56:16 [Server] INFO at net.minecraft.commands.Commands.performCommand(Commands.java:324) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.commands.Commands.performCommand(Commands.java:308) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2299) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2259) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?] 20.06 20:56:16 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1339) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1316) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1309) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1287) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1175) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at java.lang.Thread.run(Thread.java:833) ~[?:?] 20.06 20:56:16 [Server] INFO Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.World.getName()" because the return value of "org.bukkit.Location.getWorld()" is null 20.06 20:56:16 [Server] INFO at com.collinsrichard.easywarp.managers.FileManager.saveWarps(FileManager.java:62) ~[EasyWarp.jar:?] 20.06 20:56:16 [Server] INFO at com.collinsrichard.easywarp.commands.SetWarpCommand.onCommand(SetWarpCommand.java:59) ~[EasyWarp.jar:?] 20.06 20:56:16 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?] 20.06 20:56:16 [Server] INFO ... 23 more
WARN]: [TheWalls] "TheWalls v1.2.0.1" has registered a listener for org.kitteh.tag.PlayerReceiveNameTagEvent on method "public void rubik_cube_man.plugins.walls.PlayerTagEvent.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [rubik_cube_man].
! [Sat 07:19:59 WARN EasyWarp] Plugin EasyWarp v2.0 generated an exception while executing task 1100727257
java.lang.NoSuchMethodError: 'org.bukkit.entity.Player[] org.bukkit.Server.getOnlinePlayers()'
at EasyWarp.jar//org.mcstats.Metrics.postPlugin(Metrics.java:308)
at EasyWarp.jar//org.mcstats.Metrics.access$4(Metrics.java:301)
at EasyWarp.jar//org.mcstats.Metrics$1.run(Metrics.java:196)
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
! [Sat 07:34:59 WARN EasyWarp] Plugin EasyWarp v2.0 generated an exception while executing task 1100727257
java.lang.NoSuchMethodError: 'org.bukkit.entity.Player[] org.bukkit.Server.getOnlinePlayers()'
at EasyWarp.jar//org.mcstats.Metrics.postPlugin(Metrics.java:308)
at EasyWarp.jar//org.mcstats.Metrics.access$4(Metrics.java:301)
at EasyWarp.jar//org.mcstats.Metrics$1.run(Metrics.java:196)
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
spigot 1.20.4
non ops cant use warp signs
When trying to do /add in TheWalls, it says "Error: Could not load world." My world names are "thewalls1", "thewalls2", and "thewalls3" I set everything up correctly in multiverse, no monsters, normal difficulty, and I'm still having the issue. Hope you can help. Thanks!
-supernerd2000
When 4 players write the command /join the server have a error:
My server is 1.6.4
2013-12-23 03:25:39 [INFO] Riotineveryone issued server command: /join
2013-12-23 03:25:43 [INFO] [COMMAND] LastWishSpain: /join
2013-12-23 03:25:43 [INFO] LastWishSpain issued server command: /join
2013-12-23 03:25:48 [INFO] [COMMAND] LastWishSpain: /lobby
2013-12-23 03:25:48 [INFO] LastWishSpain issued server command: /lobby
2013-12-23 03:25:51 [INFO] [COMMAND] KrissLepard: /join
2013-12-23 03:25:51 [INFO] KrissLepard issued server command: /join
2013-12-23 03:25:51 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'join' in plugin TheWalls v2.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528)
at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:968)
at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:886)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:837)
at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49)
at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.validate(CraftScheduler.java:394)
at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:120)
at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.scheduleSyncRepeatingTask(CraftScheduler.java:116)
at me.NerdsWBNerds.TheWalls.TheWalls.startQueCount(TheWalls.java:678)
at me.NerdsWBNerds.TheWalls.TheWalls.checkQue(TheWalls.java:668)
at me.NerdsWBNerds.TheWalls.TheWalls.addPlayer(TheWalls.java:607)
at me.NerdsWBNerds.TheWalls.TheWalls.addPlayer(TheWalls.java:614)
at me.NerdsWBNerds.TheWalls.Commands.CommandHub.joinGame(CommandHub.java:207)
at me.NerdsWBNerds.TheWalls.Commands.GeneralCMD.onCommand(GeneralCMD.java:36)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
I deleted some warps on my server and when I restarted the server, they remained. I deleted them from the warps config file but they still remain! Help!
java.lang.IllegalArgumentException: The embedded resource 'config.yml' cannot be
found in plugins\EasyWarp.jar
at org.bukkit.plugin.java.JavaPlugin.saveResource(JavaPlugin.java:247) ~
[craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.plugin.java.JavaPlugin.saveDefaultConfig(JavaPlugin.java:2
34) ~[craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at com.collinsrichard.easywarp.EasyWarp.onEnable(EasyWarp.java:19) ~[?:?
]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[c
raftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:324) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jn
ks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:404) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092j
nks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.jav
a:446) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.
java:380) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnk
s]
at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:3
52) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:3
26) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:2
82) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.jav
a:182) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java
:436) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6
28) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
Spigot 1.8
GriefPrevention
WorldLoad
bPermissions
CoreProtect
EasyWarp 3.3
Every time I reboot the server, or even stop/start, if the warps.yml doesn't delete itself, it deletes all contents within the file.
All warps were initially created in game and functional, including in/out of additional maps beyond the main world. If I have to stop the server, I have to drop in a locally saved warps.yml (or data.yml depending on whether I'm using the plugin from EasyWarp or Easy-Warp - have tried both) before starting the server.
I have not edited the config.yml
This issue began before installing bPermissions.
When the que gets 4 players it teleports them to the waiting area but the timer gets stuck at 61 seconds, so the game doesn't start.
I really like this plugin but my only problem is that it doesn't ignore Upper/Lower case writing in warp names. If you set a warp /setwarp WaRp you have to teleport there by /warp warp and you can't use /warp WaRp. I hope you get my point.
Best regards
~Nico
Here is what shows up in the console after the error. The plugin seems to be working properly, but I noticed that someone else had posted on the comments that they too had this problem.
java.lang.NullPointerException
com.nerdswbnerds.easywarp.objects.Warp.toString(Warp.java:33) ~[?:?]
com.nerdswbnerds.easywarp.managers.FileManager.saveWarps(FileManager.java:46) ~[?:?]
com.nerdswbnerds.easywarp.EasyWarp.onDisable(EasyWarp.java:31) ~[?:?]
org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:252) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:374) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:408) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:401) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
org.bukkit.craftbukkit.v1_7_R1.CraftServer.disablePlugins(CraftServer.java:390) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
net.minecraft.server.v1_7_R1.MinecraftServer.stop(MinecraftServer.java:375) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:488) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
You have listwarps
stated in the plugin.yml yet the command to register its executor is listwarp
(no s on the end)
EasyWarp/src/main/resources/plugin.yml
Line 13 in 0ae3ea6
Edit:
This issue doesnt happen on craftbukkit based forks as it takes the alias of listwarp
and uses that as the main command
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.