Intro
There are major changes in the CustomItemsAPI in UCI 4. Use This for up-to-date information
Creating CustomItems in C# expands the capabilities of your custom content beyond what the UncomplicatedCustomItems (UCI) framework provides out of the box. By implementing your logic in C#, you gain full control over item behavior, interaction, and integration with other plugins or systems.
Features:
Full Control
Use C# to fully control how your custom item behaves on pickup, drop, use, damage, death, etc.
Not Limited to CustomFlags
You are no longer limited to predefined CustomFlags.
Implement your own logic by subscribing to Exiled Events and/or LabAPI Events.
Getting Started:
To create a C# CustomItem:
Install Visual Studio or Rider.
Reference UCI in your plugin project.
Create a class that implements
CustomItem.Add the
PluginCustomItemAttribute.
LabAPI/Exiled Events
You can hook into server events (like deaths, shooting, or player joins) using Exiled or LabAPI. This gives you fine-grained control over how your item reacts to gameplay events.
Jump in
Last updated
Was this helpful?