Spigot Beacon Warp 1.1

Warp from beacon to beacon in your world.

  1. Creatos137 submitted a new resource:

    Beacon Warp - Warp from beacon to beacon in your world.

    Read more about this resource...
     
  2. Hey i know this is probably a stupid question but im kinda dumb is this a data pack or a mod?
     
  3. This is a plugin for a spigot/papermc server
     
  4. I have a few feature suggestions:
    • Make it so warps arent created for every beacon. Or at least create a config option for server owners to decide this.
    • If the above option is made, make it so when people open the warp menu, that they can create their warp and name it (if they actually want to create a warp)
    • Add the ability to charge people currency to create a warp and maybe payment to use a warp
    Of course all of this would be optional / changeable to fit a server’s needs / wants
     
  5. I came here to say mostly the same. I love the base idea of this plugin, but there are a few things that would make it excellent, and a 10/10 must have.

    • Spawn - when I first put down a beacon to test the plugin, it gave me the option to TP to "spawn" at 0,16,0. That's not my server spawn, but Y 16 is also a weird place to default TP. Y 64 would be better. (it also gave me a beacon named Spawn when I went there)

    • Toggleable Beacon TPs - My server has several beacon farms, so there are dozens of beacons. Like Stw222 mentioned, there needs to be a way to enable/disable your beacon as a TP hub. I think the best way to do this would be to create it as an "opt-in" model where beacons must actively be turned into TP spots, or named in order for them to work.

    • Greater than 7 Beacons - It looks like the menu moves one over at a time, instead of using "pages" when there are more than 7 available beacons. I think pages would make for a much better UI.

    • Player Based GUI's - I think this would be a config toggleable item, but it would be useful to restrict players to only being able to TP to beacons that they have activated/placed. It would be cleaner, and a bit more conducive to SMP
     
  6. Also looks like there are potential issues with server restarts. The plugin wasn't working after my daily restart so did a /reload. That worked to fix it, but only overworld beacons loaded - the test one we had in the nether that worked yesterday didnt.
     
  7. This is exactly what I need for my server. One small issue though. By default it includes a warp called Spawn, but the coordinates it points to are 0,16,0. I tried to manually change the coordinates in the config, but it just resets it. I even tried just deleted that line from the config and same thing it came back.

    If this small issue could be fixed then everything would be perfect :)
     
  8. Great plugin but i seem to have a constant issue where upon a server restart all beacons deactivate and no longer work unless i destroy the beacon and rebuild it.

    The only plugin that i could think of that may be affecting it is offlinegrowth due to unloading of chunks but not sure so wanted to ask if this has been seen to happen before?
     
  9. This plugin has so much potential!!!! D:
     
  10. Don't see a discord channel associated with this plugin so going to ask for some help here.

    Not sure if this is intended but when I launch my server the config.yml generates for beacn_warp but is completely blank, i also get the below error when reloading plugins.

    "
    Error occurred while disabling Beacon_Warp v1.1 (Is it up to date?)
    java.lang.NullPointerException: null
    at me.creatos.beaconwarp.BeaconWarp.saveConfigFiles(BeaconWarp.java:71) ~[?:?]
    at me.creatos.beaconwarp.BeaconWarp.onDisable(BeaconWarp.java:34) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:376) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:501) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:493) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:544) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.reload(CraftServer.java:847) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.Bukkit.reload(Bukkit.java:651) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:763) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchServerCommand(CraftServer.java:748) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.DedicatedServer.handleCommandQueue(DedicatedServer.java:387) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:356) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1008) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:847) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
    "

    And the below when people try to use a beacon after a server restart and the plugin doesn't work unless I destroy the beacon and rebuild it.

    "
    Could not pass event PlayerInteractEvent to Beacon_Warp v1.1
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:481) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.PlayerInteractManager.a(PlayerInteractManager.java:447) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1356) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
    Caused by: java.lang.NullPointerException
    at me.creatos.beaconwarp.gui.elements.CurrentWarpElement.<init>(CurrentWarpElement.java:25) ~[?:?]
    at me.creatos.beaconwarp.gui.MainGui.preDraw(MainGui.java:77) ~[?:?]
    at me.creatos.beaconwarp.GuiAPI.Gui.draw(Gui.java:146) ~[?:?]
    at me.creatos.beaconwarp.GuiAPI.Gui.show(Gui.java:192) ~[?:?]
    at me.creatos.beaconwarp.listener.PlayerRightClickBeacon.onRightClickBlock(PlayerRightClickBeacon.java:40) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_281]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot.jar:git-Spigot-a93cbb1-7029c0a]
    ... 20 more
    "

    The only time this plugin seems to work for me is when I build a new beacon and then it works till the server gets restarted at which point all functionality is lost.

    Any assistance would be appreciated as there is nothing else like this which allows people on a server to spread but at the same time create portals through actually doing something difficult/worthwhile ingame instead of just commands or OP made command blocks etc.
     
  11. Hey, I can't open the beacon GUI, when I sneak+right click nothing happens and the following error message shows on the console:

    Code (Text):
    [14:07:12] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to Beacon_Warp v1.1
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:475) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.PlayerInteractManager.a(PlayerInteractManager.java:447) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1356) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
    Caused by: java.lang.NullPointerException
            at me.creatos.beaconwarp.gui.elements.CurrentWarpElement.<init>(CurrentWarpElement.java:25) ~[?:?]
            at me.creatos.beaconwarp.gui.MainGui.preDraw(MainGui.java:77) ~[?:?]
            at me.creatos.beaconwarp.GuiAPI.Gui.draw(Gui.java:146) ~[?:?]
            at me.creatos.beaconwarp.GuiAPI.Gui.show(Gui.java:192) ~[?:?]
            at me.creatos.beaconwarp.listener.PlayerRightClickBeacon.onRightClickBlock(PlayerRightClickBeacon.java:40) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot.jar:3013-Spigot-73fb609-0cd8f19]
            ... 20 more