Updated StaffServer packages to reflect enjin shop.
This commit is contained in:
parent
62fbeeda20
commit
1ee16d284d
@ -11,6 +11,7 @@ import mineplex.core.monitor.LagMeter;
|
||||
import mineplex.core.npc.NpcManager;
|
||||
import mineplex.core.portal.Portal;
|
||||
import mineplex.core.preferences.PreferencesManager;
|
||||
import mineplex.core.punish.Punish;
|
||||
import mineplex.core.recharge.Recharge;
|
||||
import mineplex.core.stats.StatsManager;
|
||||
import mineplex.core.status.ServerStatusManager;
|
||||
@ -45,6 +46,7 @@ public class StaffServer extends JavaPlugin
|
||||
|
||||
DonationManager donationManager = new DonationManager(this, webServerAddress);
|
||||
|
||||
new Punish(this, webServerAddress, clientManager);
|
||||
new NpcManager(this, new Creature(this));
|
||||
ServerStatusManager serverStatusManager = new ServerStatusManager(this, new LagMeter(this, clientManager));
|
||||
PreferencesManager preferenceManager = new PreferencesManager(this, clientManager, donationManager);
|
||||
|
@ -26,11 +26,5 @@ public class HeroCommand extends CommandBase<SalesPackageManager>
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales booster " + args[0] + " 90"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales chest " + args[0] + " 40"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales key " + args[0] + " 10"));
|
||||
}
|
||||
}
|
||||
|
@ -22,15 +22,6 @@ public class LifetimeHeroCommand extends CommandBase<SalesPackageManager>
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales rank " + args[0] + " HERO true"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales coin " + args[0] + " 40000"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales booster " + args[0] + " 180"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales chest " + args[0] + " 40"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales key " + args[0] + " 10"));
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales coin " + args[0] + " 30000"));
|
||||
}
|
||||
}
|
||||
|
@ -22,15 +22,6 @@ public class LifetimeUltraCommand extends CommandBase<SalesPackageManager>
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales rank " + args[0] + " ULTRA true"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales coin " + args[0] + " 20000"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales booster " + args[0] + " 60"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales chest " + args[0] + " 20"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales key " + args[0] + " 5"));
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales coin " + args[0] + " 15000"));
|
||||
}
|
||||
}
|
||||
|
@ -26,11 +26,5 @@ public class UltraCommand extends CommandBase<SalesPackageManager>
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales booster " + args[0] + " 30"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales chest " + args[0] + " 20"));
|
||||
|
||||
resetCommandCharge(caller);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerCommandPreprocessEvent(caller, "/sales key " + args[0] + " 5"));
|
||||
}
|
||||
}
|
||||
|
@ -13,10 +13,7 @@ public class LifetimeHero extends SalesPackageBase
|
||||
|
||||
public void displayToAgent(Player agent, String playerName)
|
||||
{
|
||||
addButton(agent, "/sales coin " + playerName + " 40000", " 40,000 Coins");
|
||||
addButton(agent, "/sales booster " + playerName + " 180", " 180 Gem Boosters");
|
||||
addButton(agent, "/sales chest " + playerName + " 40", " 40 Treasure Chests");
|
||||
addButton(agent, "/sales key " + playerName + " 10", " 10 Treasure Keys");
|
||||
addButton(agent, "/sales coin " + playerName + " 30000", " 30,000 Coins");
|
||||
addButton(agent, "/sales rank " + playerName + " HERO true", " Lifetime Hero.");
|
||||
addButton(agent, "Apply All", "/sales lifetimehero " + playerName, " Apply all above.");
|
||||
agent.sendMessage(" ");
|
||||
|
@ -13,10 +13,7 @@ public class LifetimeUltra extends SalesPackageBase
|
||||
|
||||
public void displayToAgent(Player agent, String playerName)
|
||||
{
|
||||
addButton(agent, "/sales coin " + playerName + " 20000", " 20,000 Coins");
|
||||
addButton(agent, "/sales booster " + playerName + " 60", " 60 Gem Boosters");
|
||||
addButton(agent, "/sales chest " + playerName + " 20", " 20 Treasure Chests");
|
||||
addButton(agent, "/sales key " + playerName + " 5", " 5 Treasure Keys");
|
||||
addButton(agent, "/sales coin " + playerName + " 15000", " 15,000 Coins");
|
||||
addButton(agent, "/sales rank " + playerName + " ULTRA true", " Lifetime Ultra.");
|
||||
addButton(agent, "Apply All", "/sales lifetimeultra " + playerName, " Apply all above.");
|
||||
agent.sendMessage(" ");
|
||||
|
@ -15,8 +15,6 @@ public class MonthlyHero extends SalesPackageBase
|
||||
{
|
||||
addButton(agent, "/sales coin " + playerName + " 15000", " 15,000 Coins");
|
||||
addButton(agent, "/sales booster " + playerName + " 90", " 90 Gem Boosters");
|
||||
addButton(agent, "/sales chest " + playerName + " 40", " 40 Treasure Chests");
|
||||
addButton(agent, "/sales key " + playerName + " 10", " 10 Treasure Keys");
|
||||
addButton(agent, "/sales rank " + playerName + " HERO false", " Monthly Hero.");
|
||||
addButton(agent, "Apply All", "/sales hero " + playerName, " Apply all above.");
|
||||
agent.sendMessage(" ");
|
||||
|
@ -15,8 +15,6 @@ public class MonthlyUltra extends SalesPackageBase
|
||||
{
|
||||
addButton(agent, "/sales coin " + playerName + " 7500", " 7,500 Coins");
|
||||
addButton(agent, "/sales booster " + playerName + " 30", " 30 Gem Boosters");
|
||||
addButton(agent, "/sales chest " + playerName + " 20", " 20 Treasure Chests");
|
||||
addButton(agent, "/sales key " + playerName + " 5", " 5 Treasure Keys");
|
||||
addButton(agent, "/sales rank " + playerName + " ULTRA false", " Monthly Ultra.");
|
||||
addButton(agent, "Apply All", "/sales ultra " + playerName, " Apply all above.");
|
||||
agent.sendMessage(" ");
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user