Tools

Aktualisiert: 14.11.2017

// Itembuilder
Tools.getItem(minigame, cfg, path);
Tools.getItemwName(minigame, cfg, path, displayname);
Tools.Item(Display, i, lores, Anzahl, Shorts);
Tools.Item(ID, SubID, amount, displayname, lore, enchantments);
Tools.removeItem(p, item, amount);
Tools.coloredArmor(Display, i, color);

// Player
Tools.getKD(kills, deaths, splitafter);
Tools.getPing(player);

// Locations
Tools.getBackgroundSignLocation(minigame, signloc);
Tools.getLocation(cfg, LocationName);
Tools.getLocation_MG(cfg, path);
Tools.deleteLocation(cfg, file, path);
Tools.setLocation(cfg, LocationName, location);
Tools.setLocation_MG(cfg, file, path, loc);

// Anderes
Tools.Boundpush(loc, p);
Tools.clearPlayer(p);
Tools.freezeEntity(ent);

// Dekoration
Tools.sendActionBarMessage(player, message);
Tools.sendTitle(player, title, subtitle, fadeIn, stay, fadeOut);
Tools.setTabList(player, header, footer);