-
Notifications
You must be signed in to change notification settings - Fork 14
Quickstart
Lachlan edited this page Jun 29, 2023
·
7 revisions
This page is complete and valid as of Treasury v2.0.0.
So, you're a developer who's looking to integrate your plugin with Treasury? Fantastic - here's a quick-start guide to get you going!
First of all, you'll need to import Treasury's API module into your project. See instructions here if you're using Maven or Gradle. Note that Treasury's API shouldn't be shaded into your plugin, it should assume that it has been provided already (<scope>provided</scope>
). If your server software (e.g. Bukkit/Spigot/Paper) requires you to declare dependencies and soft-dependencies (e.g. in plugin.yml
), make sure to declare those.
Once that's all done, you can learn how to implement what you're after below.
Quickstart: Economy Consumer |
---|
My plugin integrates with the existing virtual economy of a server (e.g., ChestShop, JobsReborn, DailyReward, etc.) |
Click to view guide |
Quickstart: Economy Provider |
---|
My plugin forms the core of a server's virtual economy (e.g., Polyconomy, TheNewEconomy, iConomy, etc.) |
Click to view guide |
Quickstart: Treasury Events |
---|
I want access to a powerful platform-independent events system |
Apologies, this page is currently unavailable. |
Quickstart: Treasury Services |
---|
I want access to a powerful platform-independent service registry system |
Apologies, this page is currently unavailable. |