Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Links
Tags
Creators
Details
Licensed GPL-3.0-or-later
Published 3 months ago
🛠️ SWIFTCODE API: THE DEVELOPER'S TOOLKIT
SwiftCode API is a powerful library that simplifies complex Java code and brings Minecraft server development to the speed of "scripting." Operating on the SwiftCode Engine, this API eliminates the bulky structure of the standard Bukkit/Spigot API, offering you a modern and fluid development experience.
🌟 KEY FEATURES
- Effortless GUI Management: Create and manage inventory menus in a single line—tasks that normally take 20-30 lines of code.
- Asynchronous Operations: Run Async Tasks with a single lambda function without straining the server main thread.
- Integrated Webhook Support: No need for external libraries for Discord integration; send instant notifications with
Swift.webhook(). - Database Simplicity: Manage your Supabase or SQL connections without writing complex boilerplate code.
- Advanced Messaging: Handle colored messages, Actionbars, and Titles in seconds with simplified methods.
🚀 WHY SWIFTCODE API?
| Feature | Standard Java API | SwiftCode API |
|---|---|---|
| Learning Curve | Steep (Hard) | Very Low (Easy) |
| Development Speed | Slow | Lightning Fast (with Swift API) |
| Boilerplate Code | Excessive | Minimal / None |
| Error Management | Complex Stacktraces | Clear & Concise Errors |
📥 INSTALLATION
Download SwiftCodeEngine.jar and SwiftCodeAPI.jar.
Drop them into your server's /plugins folder.
Add import com.swiftcode.api.*; to your scripts to take full control.
SwiftCode API removes the burden of coding; it allows you to focus solely on your creativity.
📖 EXAMPLE: QUICK MENU CREATION
While creating a menu, adding items, and listening for click events takes dozens of lines in Standard Java, it is this simple with SwiftCode API:
// Create a GUI in 3 lines with Swift API!
Swift.gui(player, "§6Market", 3)
.addItem(13, Material.DIAMOND, "§bPurchase")
.onClick(event -> {
Swift.msg(player, "&aDiamond purchased successfully!");
})
.open();


