mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-23 09:41:20 +01:00
Added /mi list lute
This commit is contained in:
parent
7949b99b91
commit
c27ee02ac6
@ -42,6 +42,7 @@ import net.Indyuce.mmoitems.gui.CraftingStationView;
|
||||
import net.Indyuce.mmoitems.gui.ItemBrowser;
|
||||
import net.Indyuce.mmoitems.gui.edition.ItemEdition;
|
||||
import net.Indyuce.mmoitems.manager.UpdaterManager.UpdaterData;
|
||||
import net.Indyuce.mmoitems.stat.Lute_Attack_Effect.LuteAttackEffect;
|
||||
import net.Indyuce.mmoitems.stat.Staff_Spirit.StaffSpirit;
|
||||
import net.Indyuce.mmoitems.stat.data.AbilityData;
|
||||
import net.Indyuce.mmoitems.stat.type.ItemStat;
|
||||
@ -518,6 +519,7 @@ public class MMOItemsCommand implements CommandExecutor {
|
||||
sender.sendMessage(ChatColor.DARK_GRAY + "" + ChatColor.STRIKETHROUGH + "-----------------[" + ChatColor.LIGHT_PURPLE + " MMOItems: lists " + ChatColor.DARK_GRAY + "" + ChatColor.STRIKETHROUGH + "]-----------------");
|
||||
sender.sendMessage(ChatColor.LIGHT_PURPLE + "/mi list type " + ChatColor.WHITE + "shows all item types (sword, axe...)");
|
||||
sender.sendMessage(ChatColor.LIGHT_PURPLE + "/mi list spirit " + ChatColor.WHITE + "shows all available staff spirits");
|
||||
sender.sendMessage(ChatColor.LIGHT_PURPLE + "/mi list lute " + ChatColor.WHITE + "shows all available lute attack effects");
|
||||
sender.sendMessage(ChatColor.LIGHT_PURPLE + "/mi list ability " + ChatColor.WHITE + "shows all available abilities");
|
||||
if(sender instanceof Player) {
|
||||
sender.sendMessage("");
|
||||
@ -556,6 +558,13 @@ public class MMOItemsCommand implements CommandExecutor {
|
||||
sender.sendMessage("* " + ChatColor.LIGHT_PURPLE + ss.getName() + lore);
|
||||
}
|
||||
}
|
||||
|
||||
// lute attack effect list
|
||||
if (args[1].equalsIgnoreCase("lute")) {
|
||||
sender.sendMessage(ChatColor.DARK_GRAY + "" + ChatColor.STRIKETHROUGH + "-----------------[" + ChatColor.LIGHT_PURPLE + " Lute Attack Effects " + ChatColor.DARK_GRAY + "" + ChatColor.STRIKETHROUGH + "]-----------------");
|
||||
for (LuteAttackEffect la : LuteAttackEffect.values())
|
||||
sender.sendMessage("* " + ChatColor.LIGHT_PURPLE + la.getName());
|
||||
}
|
||||
}
|
||||
// ==================================================================================================================================
|
||||
else if (args[0].equalsIgnoreCase("create") || args[0].equalsIgnoreCase("load")) {
|
||||
@ -989,3 +998,4 @@ public class MMOItemsCommand implements CommandExecutor {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user