CustomItems LabAPI is a flexible and powerful plugin framework for creating and managing custom items in . It provides a structured API for defining, registering, and handling custom items with ease. This repo includes example implementations and core utilities to enhance plugin development with item behaviors, event hooks, and command interfaces.
- 🛠️ Define custom items with unique behaviors
- 📦 Register and manage items through the API
- 💣 Includes example items like an EMP Grenade
- ⚡ Hook into custom item-related events
- 💬 Interact via a built-in command system
- 📝 Logging utilities for debugging and monitoring
- 🧪 Future support for item spawning in the pipeline!
-
Download the latest release from the Releases Page.
-
Or clone the repository to build from source:
git clone https://github.com/Bill3621/CustomItems.git
-
Build from source:
- Open
CustomItems-LabAPI.slnin Visual Studio. - Restore any missing NuGet packages.
- Build the solution.
- Place the built DLL into your server's plugins folder.
- Open
- Create a new item by inheriting from
API/CustomItem.cs. - Implement the required behavior logic.
- Register your item via
API/CustomItems.cs. - Use in-game or console commands to interact with your items.
💡 This modular setup allows easy integration and expansion!
Want a concrete implementation?
Check out API/Example to see how to build a functioning custom item with event hooks and effects!
We love community contributions! ❤️ To contribute:
- Fork this repo
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Created and maintained by Bill3621. Feel free to open an issue or reach out via GitHub!
This project is licensed under the .