Avalanche
ABANDONED! Hello! This Avalanche plugin was made when I sucked at coding Java. This is why there are many errors and such. I have abandoned this project due to me working on other programs or plugins, because I would have to redo this entire plugin, because I can't even understand my own code that well in this plugin (I made this when I was horrible at coding plugins, and it isn't using the formats that I use now). However, if many people want this plugin back, I would be glad to recreate this plugin! Just fill out the poll on the side!
CONTACT FOR ANYTHING (Suggestions, Errors, etc.): [email protected]
Can anyone make a better Avalanche logo than what is above? If so, PM me ;)
Anyone have a YouTube channel? If you make a video on this plugin, it will be on here!
What is Avalanche
Avalanche is the first Minecraft minigame I have ever coded, suggested by Drqgon.
Avalanche is a multi-arena game where snowballs fall from the sky and you have to try to dodge them. If you get hit, you are out, and sent to the spectator area. Also, random blocks spawn in the specified section which you can use to protect yourself from falling snowballs, or they could get in your way! However, you probably will not be able to stand under a block for the entire round, as PvP is enabled (no damage though)! There are 7 rounds in the game, each 45 seconds long. In each round, snowball spawning speeds up, and block spawning (for protection) slows down! On round 7, block spawning disables, and snowballs come speeding down. If you survive all 7 rounds, there is a death match at the end with Avalanche themed armor (aqua leather chestplate, with white leather leggings and boots) along with a wooden sword and a bow. The winner is the last one standing. If all players are eliminated before round 7, the last player standing wins.
Video Tutorials
Thanks NumeroUno for making a tutorial on my plugin! - English
Features
- Multi-Arena - Have more than 1 arena running at the same time!
- Easy setup - Start off with using "/avalanche create <arena>", then the chat guides you through setting up the rest!
- Help menu - When you do "/avalanche", it shows you all the commands that YOU have access to!
- Create join and leave signs!
Customizable Features
- Change the area where the snowballs spawn (with WorldEdit selection)
- Change the area where the blocks spawn (with WorldEdit selection)
- Set the spectate area per arena
- Set the lobby area per arena
- Set the borders of the arena (per arena with WorldEdit selection)
- Set the main lobby (where all the join signs are)
- Add spawns per arena (players will randomly spawn at one of the spawns in the arena)
- Change the block for the random block spawn (per arena)
- Change the minimum and maximum players per arena
Admin Command Features
- Force start an arena (shortens the arena time to 5 seconds instead of the usual 30 second countdown) - This only works if the arena has atleast 2 players (bypassing the minimum player setting)
- Force stop an arena (kicks all players, sending them to the Avalanche main lobby)
Cool Features
- After every round and game, all blocks are cleared!
- If all players leave except 1, that last player is kicked as well!
- The game saves your inventory and armor before the game (as it clears your inventory/armor when the game starts), and returns it to you after the game.
- You CANNOT break blocks while in-game!
- You can PvP at certain times while in-game!
- At the end, there is a firework (star shaped, power 1, color green, fade yellow, flicker on) that is launched from the winners location!
- If a player disconnects from the game, they are removed!
- To list all arenas created, just do "/avalanche join" without an arena name at the end!
- There is a death match for all of those who survive to the end of the game!
- Each round, snowballs start spawning faster, and protection blocks start spawning slower!
IMPORTANT NOTICES
There is no check to make sure you have everything set! So make sure you follow the "Next Step" chat messages in-game!- PvP in the game is automatically disabled in the arena lobby and spectate area (and right before the game starts). But when the game is running, make sure you do not have a WorldGuard (or something like that) region blocking PvP in the arena, unless you do not want players to fight in the arena.
- Do not changing the min-player/max-player amount while the game is running/in lobby may cause errors. If you need to change it, make sure it isn't running by force stopping it
Inventory/Armor saving glitches - Don't worry! No personal (Minecraft) items are lost in this game (I think). When you join, it saves your inventory and armor, then clears it. However, there is a glitch where the inventory actually clears, but there are still images of the item in your hotbar (but when you right click on the item, it disappears). So I recommend not having anything in your inventory in the same server/world with this minigame. However, I think it is fine to have compasses (for teleportation), player hider items, etc.
Installation
- Make sure you have WorldEdit installed. If you do not, it will say so in the console and the plugin will shut down.
- Download the latest version of Avalanche
- Drag into server's plugins folder
- Start up your server
- Stop your server (optional)
- Change the prefix in the config (optional)
- Restart your server (optional)
- Have fun!
RANDOM NOTE: To list arenas, just type "/avalanche join" without a specified arena and press enter. It will then list all arenas.
Commands/Permissions
ALL PERMISSIONS DEFAULT TO OPERATOR!
avalanche.player.* - Includes "avalanche.join", "avalanche.leave", and "avalanche.command"
avalanche.admin.* - Includes "avalanche.arena.create" and "avalanche.forcestop"
avalanche.bonus.* - Includes "avalanche.forcestart"
/avalanche join - List arenas - avalanche.join
/avalanche join <arena> - Join an arena - avalanche.join
/avalanche leave - Leave an arena - avalanche.leave
/avalanche setmainlobby - Set the main lobby of the game where you are standing - avalanche.arena.create
/avalanche create <arena> - Create an arena with the name of "<arena>" - avalanche.arena.create
/avalanche setborders <arena> - Set the borders/walls of the arena (WorldEdit) - avalanche.arena.create
/avalanche setblockspawn <arena> - Set the area where the randomized blocks will spawn in (WorldEdit) - avalanche.arena.create
/avalanche setsnowballspawn <arena> - Set the 1-block-high area where the snowballs will fall from (WorldEdit) - avalanche.arena.create
/avalanche setminplayers <arena> <number> - Set the minimum amount of players to start the arena (to start the lobby countdown of 30 seconds) - avalanche.arena.create
/avalanche setmaxplayers <arena> <number> - Set the maximum amount of players per arena - avalanche.arena.create
/avalanche addspawn <arena> - Add a spawn for the arena of where you are standing. At the beginning of the game, players will be randomly teleported to one of the spawns - avalanche.arena.create
/avalanche setlobby <arena> - Set the lobby for the arena based on your current location - avalanche.arena.create
/avalanche setspectate <arena> - Set the spectate for the arena based on your current location - avalanche.arena.create
/avalanche setblock <arena> <material> - Set the block that will randomly spawn in the blockspawn area during the game (the material may have spaces in it, as they will all be replaced automatically with underscores when you press enter. Also, it is NOT case sensitive) - avalanche.arena.create
/avalanche delete <arena> - Delete an arena with the specified name - avalanche.arena.create
/avalanche forcestart <arena> - Force start an arena (unless player count is less than 2, or arena is already running) - avalanche.forcestart
/avalanche forcestop <arena> - Force stop an arena (unless arena is not running) - avalanche.forcestop
How to create an arena
- Before this, make sure you have a main lobby and you set it with "/avalanche setmainlobby"
- Build an arena
- Build a spectate area
- Build a lobby
- Create the arena: /avalanche create <arena>
- Set the borders: Select walls with WorldEdit wand, do /avalanche setborders <arena>
- Set the area for the randomized block spawning: Select area (not including walls) with WorldEdit wand, do /avalanche setblockspawn <arena>
- Set the snowball spawn 1-block-high area: Select area (not including walls) with WorldEdit wand, do /avalanche setsnowballspawn <arena>
- Set the minimum amount of players for that game: /avalanche setminplayers <arena> <amount>
- Set the maximum amount of players for that game: /avalanche setmaxplayers <arena> <amount>
- Add a few spawns for the game: Stand where you want it to be, /avalanche addspawn <arena>
- Set the lobby for the arena: Stand where you want it to be, /avalanche setlobby <arena>
- Set the spectate location for the arena: Stand where you want it to be, /avalanche setspectate <arena>
- Set the randomized spawn BLOCK: /avalanche setblock <arena> <material>
- Create a Join sign in the main lobby (optional)
- Create a Leave sign in the game lobby (optional)
Join Signs
To create:
For example:
Output:
Leave Signs
To create:
Output:
To Do
I don't know! To request: Comment below, PM me, email me (link under the picture above), or post a ticket!
CONTACT FOR ANYTHING (Suggestions, Errors, etc.): [email protected]
I need help every time i set the "/avalanche setborders <arenaname>" it have internal occurred while attempting to perform this command. but all other command work fine please help.
29.08 09:31:03 [Server] Server thread/INFO Kyzuke issued server command: /avalanche setborders ava
29.08 09:31:03 [Server] Server thread/ERROR null
29.08 09:31:03 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'avalanche' in plugin Avalanche v1.1.1
29.08 09:31:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:760) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:1931) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1770) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1751) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1133) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1126) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.executeAll(SourceFile:110) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1109) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1039) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:303) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
29.08 09:31:03 [Server] INFO Caused by: java.lang.NoSuchMethodError: 'com.sk89q.worldedit.bukkit.selections.Selection com.sk89q.worldedit.bukkit.WorldEditPlugin.getSelection(org.bukkit.entity.Player)'
29.08 09:31:03 [Server] INFO at me.blockhead7360.avalanche.Avalanche.onCommand(Avalanche.java:1731) ~[?:?]
29.08 09:31:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]
29.08 09:31:03 [Server] INFO ... 19 more
For some reason when the game is over and your suppose to be kicked it doesn't work please fix it besides that its a awesome plugin
@malikito123
Can you post a ticket? it helps me answer it easier.
@SayHi2uTube
Can you post a ticket? It helps me answer it easier.
I need a tutorial video for this plugin. I get an error creating the arena T_T and i don't understand that.
In reply to malikito123:
I get an error when I try to leave
Woah, I was so hyped for this plugin I read every single page in the thread. Really Great plugin! 10/10 :D
@malikito123
Yes. It does work for 1.8.8 ;)
it's worked for the version 1.8.8? I think about for plugin and it's very awesome. Sorry for my bad english.
@Drqgon
Awesome!
@Blockhead7360 Hey, just wanted to let you know that after changing the block to glowstone, the game seems to have fixed itself and I see no problems whatsoever.
@andrewginn
@Keubix
I have fixed a some of these things in v1.1.0!
@Keubix
I'm on it!
@andrewginn
I'll work on it! Sorry about the subtitles on the cmd / perm section. I'll change that when I get the chance ;)
@NumeroUnoBaby
Awesome! That would be the second tutorial you did on my plugins (first one was SkyboxMail)! If you end up making the tutorial, I'll post it on this page right away (I'm subscribed)
Epic plugin. Will be testing this one out!
Plugin looks really good. 1 suggestion. For the signs part maybe you could add a photo to make it more user friendly. For instance A photo of the sign as a example Also try and remove the Subtitles for the commands/perms it baffles my mind a bit and just make a commands section and a permission section with some info on that
All in all it looks good!
This plugin is really good! But it needs some work done. Everything in the Important Notices section needs to be added in so the players don't need to worry.
@Blockhead7360
ok, thank you. I'd love to see this in an update!!