Rust plugin development

Carbon plugins are written in C#, and the server compiles them for you. If you can edit a text file, you can write one. This section teaches it properly — modern Carbon, real code, no decade-old Oxide forum threads.

The curriculum

Start with the first plugin. The rest of the series is being written — bookmark and check back.

Available

How to make your first Rust plugin in C#

The skeleton, a hook, a chat command, a permission, and saved config — a complete working plugin.

Read it →
Coming soon

The Carbon hooks reference

What the common hooks fire on and what parameters you get — OnEntityDeath, OnItemCraft, OnPlayerChat and the rest.

Coming soon

Working with data files

Persisting player data beyond config — the data folder, serialization, and not corrupting your save.

Coming soon

Timers, coroutines & performance

Doing work over time without tanking your server's frame budget.

Coming soon

Publishing a plugin

Versioning, changelogs, supporting it through monthly Facepunch updates, and where to release.

Why this section exists

Most "how to make a Rust plugin" material is either ancient Oxide forum threads or a single terse docs page. This section teaches it the modern way — Carbon and C#, real working code, kept current with the monthly updates. Sample plugins from the series are open source; the directory itself stays framework-neutral.

More about RGZ →