From c802d8db9b8c1c9cc49d60b71a33597ce5af4442 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sat, 5 Nov 2016 07:06:20 -0400 Subject: [PATCH] Added commands to plugin.yml --- plugin.yml | 26 ++++++++++++++++--- src/alisolarflare/uhc/UHCModule.java | 4 +++ .../uhc/commands/ConfigureMatch.java | 5 ++++ .../uhc/commands/ScheduleMatch.java | 5 ++++ 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/plugin.yml b/plugin.yml index 20ff168..a8632ae 100644 --- a/plugin.yml +++ b/plugin.yml @@ -3,10 +3,6 @@ name: AliPresents version: 2.0.1 commands: - pressalilink: - description: Presses an Ali Link pressalilink frequency - setalilink: - description: Creates an Ali Link setalilink frequency flairme: description: Activates the Flair Me Command. Ask Ali, she was fucking tired when writing this description gpower: @@ -15,7 +11,29 @@ commands: description: Official g-power command that activates the ghostie powerups powerdown: description: Offical g-power command that deactivates the ghostie powerups + pressalilink: + description: Presses an Ali Link pressalilink frequency + setalilink: + description: Creates an Ali Link setalilink frequency + cbgm0: + description: Creative Boundaries Gamemode 0, allows players to return to survival + cbgm1: + description: Creative Boundaries Gamemode 1, allows players to access creative within their towns. Creative is removed outside of towns, so be careful + setdickmode: + description: Should players automatically return to creative when outside town borders? Dickmode says yes. + joinminigame: + description: Join a Button Minigame + leaveminigame: + description: Leave a button minigame + listfighters: + description: List all fighters currently in a button minigame + setcolourspawn: + description: sets the spawn points for each colour in a button minigame addtouhc: description: Adds a player to the UltraHardcore match + configurematch: + description: Configures an UltraHardcore match + schedulematch: + description: Schedules an UltraHardcore match startmatch: description: Starts an UltraHardcore match \ No newline at end of file diff --git a/src/alisolarflare/uhc/UHCModule.java b/src/alisolarflare/uhc/UHCModule.java index db50588..3ddfd0a 100644 --- a/src/alisolarflare/uhc/UHCModule.java +++ b/src/alisolarflare/uhc/UHCModule.java @@ -4,6 +4,8 @@ import org.bukkit.plugin.java.JavaPlugin; import alisolarflare.Module; import alisolarflare.uhc.commands.AddToUHC; +import alisolarflare.uhc.commands.ConfigureMatch; +import alisolarflare.uhc.commands.ScheduleMatch; import alisolarflare.uhc.commands.StartMatch; import alisolarflare.uhc.memory.MatchState; import alisolarflare.uhc.memory.UHCMatch; @@ -22,5 +24,7 @@ public class UHCModule extends Module { registerCommand(plugin, new AddToUHC(match)); registerCommand(plugin, new StartMatch(match)); + registerCommand(plugin, new ConfigureMatch(match)); + registerCommand(plugin, new ScheduleMatch(match)); } } diff --git a/src/alisolarflare/uhc/commands/ConfigureMatch.java b/src/alisolarflare/uhc/commands/ConfigureMatch.java index d85e01a..c696b87 100644 --- a/src/alisolarflare/uhc/commands/ConfigureMatch.java +++ b/src/alisolarflare/uhc/commands/ConfigureMatch.java @@ -2,10 +2,15 @@ package alisolarflare.uhc.commands; import org.bukkit.command.CommandSender; +import alisolarflare.uhc.memory.UHCMatch; import buttondevteam.lib.chat.TBMCCommandBase; public class ConfigureMatch extends TBMCCommandBase{ + public ConfigureMatch(UHCMatch match) { + // TODO Auto-generated constructor stub + } + @Override public String[] GetHelpText(String alias) { // TODO Auto-generated method stub diff --git a/src/alisolarflare/uhc/commands/ScheduleMatch.java b/src/alisolarflare/uhc/commands/ScheduleMatch.java index 0bf2662..455c2fb 100644 --- a/src/alisolarflare/uhc/commands/ScheduleMatch.java +++ b/src/alisolarflare/uhc/commands/ScheduleMatch.java @@ -2,10 +2,15 @@ package alisolarflare.uhc.commands; import org.bukkit.command.CommandSender; +import alisolarflare.uhc.memory.UHCMatch; import buttondevteam.lib.chat.TBMCCommandBase; public class ScheduleMatch extends TBMCCommandBase{ + public ScheduleMatch(UHCMatch match) { + // TODO Auto-generated constructor stub + } + @Override public String[] GetHelpText(String alias) { // TODO Auto-generated method stub