PVP Maze
PVP Maze
The PVP Maze plugin creates a randomly generated maze of certain parameters and then starts a pvp match inside the match. The match can be moved along by the walls closing in or chests appearing near the center.
Warning: Make sure you back up your world before creating a maze
Commands:
/create: creates a maze: entering no values will retrieve all values from config file entering a width and passagewidth(recommended is /create 200 10) on console will create a maze with those parameters with the center taken from the console entering width and passagewidth as a player will create a maze with those parameters with the center as the player's location
/startmatch starts the match, creates a maze, and teleports players to the center
/deletemaze: deletes the maze and attempts to reset the blocks(SAVE if you really don't want your world to be messed up) with values of center location and size taken from the config file
/joinmatch: will enter you into the match players for a one minute period after the match is started. Your inventory will be cleared and you will be teleported once the match starts
Default Config File
#default config file for PVP Maze #maze settings width: 200 #the total width of the maze from end to end passagewidth: 10 #the width of the maze passages worldname: world #the name of the world where the maze goes locx: 0 #the x coordinate of the maze center locz: 0 #the z coordinate of the maze center holefreq: 20 #the frequency of holes in the maze, set to -1 for none, set from 1(lowest- 1 out of 100 columns are holes) to 100(highest- every column has a hole) #/maze setting #deleteMaze settings deletemaze: width: 200 locx: 0 locz: 0 worldname: world #/deletemaze settings #match settings(in minutes) chestsfreq: 3 #the frequency chests appearing set to -1 to cancel chests chestsdelay: 5 #the initial delay before chests begin to appear wallsfreq: 3 #the frequency of walls closing set to -1 to cancel walls closing wallsdelay: 5 #the initial delay before the walls begin to close #/match settings
Does this have potion effects? Thank you.
does it work for 1.7.2?
@Asuxx
http://www.youtube.com/watch?v=v0orIZJj6eM
I have tried to run this several times. One Time I was at spawn and it created it right on spawn. Heck of a time getting rid of it. Next time I did it I flew off ALONG ways away and did it it again.. and it still put the maze on spawn. so I took the plugin out until get some better instructions or some how can say where I want the maze to go and have the ground lvl out.
06.05 16:35:51 [Server] INFO ... 15 more 06.05 16:35:51 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 06.05 16:35:51 [Server] INFO at me.ben.mazeplug.Main.onCommand(Main.java:80) 06.05 16:35:51 [Server] INFO at me.ben.mazeplug.Main.generateMaze(Main.java:479) 06.05 16:35:51 [Server] INFO at org.bukkit.Location.getBlock(Location.java:82) 06.05 16:35:51 [Server] INFO Caused by: java.lang.NullPointerException 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883) 06.05 16:35:51 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:965) 06.05 16:35:51 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523) 06.05 16:35:51 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) 06.05 16:35:51 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 06.05 16:35:51 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'create' in plugin mazeplug v0.7 06.05 16:35:51 [Server] SEVERE null
apparently not working...lol
Are there any perms?
@soulscapex
Did you change the name of your world?
This is what i get when i try to create a maze
[INFO] soulscapex issued server command: /create 200 10 21:54:10 [SEVERE] null 21:54:10 org.bukkit.command.CommandException: Unhandled exception executing command 'create' in plugin mazeplug v0.7 21:54:10 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 21:54:10 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) 21:54:10 at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:547) 21:54:10 at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:980) 21:54:10 at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:896) 21:54:10 at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 21:54:10 at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 21:54:10 at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:186) 21:54:10 at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 21:54:10 at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 21:54:10 at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72) 21:54:10 at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582) 21:54:10 at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:223) 21:54:10 at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471) 21:54:10 at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403) 21:54:10 at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 21:54:10 Caused by: java.lang.NullPointerException 21:54:10 at org.bukkit.Location.getBlock(Location.java:82) 21:54:10 at me.ben.mazeplug.Main.generateMaze(Main.java:477) 21:54:10 at me.ben.mazeplug.Main.onCommand(Main.java:80) 21:54:10 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 21:54:10 ... 15 more
@15jkane
@ALex_epic
I changed it so that startmatch now creates a maze with the default settings- before it only did that with auto
I also couldn't find the Maze, i went to 0, 0 and nothing was there, what is the problem
@ALex_epic
The center of it is at 0,0, did you look there?
Um when I create the arena, I can't find it.
@SpielkinderTV
It should be; alert me if you find any problems.
@Bkky
So it will be fixed in the next release?
@SpielkinderTV
Auto is fixed now
Will there be a way where the game is automatic?
@broluigi
I added the option to join the match, but please give me bug reports because I had a hard time testing it with just myself.
Can you make it so players dont instantly teleport there? I want people to have a choice but be notified that it is there
Is there a way to delete this? Would you PLEASE add that functionality. I did this and it created a huge Bedrock Maze, and now I cannot delete it. :/
Please Update This, Would love to have it on my 1.5 Server!