Add tracking to the support server for the Rainbow Bundle
This commit is contained in:
parent
7d8bcdf944
commit
c541ab87d6
@ -43,6 +43,7 @@ import mineplex.staffServer.salespackage.salespackages.OldChest;
|
||||
import mineplex.staffServer.salespackage.salespackages.OmegaChest;
|
||||
import mineplex.staffServer.salespackage.salespackages.Pet;
|
||||
import mineplex.staffServer.salespackage.salespackages.PowerPlayClub;
|
||||
import mineplex.staffServer.salespackage.salespackages.RainbowBundle;
|
||||
import mineplex.staffServer.salespackage.salespackages.RuneAmplifier;
|
||||
import mineplex.staffServer.salespackage.salespackages.SalesPackageBase;
|
||||
import mineplex.staffServer.salespackage.salespackages.SpringChest;
|
||||
@ -128,6 +129,7 @@ public class SalesPackageManager extends MiniPlugin
|
||||
addSalesPackage(new ThankfulChest(this));
|
||||
addSalesPackage(new HOGChest(this));
|
||||
addSalesPackage(new TrickOrTreatChest2017(this));
|
||||
addSalesPackage(new RainbowBundle(this));
|
||||
|
||||
for (PetType petType : PetType.values())
|
||||
{
|
||||
|
@ -0,0 +1,25 @@
|
||||
package mineplex.staffServer.salespackage.salespackages;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import mineplex.staffServer.salespackage.SalesPackageManager;
|
||||
|
||||
public class RainbowBundle extends SalesPackageBase
|
||||
{
|
||||
|
||||
public RainbowBundle(SalesPackageManager manager)
|
||||
{
|
||||
super(manager, "Rainbow Bundle");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void displayToAgent(Player agent, String playerName)
|
||||
{
|
||||
addButton(agent, "/sales item " + playerName + " 1 ArrowTrail Rainbow Arrows", "Give Rainbow Arrows.");
|
||||
addButton(agent, "/sales item " + playerName + " 1 DeathEffect Rainbow Death", "Give Rainbow Death.");
|
||||
addButton(agent, "/sales item " + playerName + " 1 DoubleJump Rainbow Leap", "Give Rainbow Leap.");
|
||||
addButton(agent, "/sales item " + playerName + " 1 Particle Rainbow Aura", "Give Rainbow Aura.");
|
||||
agent.sendMessage(" ");
|
||||
addBackButton(agent, playerName);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user