Added commands to plugin.yml

This commit is contained in:
alisolarflare 2016-11-05 07:06:20 -04:00
parent dd2dca0544
commit c802d8db9b
4 changed files with 36 additions and 4 deletions

View file

@ -3,10 +3,6 @@ name: AliPresents
version: 2.0.1 version: 2.0.1
commands: commands:
pressalilink:
description: Presses an Ali Link pressalilink frequency
setalilink:
description: Creates an Ali Link setalilink frequency
flairme: flairme:
description: Activates the Flair Me Command. Ask Ali, she was fucking tired when writing this description description: Activates the Flair Me Command. Ask Ali, she was fucking tired when writing this description
gpower: gpower:
@ -15,7 +11,29 @@ commands:
description: Official g-power command that activates the ghostie powerups description: Official g-power command that activates the ghostie powerups
powerdown: powerdown:
description: Offical g-power command that deactivates the ghostie powerups 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: addtouhc:
description: Adds a player to the UltraHardcore match description: Adds a player to the UltraHardcore match
configurematch:
description: Configures an UltraHardcore match
schedulematch:
description: Schedules an UltraHardcore match
startmatch: startmatch:
description: Starts an UltraHardcore match description: Starts an UltraHardcore match

View file

@ -4,6 +4,8 @@ import org.bukkit.plugin.java.JavaPlugin;
import alisolarflare.Module; import alisolarflare.Module;
import alisolarflare.uhc.commands.AddToUHC; import alisolarflare.uhc.commands.AddToUHC;
import alisolarflare.uhc.commands.ConfigureMatch;
import alisolarflare.uhc.commands.ScheduleMatch;
import alisolarflare.uhc.commands.StartMatch; import alisolarflare.uhc.commands.StartMatch;
import alisolarflare.uhc.memory.MatchState; import alisolarflare.uhc.memory.MatchState;
import alisolarflare.uhc.memory.UHCMatch; import alisolarflare.uhc.memory.UHCMatch;
@ -22,5 +24,7 @@ public class UHCModule extends Module {
registerCommand(plugin, new AddToUHC(match)); registerCommand(plugin, new AddToUHC(match));
registerCommand(plugin, new StartMatch(match)); registerCommand(plugin, new StartMatch(match));
registerCommand(plugin, new ConfigureMatch(match));
registerCommand(plugin, new ScheduleMatch(match));
} }
} }

View file

@ -2,10 +2,15 @@ package alisolarflare.uhc.commands;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import alisolarflare.uhc.memory.UHCMatch;
import buttondevteam.lib.chat.TBMCCommandBase; import buttondevteam.lib.chat.TBMCCommandBase;
public class ConfigureMatch extends TBMCCommandBase{ public class ConfigureMatch extends TBMCCommandBase{
public ConfigureMatch(UHCMatch match) {
// TODO Auto-generated constructor stub
}
@Override @Override
public String[] GetHelpText(String alias) { public String[] GetHelpText(String alias) {
// TODO Auto-generated method stub // TODO Auto-generated method stub

View file

@ -2,10 +2,15 @@ package alisolarflare.uhc.commands;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import alisolarflare.uhc.memory.UHCMatch;
import buttondevteam.lib.chat.TBMCCommandBase; import buttondevteam.lib.chat.TBMCCommandBase;
public class ScheduleMatch extends TBMCCommandBase{ public class ScheduleMatch extends TBMCCommandBase{
public ScheduleMatch(UHCMatch match) {
// TODO Auto-generated constructor stub
}
@Override @Override
public String[] GetHelpText(String alias) { public String[] GetHelpText(String alias) {
// TODO Auto-generated method stub // TODO Auto-generated method stub