ButtonWarpRandom
ButtonWarpRandom
ButtonWarpRandom
About
ButtonWarpRandom is a plugin that extends ButtonWarp allowing you to create random warps within a specific min/max radius. You can still edit the warps like normal ButtonWarp warps
- Random Warps with min and max radius
- Command Warps than also execute commands (instead of just teleporting)
- Supports all ButtonWarp features such as msg,cmd,cost,reward,...
- Include or Exclude biomes (Like if you do not want to warp to ocean, or if you only want to warp to grassland)
This plugin can be used to teleport players to a random location without having to let them click a sign, type a command,.. but the main feature is that it works with ButtonWarp (great plugin)
Tutorial ! VERSION 1.1.1
Tutorial ! VERSION 1.3.1
Commands
/bwr make [name] [minradius] [maxradius]
Description: Create a random warp with your current location as the center.
Example: /bwr make wild 100 2000
Description Example: Make a random warp named 'wild' and teleport within 100 - 2000 blocks away from your current position
/bwr reload
Description: Reload the configuration.
/bwr set [name] [key] [value]
Description: Change settings of a random warp.
Example: /bwr set wild exclude ocean
Description Example: Change the exclude biome(s) to ocean
Example2: /bwr set wild max 100000
Example3: /bwr set wild exclude ocean,taiga
Moving warps:
Moving the center can be done by using /bw move
Permissions
WARNING: You still need to configure ButtonWarp permissions aswell!
buttonwarprandom.create - Create a random warp
buttonwarprandom.commandwarp - Allow to use /bwr [name]
buttonwarprandom.reload - Allow to use /bwr reload
buttonwarprandom.edit - Allow to edit random warps
Configuration
# ButtonWarpRandom Configuration File # Author: Maxim Van de Wynckel # -------------------------------------------------- # # Included biomes (Overrides Excluded biomes!) ## SWAMPLAND, FOREST, TAIGA, DESERT, PLAINS, HELL, SKY, OCEAN, ## RIVER, EXTREME_HILLS, FROZEN_OCEAN, FROZEN_RIVER, ICE_PLAINS, ## ICE_MOUNTAINS, MUSHROOM_ISLAND, MUSHROOM_SHORE, BEACH, DESERT_HILLS, ## FOREST_HILLS, TAIGA_HILLS, SMALL_MOUNTAINS, JUNGLE, JUNGLE_HILLS, ## JUNGLE_EDGE, DEEP_OCEAN, STONE_BEACH, COLD_BEACH, BIRCH_FOREST, ## BIRCH_FOREST_HILLS, ROOFED_FOREST, COLD_TAIGA, COLD_TAIGA_HILLS, ## MEGA_TAIGA, MEGA_TAIGA_HILLS, EXTREME_HILLS_PLUS, SAVANNA, SAVANNA_PLATEAU, ## MESA, MESA_PLATEAU_FOREST, MESA_PLATEAU, SUNFLOWER_PLAINS, DESERT_MOUNTAINS, ## FLOWER_FOREST, TAIGA_MOUNTAINS, SWAMPLAND_MOUNTAINS, ICE_PLAINS_SPIKES, JUNGLE_MOUNTAINS, ## JUNGLE_EDGE_MOUNTAINS, COLD_TAIGA_MOUNTAINS, SAVANNA_MOUNTAINS, SAVANNA_PLATEAU_MOUNTAINS, ## MESA_BRYCE, MESA_PLATEAU_FOREST_MOUNTAINS, MESA_PLATEAU_MOUNTAINS, BIRCH_FOREST_MOUNTAINS, ## BIRCH_FOREST_HILLS_MOUNTAINS, ROOFED_FOREST_MOUNTAINS, MEGA_SPRUCE_TAIGA, ## EXTREME_HILLS_MOUNTAINS, EXTREME_HILLS_PLUS_MOUNTAINS, MEGA_SPRUCE_TAIGA_HILLS included-biomes: [] excluded-biomes: - ocean # DO NOT EDIT config: 1
Dependencies
- ButtonWarp
- Vault
We need your help!
We are working on a build server and wiki. If you have time please donate :) the money will be used to maintain our server.
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
You can disable the stat collection via /plugins/PluginMetrics/config.yml if you wish.
Can you update this to work on 1.11 Thanks
Can you update this to work on 1.9? Thanks
@OriginalMadman
We will look into it
Could you make it possible to have a min and max Y? This is unusable in many scenarios such as nether otherwise. Thanks!
[19:27:59] [Server thread/ERROR]: Could not load 'plugins/ButtonWarpRandom.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: mvdw/bwrandom/ButtonWarpRandom : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:255) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:233) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:420) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] Caused by: java.lang.UnsupportedClassVersionError: mvdw/bwrandom/ButtonWarpRandom : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_26] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [?:1.6.0_26] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [?:1.6.0_26] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_26] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_26] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_26] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_26] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_26] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_26] at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_26] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_26] at java.lang.Class.forName0(Native Method) [?:1.6.0_26] at java.lang.Class.forName(Class.java:247) [?:1.6.0_26] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) [bukkit.jar:git-Bukkit-1.6.4-R2.0-21-gcf51e92-b2938jnks] ... 9 more
Support for factions? This meaning that when a random TP happens, you wont be placed on another faction's land.
@OriginalMadman
This is a bug in ButtonWarp, try updating buttonwarp
Every start since 1.7.2 (using every latest dev spigot last month):
[22:15:47] [Server thread/ERROR]: Error occurred while enabling ButtonWarpRandom v1.3.1 (Is it up to date?)
java.lang.NoClassDefFoundError com/codisimus/plugins/buttonwarp/Metrics
at mvdw.bwrandom.ButtonWarpRandom.onEnable(ButtonWarpRandom.java:55) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) ~[spigot.jar:git-Spigot-1231]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [spigot.jar:git-Spigot-1231]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385) [spigot.jar:git-Spigot-1231]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:302) [spigot.jar:git-Spigot-1231]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:284) [spigot.jar:git-Spigot-1231]
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:348) [spigot.jar:git-Spigot-1231]
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:325) [spigot.jar:git-Spigot-1231]
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:281) [spigot.jar:git-Spigot-1231]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186) [spigot.jar:git-Spigot-1231]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:430) [spigot.jar:git-Spigot-1231]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1231]
Caused by: java.lang.ClassNotFoundException com.codisimus.plugins.buttonwarp.Metrics
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_40]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_40]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_40]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_40]
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) ~[spigot.jar:git-Spigot-1231]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) ~[spigot.jar:git-Spigot-1231]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.7.0_40]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.7.0_40]
... 12 more
@wiedzmin137
We will add this soon
Hello. Can you add option to exclude towns (by Towny Advanced) and guilds (by Factions)? Thanks.
@shadowfaxenator
Currently it does not.
I am working on a way to cache warp locations (mainly for warps to specific biomes). This will randomly generate and check locations in the background (slow) and cache them until someone uses the teleport.
Once this is finished I can add checks like towny, factions, worldguard to it.
Cache log
Does it ignore Towny claimed chunks?
@15987632
Just exclude "ocean,deep_ocean,river" and you won't be spawned on the bottom of a deep lake.
/bwr set mytestwarp exclude ocean,deep_ocean,river
replace mytestwarp
@Maximvdw
well i thought the point of the plugin was to teleport players to new chucks no offence is there a way to fix this and the water thing? And i wouldnt mind spawning in water if i didnt spawn at the bottom on the ocean, lake or river
@15987632
well you could exclude "deep_ocean" and "river"
/bwr set mywarp exclude ocean,deep_ocean,river
As for the spawning into the ground. this usually happens when a chunk is not generated yet.
I will add some protection for water,lava and spawning into the ground
that's a good reason I would use it, sorry
@Maximvdw
I like it but sometimes you spawn in the ground and suffocate and some other times you spawn at the bottom of a lake or somthing. Is there a way to disable spawning in water in general? i already excluded oceans
@server075
You need the plugin "ButtonWarp" in order to use ButtonWarpRandom
dev.bukkit.org/bukkit-plugins/buttonwarp
ButtonWarp is used to teleport, set cmds to warps, link to buttons,tripwire etc., set rewards, set prices ,.......
ButtonWarpRandom extends this by adding random warps
any idea of why I get this msg?