mirror of
https://e.coding.net/circlecloud/GuiShopManager.git
synced 2024-11-16 01:08:52 +00:00
rebuild...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
0ef42a1143
commit
030f2649ee
@ -20,11 +20,11 @@ public class GuiShopManager extends BossShopAddon {
|
||||
FileConfiguration c = getConfig();
|
||||
|
||||
c.set("Version", getDescription().getVersion());
|
||||
c.set("Settings.AllowPlaceItems", Boolean.valueOf(false));
|
||||
c.set("Settings.AllowMoveItems", Boolean.valueOf(false));
|
||||
c.set("Settings.AllowDropItems", Boolean.valueOf(false));
|
||||
c.set("Settings.DropItemsOnDeath", Boolean.valueOf(false));
|
||||
c.set("Settings.GetItemsOnRespawn", Boolean.valueOf(true));
|
||||
c.set("Settings.AllowPlaceItems", false);
|
||||
c.set("Settings.AllowMoveItems", false);
|
||||
c.set("Settings.AllowDropItems", false);
|
||||
c.set("Settings.DropItemsOnDeath", false);
|
||||
c.set("Settings.GetItemsOnRespawn", false);
|
||||
|
||||
List<String> compass = new ArrayList<String>();
|
||||
compass.add("name:&aQuick Warp &7(Right Click) &6[x]");
|
||||
@ -38,13 +38,13 @@ public class GuiShopManager extends BossShopAddon {
|
||||
book.add("amount:1");
|
||||
|
||||
c.set("Items.BossShopMenu.Look", book);
|
||||
c.set("Items.BossShopMenu.GiveOnJoin", Boolean.valueOf(true));
|
||||
c.set("Items.BossShopMenu.InventoryLocation", Integer.valueOf(1));
|
||||
c.set("Items.BossShopMenu.GiveOnJoin", true);
|
||||
c.set("Items.BossShopMenu.InventoryLocation", 1);
|
||||
c.set("Items.BossShopMenu.OpenShop", "menu");
|
||||
|
||||
c.set("Items.Servers.Look", compass);
|
||||
c.set("Items.Servers.GiveOnJoin", Boolean.valueOf(true));
|
||||
c.set("Items.Servers.InventoryLocation", Integer.valueOf(9));
|
||||
c.set("Items.Servers.GiveOnJoin", true);
|
||||
c.set("Items.Servers.InventoryLocation", 9);
|
||||
c.set("Items.Servers.OpenShop", "bungeecordservers");
|
||||
|
||||
saveConfig();
|
||||
@ -53,8 +53,7 @@ public class GuiShopManager extends BossShopAddon {
|
||||
@Override
|
||||
public void bossShopReloaded(CommandSender sender) {
|
||||
reload();
|
||||
sender.sendMessage(ChatColor.YELLOW + "Reloaded BossShop Addon " + ChatColor.GOLD
|
||||
+ getAddonName());
|
||||
sender.sendMessage(ChatColor.YELLOW + "Reloaded BossShop Addon " + ChatColor.GOLD + getAddonName());
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -66,11 +65,9 @@ public class GuiShopManager extends BossShopAddon {
|
||||
if (getConfig().getString("Version") == null) {
|
||||
addDefaultConfig();
|
||||
}
|
||||
|
||||
this.items = new GSMItems(this);
|
||||
this.listener = new PlayerListener(this);
|
||||
getServer().getPluginManager().registerEvents(this.listener, this);
|
||||
|
||||
getCommand("gsm").setExecutor(new Commander(this));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user