What is TheAPI?
- Native Minecraft Version:
- Tested Minecraft Versions:
- Source Code:
- DevTec, StraikerinaCZ
- Languages Supported:
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)
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 Bukkit versions
- PaperSpigot (and all Paper's forks)
- WaterFall (and all WaterFall's forks)
- 1.16.X (+ Mohist)
And lots of other different API classes:
- Ref (Java reflections helper)
- Scheduler (Tasker)
- PlaceholderAPI (Piece of our work)
- Config (Our own special configuration api)
- 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!
- 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:
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:
How to setup project in IntelliJ with TheAPI:
Special thanks to BESSGEORG for creating the logo
[Spigot, BungeeCord, Velocity] Complex API library to make plugin development easier & faster!
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.
[18:04:42 ERROR]: Error occurred while enabling TheAPI v5.9.7 (Is it up to date?)
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]
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.
The download link is at SpigotMC.
I'll translate this page and list how to use this plugin.