Finally finished first wave of bugfixing #35
16 changed files with 34 additions and 12 deletions
|
@ -18,4 +18,11 @@ public class Press extends PlayerCommand {
|
||||||
return false;
|
return false;
|
||||||
return AliLinkAPI.sendPressEvent(player, args, AliLinkComponent.getPlugin());
|
return AliLinkAPI.sendPressEvent(player, args, AliLinkComponent.getPlugin());
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
|
public String[] GetHelpText(String alias){
|
||||||
|
return new String[] {
|
||||||
|
"Usage: type /"+this.GetCommandPath()+" <frequency> activate a wireless redstone block listening",
|
||||||
|
"to your frequency of choice"
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,4 +17,11 @@ public class Set extends ModCommand {
|
||||||
return false;
|
return false;
|
||||||
return AliLinkAPI.createAliLink(player, args);
|
return AliLinkAPI.createAliLink(player, args);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
|
public String[] GetHelpText(String alias){
|
||||||
|
return new String[] {
|
||||||
|
"Usage: type /"+this.GetCommandPath()+" <frequency> set a wireless redstone block that listens",
|
||||||
|
"for signals from the players pressing the frequency of your choice"
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@ public class CreativeBoundariesComponent extends Component{
|
||||||
registerCommand(plugin, new Cbgm1());
|
registerCommand(plugin, new Cbgm1());
|
||||||
registerCommand(plugin, new Cbgm0());
|
registerCommand(plugin, new Cbgm0());
|
||||||
registerCommand(plugin, new SetForceBoundaries());
|
registerCommand(plugin, new SetForceBoundaries());
|
||||||
|
|
||||||
registerListener(plugin, new PlotChangeListener());
|
registerListener(plugin, new PlotChangeListener());
|
||||||
//registerListener(plugin, new ItemRestrictionListener(this));
|
//registerListener(plugin, new ItemRestrictionListener(this));
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,6 @@ public class Cbgm0 extends PlayerCommand{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{"Creative Boundaries Usage: /cbgm0"};
|
return new String[]{"Creative Boundaries Usage: /"+this.GetCommandPath()+""};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class Cbgm1 extends PlayerCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[] {
|
return new String[] {
|
||||||
"Usage: When in a town that you either own or are a resident of, type /cbgm1 to gain creative"
|
"Usage: When in a town that you either own or are a resident of, type /"+this.GetCommandPath()+" to gain creative"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,6 @@ public class SetForceBoundaries extends ModCommand{
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{"Usage: /SetForceBoundaries <True/False/0/1>"};
|
return new String[]{"Usage: /"+this.GetCommandPath()+" <True/False/0/1>"};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,4 +14,10 @@ public class GetLetterDye extends PlayerCommand{
|
||||||
player.getInventory().addItem(LetterDye.getLetterDye());
|
player.getInventory().addItem(LetterDye.getLetterDye());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
|
public String[] GetHelpText(String alias){
|
||||||
|
return new String[]{
|
||||||
|
"Usage: Type /"+this.GetCommandPath()+" to get letter dyes that can change your username!"
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class FlairMe extends PlayerCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: Type /flairme and enter a portal with coloured",
|
"Usage: Type /"+this.GetCommandPath()+" and enter a portal with coloured",
|
||||||
"wool underneath to change your flair"
|
"wool underneath to change your flair"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class SetProximityLocation extends ModCommand{
|
||||||
}
|
}
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[] {
|
return new String[] {
|
||||||
"Usage: /SetProximityLocation <start/end/0/1>",
|
"Usage: /"+this.GetCommandPath()+" <start/end/0/1>",
|
||||||
"Use this command to set a proximity space: all players",
|
"Use this command to set a proximity space: all players",
|
||||||
"within this space will become flair-able, and portals will",
|
"within this space will become flair-able, and portals will",
|
||||||
"change their colour state."
|
"change their colour state."
|
||||||
|
|
|
@ -44,8 +44,9 @@ public class Test extends ModCommand{
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: /gpowertest [colour=red,orange,yellow,green,blue,purple,grey] [active=true/false]"
|
"Usage: /"+this.GetCommandPath()+" [colour=red,orange,yellow,green,blue,purple,grey] [active=true/false]"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class PowerDown extends PlayerCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: Type /PowerDown to disable your g-power"
|
"Usage: Type /"+this.GetCommandPath()+" to disable your g-power"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class PowerUp extends PlayerCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: Type /PowerUp to activate your registered G-Power"
|
"Usage: Type /"+this.GetCommandPath()+" to activate your registered G-Power"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class getInsurance extends ModCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: /getInsurance [amount] [type:nugget/bar/block/compound]",
|
"Usage: /"+this.GetCommandPath()+" [amount] [type:nugget/bar/block/compound]",
|
||||||
"Use this command to get gold-standard inventory insurance, that saves ",
|
"Use this command to get gold-standard inventory insurance, that saves ",
|
||||||
"items in an inventory upon death. One nugget saves one ItemStack, a bar",
|
"items in an inventory upon death. One nugget saves one ItemStack, a bar",
|
||||||
"saves nine, a block saves 54. Compound converts amount (in nuggets) to a",
|
"saves nine, a block saves 54. Compound converts amount (in nuggets) to a",
|
||||||
|
|
|
@ -25,7 +25,7 @@ public class getInsuranceBlock extends ModCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: /insurance getblock [amount]",
|
"Usage: /"+this.GetCommandPath()+" [amount]",
|
||||||
"This command returns an insurance block, which on death,",
|
"This command returns an insurance block, which on death,",
|
||||||
"splits into 9 insurance ingot which each saves 1 row of",
|
"splits into 9 insurance ingot which each saves 1 row of",
|
||||||
"inventory per ingot"
|
"inventory per ingot"
|
||||||
|
|
|
@ -25,7 +25,7 @@ public class getInsuranceIngot extends ModCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: /insurance getingot [amount]",
|
"Usage: /"+this.GetCommandPath()+" [amount]",
|
||||||
"This command returns an insurance ingot, which on death,",
|
"This command returns an insurance ingot, which on death,",
|
||||||
"saves one row of inventory"
|
"saves one row of inventory"
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class getInsuranceNugget extends ModCommand {
|
||||||
@Override
|
@Override
|
||||||
public String[] GetHelpText(String alias){
|
public String[] GetHelpText(String alias){
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Usage: /insurance getnugget [amount]",
|
"Usage: /"+this.GetCommandPath()+" [amount]",
|
||||||
"This command returns an insurance nugget, which on death,",
|
"This command returns an insurance nugget, which on death,",
|
||||||
"saves one itemslot in the inventory"
|
"saves one itemslot in the inventory"
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue