TheAPI 9.9.4

[Spigot, BungeeCord, Velocity] Complex API library to make plugin development easier & faster!

  1. TheDevTec
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Source Code:
    https://github.com/TheDevTec/TheAPI
    Contributors:
    DevTec, StraikerinaCZ
    Languages Supported:
    All
    What is TheAPI?
    TheAPI is our completely unique and new project founded in 2019.
    As the name implies, it is a developer API designed for developers.
    TheAPI tries to rebuild everything it can, and not uselessly, into Async for the ability to make plugins with the best performance.
    But as it is already known, nothing is perfect or flawless, that's why we have been working on the project continuously for years, redesigning different methods or even whole classes to make the performance the best.


    What does TheAPI include?
    We have been working on our own Configuration (Data & Config classes) for a long time, which includes 4 different types of data retrieval & storage - YAML, PROPERTIES, JSON and BYTE
    Including the ability to have comments in the YAML & PROPERTIES configuration type​

    Converting Objects to String and back to the original Object (Json class)

    Asynchronous scheduler

    Huge component api similiar to bungeecord's one with convertors​

    Custom GUI with actions (GUI & AnvilGUI classes)​

    Possibility to create your own async events - We have our own Listener & EventHandler classes​

    Compatible softwares:

    • CraftBukkit
    • Spigot
    • PaperSpigot (and all Paper's forks)
    • BungeeCord
    • WaterFall (and all WaterFall's forks)
    • Velocity
    Compatible Bukkit versions
    • 1.7.10
    • 1.8.X
    • 1.9.X
    • 1.10.X
    • 1.11.X
    • 1.12.X
    • 1.13.X
    • 1.14.X
    • 1.15.X
    • 1.16.X (+ Mohist)
    • 1.17.X
    • 1.18.X

    And lots of other different API classes:
    • StringUtils
    • Animation
    • PercentageList
    • StreamUtils
    • SpigotUpdateChecker
    • Ref (Java reflections helper)
    • ComponentAPI
    • SortedAPI
    • RankingAPI
    • Scheduler (Tasker)
    • PlaceholderAPI (Piece of our work)
    • Config (Our own special configuration api)
    • MemoryAPI
    • DatabaseAPI
    • SocketsAPI (Client, SocketServer classes & ClientReceiveMessageEvent theapi event)

    Our own async events:
    • ServerListPingEvent (Possibility to adjust max online players & number of online players and much more) * Only Bukkit/Spigot side
    • ClientReceiveMessageEvent (SocketsAPI)


    What is our focus?
    We try to make it as easy as possible for plugin developers to work on plugins.
    No more reflections, no more NMS and no more searching for differences between MC versions in the code!


    Requirements:
    - Bukkit/Spigot, Velocity or BungeeCord/WaterFall server software (Or implement code (shared section) to your own software)
    - Server version 1.7.10 or newer (Or add your own NmsProvider for support older version/s)
    - Java 1.8 or newer

    Looking for source-code?
    Our project is located on github:
    https://github.com/TheDevTec/TheAPI

    How to use TheAPI as developer:
    To the plugin.yml put depend: [TheAPI]
    To the bungee.yml put depends: [TheAPI]
    To the velocity-plugin.json put:
    Code (Text):
      "dependencies":[
        {
          "id":"theapi"
        }
      ]


    How to setup project in IntelliJ with TheAPI:

    Special thanks to BESSGEORG for creating the logo

    [​IMG]
    Robotv2, niksonbinsk2, vqid and 2 others like this.

Recent Updates

  1. Warning for developers, read!
  2. Fixed Component colors
  3. Changes for developers

Recent Reviews

  1. blitzdose
    blitzdose
    1/5,
    Version: 8.2
    I'm sorry to do that but I can't give more than one star. It was a fantastic API a few years ago and it still seems to be really great but as a developer I can't use it anymore due to the fact, that there exists absolutly no documentation. You offered be before to help me out in the discord but thats no solution for that because it extremly slows down development. If you someday add documentation to your code I will be happy to use your pugin and correct this review but for now its really unusable.
    1. TheDevTec
      Author's Response
      If you used the API years ago, as you comment that it was fantastic before, there is almost no change in the code in the current time except for the package change.

      As for the "documentation", we just started working on it on our github as requested in the 5# issue on github

      - StraikerinaCZ
  2. Tyranuscrafter
    Tyranuscrafter
    5/5,
    Version: 8.0
    Excelent plugin!!!

    It truely do what it says: Create plugins easier than before!
  3. nastho
    nastho
    4/5,
    Version: 6.2
    [18:04:42 ERROR]: Error occurred while enabling TheAPI v5.9.7 (Is it up to date?)
    java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getLocalExpansionManager()Lme/clip/placeholderapi/expansion/manager/LocalExpansionManager;
    at me.devtec.theapi.placeholderapi.PlaceholderPreRegister.register(PlaceholderPreRegister.java:45) ~[?:?]
    at me.devtec.theapi.utils.theapiutils.LoaderClass.onEnable(LoaderClass.java:429) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [server.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
    1. TheDevTec
      Author's Response
      Please update TheAPI to the latest version, you are using the old version.
  4. ZenoX123
    ZenoX123
    4/5,
    Version: 5.9.1
    Pretty good, but Is there a wiki? I would like to know in-depth how to use many of the sub API's in this plugin, but otherwise great plugin. I don't know how to use it though and a wiki would help a lot
    1. TheDevTec
      Author's Response
      On our discord under the section "TheAPI" in the room "examples" you will find examples of use, if something is not clear to you, just write directly to us on our discord!
      https://discord.gg/8YtfC234dA
  5. China_Eternal_
    China_Eternal_
    5/5,
    Version: 3.1.5
    It's so easy to use this plugin to develop my own plugins.
    Can I share this plugin to a biggest Chinese BBS about Minecraft.
    (https://www.mcbbs.net/forum.php)
    The download link is at SpigotMC.
    I'll translate this page and list how to use this plugin.
    Thanks:)
    1. TheDevTec
      Author's Response
      Yes, you can
  6. Drexten
    Drexten
    5/5,
    Version: 1.9.7
    Its excellent, i love this, is the best solution

    I recommend it
    1. TheDevTec
      Author's Response
      Thank you, I'm working on it every day ! :)
  7. vqid
    vqid
    5/5,
    Version: 1.6
    This is probably one of the most useful things in Spigot. It's super helpful whilst making GUIs, Invsees, Vanish, etc.

    I have a suggestion though: Maybe make a tutorial on how to use the APIs? It would help so much.
  8. Meldiron
    Meldiron
    5/5,
    Version: 1.1
    Useless for me so far but great idea.. If we (developers) sum all APIs into one big chunk which we ensure is well-coded, it will help a LOT new developers. Fully support this project ♥