gpower fix
This commit is contained in:
parent
2baeb7c065
commit
cb02693c0f
9 changed files with 37 additions and 32 deletions
|
@ -3,17 +3,13 @@ name: AliPresents
|
|||
version: 2.0.1
|
||||
|
||||
commands:
|
||||
alishulker:
|
||||
description: Spawns a shulker at player location Alishulker health withereffect invisibility true experiencedrops
|
||||
pressalilink:
|
||||
description: Presses an Ali Link pressalilink frequency
|
||||
setalilink:
|
||||
description: Creates an Ali Link setalilink frequency
|
||||
setflairdoorcolour:
|
||||
description: Sets the flair door colour mode, when lighting portals
|
||||
flairme:
|
||||
description: Activates the Flair Me Command. Ask Ali, she was fucking tired when writing this description
|
||||
gpowercommand:
|
||||
gpower:
|
||||
description: Testing command for ghostie powers
|
||||
powerup:
|
||||
description: Official g-power command that activates the ghostie powerups
|
||||
|
|
|
@ -9,7 +9,6 @@ import org.bukkit.plugin.java.JavaPlugin;
|
|||
import alisolarflare.components.flairdoor.FlairDoorModule;
|
||||
import alisolarflare.components.gpowers.GPowerModule;
|
||||
import alisolarflare.components.links.AliLinkModule;
|
||||
import alisolarflare.components.shulker.AliShulkerModule;
|
||||
import alisolarflare.events.uhc.UHCModule;
|
||||
import alisolarflare.magic.MagicModule;
|
||||
import alisolarflare.minigames.freeforall.FreeForAllModule;
|
||||
|
@ -18,28 +17,21 @@ import alisolarflare.minigames.lobby.LobbyModule;
|
|||
public class AliPresents extends JavaPlugin{
|
||||
public void onEnable(){
|
||||
PluginDescriptionFile pdfFile = getDescription();
|
||||
|
||||
|
||||
Logger logger = getLogger();
|
||||
|
||||
|
||||
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
||||
|
||||
registerModules();
|
||||
new FlairDoorModule().register(this);
|
||||
new GPowerModule().register(this);
|
||||
new AliLinkModule().register(this);
|
||||
new UHCModule().register(this);
|
||||
new MagicModule().register(this);
|
||||
new FreeForAllModule().register(this);
|
||||
new LobbyModule().register(this);
|
||||
|
||||
logger.info(pdfFile.getName() + " has fully registered (V." + pdfFile.getVersion()+ ").");
|
||||
|
||||
|
||||
}
|
||||
public void registerModules(){
|
||||
new FlairDoorModule().register(this);
|
||||
new GPowerModule().register(this);
|
||||
new AliLinkModule().register(this);
|
||||
new AliShulkerModule().register(this);
|
||||
|
||||
new UHCModule().register(this);
|
||||
|
||||
new MagicModule().register(this);
|
||||
|
||||
new FreeForAllModule().register(this);
|
||||
new LobbyModule().register(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,11 @@ import org.bukkit.command.CommandSender;
|
|||
|
||||
import buttondevteam.lib.chat.TBMCCommandBase;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @author Alisolarflare
|
||||
*
|
||||
*/
|
||||
public class SetFlairDoorColour extends TBMCCommandBase {
|
||||
public static String FlairDoorColorMode = "null";
|
||||
public static final List<String> COLOURMODES = Arrays.asList("red", "orange", "yellow", "green", "blue", "purple",
|
||||
|
|
|
@ -3,14 +3,14 @@ package alisolarflare.components.gpowers;
|
|||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import alisolarflare.Module;
|
||||
import alisolarflare.components.gpowers.commands.gPowerCommand;
|
||||
import alisolarflare.components.gpowers.commands.GPower;
|
||||
import alisolarflare.components.gpowers.listeners.gPowerListener;
|
||||
|
||||
public class GPowerModule extends Module {
|
||||
|
||||
@Override
|
||||
public void register(JavaPlugin plugin) {
|
||||
registerCommand(plugin, new gPowerCommand());
|
||||
registerCommand(plugin, new GPower());
|
||||
|
||||
registerListener(plugin, new gPowerListener(plugin));
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.bukkit.entity.Player;
|
|||
import alisolarflare.components.gpowers.gPowerMemory;
|
||||
import buttondevteam.lib.chat.TBMCCommandBase;
|
||||
|
||||
public class gPowerCommand extends TBMCCommandBase {
|
||||
public class GPower extends TBMCCommandBase {
|
||||
|
||||
@Override
|
||||
public boolean OnCommand(CommandSender sender, String label, String[] args) {
|
|
@ -7,6 +7,11 @@ import java.util.List;
|
|||
|
||||
import alisolarflare.components.links.entities.Link;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @author Alisolarflare
|
||||
*
|
||||
*/
|
||||
public class Deserializer{
|
||||
|
||||
public static void main (String args[]) {
|
||||
|
@ -16,6 +21,7 @@ public class Deserializer{
|
|||
//System.out.println(aliLink);
|
||||
}
|
||||
|
||||
/**@deprecated*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Link> loadLinkList(){
|
||||
List<Link> aliLinkList;
|
||||
|
|
|
@ -7,6 +7,11 @@ import java.util.List;
|
|||
|
||||
import alisolarflare.components.links.entities.Link;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @author Alisolarflare
|
||||
*
|
||||
*/
|
||||
public class Serializer {
|
||||
|
||||
public static void main (String args[]) {
|
||||
|
@ -14,7 +19,7 @@ public class Serializer {
|
|||
//Serializer serializer = new Serializer();
|
||||
//serializer.saveLink(plugin, frequency, location)
|
||||
}
|
||||
|
||||
/**@deprecated*/
|
||||
public void saveLinkList(List<Link> aliLinkList){
|
||||
//saves link
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
package alisolarflare.components.shulker;
|
||||
package graveyard.shulker;
|
||||
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import alisolarflare.Module;
|
||||
import alisolarflare.components.shulker.commands.AliShulker;
|
||||
import graveyard.shulker.commands.AliShulker;
|
||||
|
||||
/**@deprecated*/
|
||||
public class AliShulkerModule extends Module {
|
||||
|
||||
@Override
|
|
@ -1,4 +1,4 @@
|
|||
package alisolarflare.components.shulker.commands;
|
||||
package graveyard.shulker.commands;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
@ -14,7 +14,7 @@ import buttondevteam.lib.chat.TBMCCommandBase;
|
|||
/**
|
||||
* @author Alisolarflare This class is responsible for the command /aliShulker, which in-game spawns a shulker that: Has a health of 10 Has a wither and invisibility effect present Has noAI And is
|
||||
* Glowing
|
||||
*/
|
||||
*@deprecated*/
|
||||
public class AliShulker extends TBMCCommandBase {
|
||||
|
||||
@Override
|
Loading…
Reference in a new issue