Spigot BiomeSelector 1.3

Biome selector and wild warping system.

  1. SamzRulez submitted a new resource:

    BiomeSelector - Biome selector and warping system.

    Read more about this resource...
     
    #1 SamzRulez, Jun 29, 2015
    Last edited: Jun 29, 2015
  2. Image not showing up correctly.
     
  3. I'll fix this tomorrow. Going off computer for today,
     
  4. Does this work with 1.8.7?
     
  5. Should do. I created it on 1.8.7.
     
  6. Pretty solid! I have a request: Can you make it work on a sign too? (instead of with an item) Thanks!

    ________
    |Click here |
    |to select a |
    | [biome] |
    |_______|
     
  7. Do you mean, have the sign open the menu or teleport to the biome ?
     
  8. Exactly that :D thanks!
     
  9. No problem.
     
  10. Do you think you could use some sort of tie with http://chunkbase.com/apps/biome-finder to find a biome automatically? - We have a resource world that resets frequently and as the seed changes the location of the biomes change too. Not entirely sure if they even have an API or if it is even written in the same language! I wonder how they even got that to find the info. Perhaps some sort of Mojang api? I don't know.
     
    • Like Like x 1
    • Useful Useful x 1
  11. I could loop though the world and check the biomes do not exist then create them. (would have to run a command though).
     
  12. Okay, well perhaps it picked a random <biome> that way you don't get one <biome> of that <biome> that is completely wrecked.

    So for example if i wanted a jungle warp, i would want separate jungle biomes to be included, and when a player warps to jungle, it picks one of those randomly. You could even hook in to world border to ensure it does not pick a jungle biome outside of the border. My thinking is that it dumps 5 players at one jungle biome before changing to the next, that way it takes at least however many jungle biomes you want in the cycled warps before going back to the first. This could be configurable.

    You could always make the biome warps themselves be able to hook into essentials where it simply changes the coordinates in the warps.yml file, so /warp <biome> is the same.

    And if the world is reset frequently (like my serer's resource world does) then i should be able to run the biome sensor command automatically.

    I have no clue how to program in Java and this may not be the best way to do it but here is my thoughts on how it should find the biomes:

    You tell it where the world spawn is (or it finds it from Multiverse, minecraft (/setworldspawn) or other plugins like HubThat)
    You group the biomes, for example jungle and jungle edge will be considered one, but the hill versions could be their own, depending on how big they tend to be and if they only feature on their own or with other variants of the biome.

    You have a config option as to how many seperate biomes will be in the cycle (1 for just one location for each), and depending on how many you specify, it will keep searching for the X nearest locations of that biome.

    You could even have a config option for how far from spawn it starts searching, for example those that have a 1kx1k world spawn, they don't want players getting teleported in their own spawn! (perhaps take into consideration world guard regions too.)

    Yet again i have gone wild with ideas. Sorry about that :)
     
  13. Sikatsu

    Patron

    Does it work on 1.10 still?
     
  14. Sikatsu

    Patron

    Seems broken

    18.10 10:46:57 [Server] ERROR null 18.10 10:46:57 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'biomes' in plugin BiomeSelector v1.1 18.10 10:46:57 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_77] 18.10 10:46:57 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_77] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77] 18.10 10:46:57 [Server] INFO Caused by: java.lang.NoSuchFieldError: NOTE_PLING 18.10 10:46:57 [Server] INFO at uk.co.samuelzcloud.dev.plugins.BiomeSelector.a.a.onCommand(BExecutor.java:100) ~[?:?] 18.10 10:46:57 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[custom.jar:git-Spigot-687a019-5047354] 18.10 10:46:57 [Server] INFO ... 15 more
     
  15. Honestly, I have no idea!

    Not surprised, haven't looked any any of these for months - best part of a year.
     
  16. Sikatsu

    Patron

    I see, could you add support for it or?
     
    • Like Like x 1
  17. SamzRulez updated BiomeSelector with a new update entry:

    Fixed for 1.10.2

    Read the rest of this update entry...
     
  18. I just quickly fixed the problems, there is a new update.