Open ChrisWard316 opened 4 years ago
Hi @ChrisWard316, it's really hard to read your error output. Can you update your issue description to use something like https://pastebin.com/ and also provide some more context about the issue.
Is this new behaviour? Are you using geSuit for the first time?
here it is as a pastebin (this still doesn't work but i found a work around bungee lets you force default server)
There is also an issue with /spawn on server it doesn't work but if you do /ss or /ws it works. Very strange here is the error for that
Any updates @addstar, i really love using your plugin
@ChrisWard316 not sure what would be causing that, I will need to know more about your set up.
A few questions:
I have tried to look into this myself:
The second paste-bin i showed you (https://pastebin.com/4A0Qf8Pb)
in managers> spawnmanager.java line 198 ` public void sendPlayerToSpawn(CommandSender sender) { Player p = ( Player ) sender; if(p.hasPermission("gesuit.spawns.spawn.bed")){ try { p.teleport(p.getBedSpawnLocation()); }catch(NullPointerException e){ }
` by reading that code i need a bed spawn set in order to be able to do /spawn. I gave my players the perm gesuit.spawns.spawn.bed so they can re-spawn at their bed when they die but if you haven't set a bed yet you should still be able to do /spawn. I tested the above and it's true i cant do /spawn without first right clicking a bed. Not sure how to fix really myself but i now see that is what is causing the issue as it works after i have a bed set and no more errors.
The first pastebin error i have noticed only happens when i'm op so i don't give myself OP anymore.
Also i was wondering why i could never bypass the teleport delays after reading all your permissions for teleports and homes and i noticed in commands/spawncommand.java you have the permission called gesuit.warps.bypass.delay for a /spawn command so i now bypass those delays but maybe worth changing the permission to something like gesuit.homes.bypass.delay or gesuit.teleports.bypass.delay
Any update?
@ChrisWard316 this is most likely fixed with our latest changes. Can you try the latest geSuit builds and let us know how it goes?
My spawns.yml looks like this:
This is the error in the bungee console:
` [15:19:24] [geSuit Pool Thread #3/INFO]: Loaded player chris_61 (cc0ef2ad-dde3-4b27-87ca-8cac6465caaf) [15:19:24] [Netty Worker IO Thread #11/INFO]: Player chris_61 (cc0ef2ad-dde3-4b27-87ca-8cac6465caaf) connected from /82.41.16.213:54243 [15:19:24] [Netty Worker IO Thread #11/WARN] [geSuit]: Unable to find player named "chris_61" in onlinePlayers list! [15:19:24] [Netty Worker IO Thread #11/INFO]: Warning! Teleport called but player is null!
[15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.cubespace.geSuit.pluginmessages.TeleportToLocation.execute(TeleportToLocation.java:29) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.cubespace.geSuit.managers.SpawnManager.sendPlayerToProxySpawn(SpawnManager.java:49) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.cubespace.geSuit.listeners.SpawnListener.sendPlayerToHub(SpawnListener.java:17) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at java.lang.reflect.Method.invoke(Method.java:498) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.md_5.bungee.event.EventBus.post(EventBus.java:46) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:434) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at net.md_5.bungee.connection.InitialHandler$6$1.run(InitialHandler.java:543) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [15:19:24] [Netty Worker IO Thread #11/ERROR]: at java.lang.Thread.run(Thread.java:748) [15:19:24] [Netty Worker IO Thread #11/INFO]: [chris_61|/82.41.16.213:54243] <-> ServerConnector [vanilla] has connected [15:19:24] [Netty Worker IO Thread #11/INFO]: » chris_61 has joined MCBuffalo! [15:19:24] [geSuit Pool Thread #4/ERROR]: Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@48d5f34e, id=37, owner=net.cubespace.geSuit.geSuit@2313052e, task=net.cubespace.geSuit.listeners.PlayerListener$$Lambda$392/1394598479@5690d49a, delay=0, period=0, running=true) encountered an exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.Collections$SingletonList.get(Collections.java:4817) ~[?:1.8.0_241] at net.cubespace.geSuit.managers.GeoIPManager.lookup(GeoIPManager.java:123) ~[?:?] at net.cubespace.geSuit.listeners.PlayerListener.lambda$null$1(PlayerListener.java:132) ~[?:?] at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.15-SNAPSHOT:87d2873:326] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241] [15:19:28] [Netty Worker IO Thread #13/INFO]: [/173.249.30.10:40777] <-> InitialHandler has pinged [15:19:28] [Netty Worker IO Thread #12/INFO]: [/173.249.30.10:52389] <-> InitialHandler has pinged [15:20:26] [Netty Worker IO Thread #11/INFO]: » chris_61 has left MCBuffalo! [15:20:26] [Netty Worker IO Thread #11/INFO]: Unloaded player chris_61 [15:20:26] [Netty Worker IO Thread #11/INFO]: [/82.41.16.213:54243|chris_61] -> UpstreamBridge has disconnected [15:20:26] [Netty Worker IO Thread #14/INFO]: [/82.41.16.213:54255] <-> InitialHandler has pinged [15:20:27] [Netty Worker IO Thread #15/INFO]: [/82.41.16.213:54256] <-> InitialHandler has connected [15:20:28] [geSuit Pool Thread #5/WARN] [geSuit]: Invalid server for home "coll5" of player chris_61! [15:20:28] [geSuit Pool Thread #5/WARN] [geSuit]: Invalid server for home "done" of player chris_61! [15:20:28] [geSuit Pool Thread #5/WARN] [geSuit]: Invalid server for home "end" of player chris_61! [15:20:28] [geSuit Pool Thread #5/WARN] [geSuit]: Invalid server for home "nether" of player chris_61! [15:20:28] [geSuit Pool Thread #5/WARN] [geSuit]: Invalid server for home "test" of player chris_61! [15:20:28] [geSuit Pool Thread #5/INFO]: Loaded player chris_61 (cc0ef2ad-dde3-4b27-87ca-8cac6465caaf) [15:20:28] [Netty Worker IO Thread #15/INFO]: Player chris_61 (cc0ef2ad-dde3-4b27-87ca-8cac6465caaf) connected from /82.41.16.213:54256 [15:20:28] [Netty Worker IO Thread #15/WARN] [geSuit]: Unable to find player named "chris_61" in onlinePlayers list! [15:20:28] [Netty Worker IO Thread #15/INFO]: Warning! Teleport called but player is null!
[15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.cubespace.geSuit.pluginmessages.TeleportToLocation.execute(TeleportToLocation.java:29) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.cubespace.geSuit.managers.SpawnManager.sendPlayerToProxySpawn(SpawnManager.java:49) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.cubespace.geSuit.listeners.SpawnListener.sendPlayerToHub(SpawnListener.java:17) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at java.lang.reflect.Method.invoke(Method.java:498) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.md_5.bungee.event.EventBus.post(EventBus.java:46) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:434) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at net.md_5.bungee.connection.InitialHandler$6$1.run(InitialHandler.java:543) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [15:20:28] [Netty Worker IO Thread #15/ERROR]: at java.lang.Thread.run(Thread.java:748) [15:20:28] [Netty Worker IO Thread #15/INFO]: [chris_61|/82.41.16.213:54256] <-> ServerConnector [vanilla] has connected [15:20:28] [Netty Worker IO Thread #15/INFO]: » chris_61 has joined MCBuffalo! [15:20:28] [geSuit Pool Thread #6/ERROR]: Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@48d5f34e, id=44, owner=net.cubespace.geSuit.geSuit@2313052e, task=net.cubespace.geSuit.listeners.PlayerListener$$Lambda$392/1394598479@2051cd67, delay=0, period=0, running=true) encountered an exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.Collections$SingletonList.get(Collections.java:4817) ~[?:1.8.0_241] at net.cubespace.geSuit.managers.GeoIPManager.lookup(GeoIPManager.java:123) ~[?:?] at net.cubespace.geSuit.listeners.PlayerListener.lambda$null$1(PlayerListener.java:132) ~[?:?] at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.15-SNAPSHOT:87d2873:326] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241] ` database http://ximg.co.uk/images/2020/04/06/db.png
error http://ximg.co.uk/images/2020/04/06/1.png
Commands like: /ss, /gs, /spawn all work
(187) gesuit
(162) paper (327) waterfall