• Es freut uns dass du in unser Minecraft Forum gefunden hast. Hier kannst du mit über 130.000 Minecraft Fans über Minecraft diskutieren, Fragen stellen und anderen helfen. In diesem Minecraft Forum kannst du auch nach Teammitgliedern, Administratoren, Moderatoren , Supporter oder Sponsoren suchen. Gerne kannst du im Offtopic Bereich unseres Minecraft Forums auch über nicht Minecraft spezifische Themen reden. Wir hoffen dir gefällt es in unserem Minecraft Forum!
  • Haftungsausschluss! Diese Ressource stammt nicht von uns, sondern von dem jeweiligen Autor. Leider können wir nicht alle Downloads prüfen, weswegen wir, minecraft-server.eu, uns von diesen klar distanzieren müssen. Bitte wende dich bei Fehlern, Störungen oder gar Betrug der durch diesen Download verursacht wurde direkt an den Autor. Gerne kannst du uns informieren, damit wir u. U. entsprechende Downloads sperren können.
[DE] LibraryIO » EINE API FÜR MC PLUGINS

Bukkit [DE] LibraryIO » EINE API FÜR MC PLUGINS 1.0

Source Code
https://gitlab.haumich.net/VarroxIO/libraryio
LibraryIO [API]
Eine 08/15 API lol

FEATURES

CoinsAPI

Java:
LibraryIO.getInstance().getConfigCategory().getCoinsAPI(@FILE@, @FILECONFIGURATION@);
CoinsAPI:
    public boolean isRegistered(Player p)

    public boolean isNameChanged(Player p)

    public void updateName(Player p)

    public long getCoins(Player p)

    public void setCoins(Player p, long amount)

    public void removeCoins(Player p, long amount)

    public void addCoins(Player p, long amount)

STATSAPI

Java:
LibraryIO.getInstance().getConfigCategory().getStatsAPI(@FILE@, @FILECONFIGURATION@);
StatsAPI:
    public boolean isRegistered(Player p)       
    public void registerPlayer(Player p)
    public boolean isNameChanged(Player p)
    public void updateName(Player p)
    public long getKills(Player p)
    public void setKills(Player p, long amount)
    public void removeKill(Player p)
    public void addKills(Player p)
    public long getDeaths(Player p)
    public void setDeath(Player p, long amount)   
    public void removeDeath(Player p)
    public void addDeath(Player p)

BOOKBUILDER

Java:
LibraryIO.getInstance().getItemCategory().newBookBuilder();
LibraryIO.getInstance().getItemCategory().newBookBuilder(@AMOUNT@);
BookBuilder:
    public BookBuilder setAuthor(String author)
    public BookBuilder addPage(String[] text)
    public BookBuilder overrideBookMeta(BookMeta m)
    public BookBuilder setAmount(int amount)
    public BookBuilder setDurability(short durability)
    public BookBuilder setItemData(MaterialData data)
    public BookBuilder setType(Material m)
    public BookBuilder addEnchantment(Enchantment enc, int lvl)
    public BookBuilder addEnchantments(Map<Enchantment, Integer> enchs)
    public BookBuilder addUnsafeEnchantment(Enchantment enc, int lvl)
    public BookBuilder addUnsafeEnchantments(Map<Enchantment, Integer> enchs)
    public BookBuilder removeEnchantment(Enchantment enchantment)
    public BookBuilder addEnchant(Enchantment enchantment, int i, boolean state)
    public BookBuilder addItemFlags(ItemFlag... itemFlags)
    public BookBuilder removeEnchant(Enchantment enchantment)
    public BookBuilder removeItemFlag(ItemFlag... itemFlags)
    public BookBuilder setDisplayname(String name)
    public BookBuilder setLores(String... lores)
    public ItemStack toItemStack()
    public BookMeta getBookMeta()

HEADBUILDER

Java:
LibraryIO.getInstance().getItemCategory().newHeadBuilder();
LibraryIO.getInstance().getItemCategory().newHeadBuilder(@AMOUNT@);
HeadBuilder:
    public HeadBuilder overrideSkullMeta(SkullMeta m)
    public HeadBuilder setOwner(String owner)
    public HeadBuilder setAmount(int amount)
    public HeadBuilder setDurability(short durability)
    public HeadBuilder setItemData(MaterialData data)
    public HeadBuilder setType(Material m)
    public HeadBuilder addEnchantment(Enchantment enc, int lvl)
    public HeadBuilder addEnchantments(Map<Enchantment, Integer> enchs)
    public HeadBuilder addUnsafeEnchantment(Enchantment enc, int lvl)
    public HeadBuilder addUnsafeEnchantments(Map<Enchantment, Integer> enchs)
    public HeadBuilder removeEnchantment(Enchantment enchantment)
    public HeadBuilder addEnchant(Enchantment enchantment, int i, boolean state)
    public HeadBuilder addItemFlags(ItemFlag... itemFlags)
    public HeadBuilder removeEnchant(Enchantment enchantment)
    public HeadBuilder removeItemFlag(ItemFlag... itemFlags)
    public HeadBuilder setDisplayname(String name)
    public HeadBuilder setLores(String... lores)
    public ItemStack toItemStack()
    public SkullMeta getItemMeta()

ITEMBUILDER

Java:
LibraryIO.getInstance().getItemCategory().newItemBuilder(@MATERIAL@, @SUBID@);
LibraryIO.getInstance().getItemCategory().newItemBuilder(@MATERIAL@ , @AMOUNT@);
LibraryIO.getInstance().getItemCategory().newItemBuilder(@MATERIAL@);
LibraryIO.getInstance().getItemCategory().newItemBuilder(@MATERIAL@, @SUBID@, @AMOUNT@);
ItemBuilder:
    public ItemBuilder overrideItemMeta(ItemMeta m)
    public ItemBuilder setAmount(int amount)
    public ItemBuilder setDurability(short durability)
    public ItemBuilder setItemData(MaterialData data)
    public ItemBuilder setType(Material m)
    public ItemBuilder addEnchantment(Enchantment enc, int lvl)
    public ItemBuilder addEnchantments(Map<Enchantment, Integer> enchs)
    public ItemBuilder addUnsafeEnchantment(Enchantment enc, int lvl)
    public ItemBuilder addUnsafeEnchantments(Map<Enchantment, Integer> enchs)
    public ItemBuilder removeEnchantment(Enchantment enchantment)
    public ItemBuilder addEnchant(Enchantment enchantment, int i, boolean state)
    public ItemBuilder addItemFlags(ItemFlag... itemFlags)
    public ItemBuilder removeEnchant(Enchantment enchantment)
    public ItemBuilder removeItemFlag(ItemFlag... itemFlags)
    public ItemBuilder setDisplayname(String name)
    public ItemBuilder setLores(String... lores)
    public ItemStack toItemStack()
    public ItemMeta getItemMeta()

MySQL

EXAMPLE:
DatabaseSystem db = new DatabaseSystem();
IODatabaseInfo f = new IODatabaseInfo("OBJECTID", "HOST", "PORT", "USERNAME", "PASSWORD", "DATABASE");
db.addDatabase(f);
db.connect(f);
IODatabaseInfo:
    public String getHost()
    public String getPort()
    public String getUsername()
    public String getPassword()
    public String getDatabase()
    public String getName()
    public void setHost(String host)
    public void setPort(String port)
    public void setUsername(String username)
    public void setPassword(String password)
    public void setDatabase(String database)
DatabaseSystem:
    public HashMap<String, IODatabaseInfo> getDatabases()
    public IODatabaseInfo getDatabaseInfo(String name)
    public void addDatabase(IODatabaseInfo info)
    public void removeDatabase(String name)
    public void removeDatabase(IODatabaseInfo info)
    public void clearMap()
    public void connectAll()
    public void disconnectAll()
    public void connect(String name)
    public void connect(IODatabaseInfo io)
    public void disconnect(String name)
    public void disconnect(IODatabaseInfo io)
    public boolean isConnected(String name)
    public ResultSet update(String name, String query)
    public PreparedStatement getStatement(String name, String sql)
    public ResultSet getResult(String name, String query)
    public void update(IODatabaseInfo io, String query)
    public PreparedStatement getStatement(IODatabaseInfo io, String sql)
    public ResultSet getResult(IODatabaseInfo io, String query)

SERVERPINGAPI
SIEHE SOURCECODE



PLAYERUTILS

Java:
LibraryIO.getInstance().getPlayerCategory().getSimpleRegionAPI().isIn(@PLAYERLOCATION@, @LOC1@, @LOC2@);
LibraryIO.getInstance().getPlayerCategory().getConsumeAPI().consumeItem(@PLAYER@, @AMOUNT@, @MATERIAL@);
LibraryIO.getInstance().getPlayerCategory().getActionBarAPI().sendActionBar(@PLAYER@, @MSG@);
LibraryIO.getInstance().getPlayerCategory().getTitleAPI().sendTitle(@PLAYER@, @IN@, @STAY@, @OUT@, @TITLE@, @SUBTITLE@);
LibraryIO.getInstance().getPlayerCategory().getTabAPI().sendTabTitle(@PLAYER@, @TAB@, @SUBTAB@);
LibraryIO.getInstance().getPlayerCategory().getMiddleTextAPI().sendCenteredMessage(@PLAYER@, @MSG@);

FIREWORKBUILDER

Java:
LibraryIO.getInstance().getWorldCategory().newFireworkBuilder(@PLUGIN@);
FireworkBuilder:
    public void setLocation(Location location)
    public Location getLocation()
    public Location getSpawnLocaton()
    public void setEffect(FireworkEffect fireworkEffect)
    public void addEffect(FireworkEffect fireworkEffect)
    public void setPower(int Power)
    public void setLifeTime(int LifeTime)
    public void clearEffect()
    public void teleport(Location location)
    public void detonate()
    public void spawn()
LOCATIONAPI

LocationAPI:
LibraryIO.getInstance().getWorldCategory().getLocationAPI();

HOLOGRAMBUILDER
keine lust mehr (Sourcecode hilft weiter)


PARTICLEAPI

WORLDAPI
Autor
VarroxIO
Downloads
11
Erste Veröffentlichung
Letzte Aktualisierung
Bewertung
0,00 Stern(e) 0 Bewertungen
Allgemein
Help Benutzer
    Bella Bella: Hallo
    Oben