Welcome to Stacked! This is a powerful Kotlin library created for Minecraft developers using Paper and Spigot. It simplifies how you manage items, making your coding experience smoother and more efficient.
Before you start, ensure your environment meets the following requirements:
- Java 8 or newer
- A Minecraft server running Paper or Spigot
- Basic understanding of plugins installation
Stacked offers various features to enhance your development process:
- Unified Abstraction Layer: Easily manage items across various plugins.
- Serialization: Smoothly convert items to and from data formats.
- Customization: Tailor item behavior to fit your needs.
- Compatibility: Works with popular custom item plugins like ItemsAdder, Oraxen, and more.
To download Stacked, visit the Releases page.
On the Releases page, you will see a list of versions. Find the latest version. It will usually be at the top of the list.
Click on the link to download the JAR file. This file is necessary to run the library on your server.
- Open your Minecraft server folder.
- Navigate to the
pluginsdirectory. - Place the downloaded JAR file into the
pluginsfolder. - Restart your server to load the plugin.
-
Access the API: You can start using Stacked by importing it into your Kotlin files. Use the following import statement:
import com.alfanane.stacked.*
-
Create an Item: Use Stackedโs built-in functions to create and manage items. For example:
val myItem = ItemStack(Material.DIAMOND)
-
Serialize Your Item: Converting your item to a data format is simple. Use:
val serializedItem = myItem.serialize()
-
Interact with Other Plugins: Stacked allows you to interact with plugins like ItemsAdder and Oraxen easily. You can manage items using the same code structure, reducing complexity.
For more detailed information on using Stacked, visit our Wiki. The documentation includes in-depth tutorials, examples, and API references that will support your development journey.
If you encounter any issues or have questions, feel free to open an issue on our GitHub page. We are here to help you resolve problems and improve your experience.
Stay updated on new releases and features by following us on GitHub. Your feedback is valuable and helps us enhance Stacked for all users.
Explore related topics to help you in your development process:
Thank you for choosing Stacked! Enjoy developing with this user-friendly library.