-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
This page walks you through setting up ClickerEconomy from scratch. The plugin works out of the box with minimal setup — most servers will be up and running in under a minute.
| Requirement | Details |
|---|---|
| Server software | Spigot, Paper, or any Spigot fork. CraftBukkit is not supported. |
| Minecraft version | 1.16 or newer |
| Java version | Java 17 or newer |
| Vault | Required — provides the economy API bridge |
| Economy provider | Required — any Vault-compatible economy plugin (see below) |
If you don't already have Vault installed:
- Download Vault from SpigotMC.
- Drop the
Vault.jarinto your server'splugins/folder. Vault is just an API layer — it doesn't handle money on its own. You need an economy provider alongside it.
You need at least one plugin that provides an economy implementation to Vault. If you already run one of these, skip this step.
| Plugin | Notes |
|---|---|
| EssentialsX | Most popular choice. Economy is included by default. |
| CMI | All-in-one management plugin with built-in economy. |
| TheNewEconomy | Dedicated multi-currency economy plugin. |
Any other plugin that registers an economy with Vault will also work.
- Download
ClickerEconomy.jar. - Drop it into your server's
plugins/folder. - Start or restart the server.
On first boot the plugin will generate three files in
plugins/ClickerEconomy/:
| File | Purpose |
|---|---|
config.yml |
All behaviour settings (rewards, cooldowns, storage, sounds, GUI layout) |
lang.yml |
All player-facing text (messages, item names, lore, GUI title) |
data.yml |
Click counts and multiplier state (when using YAML storage) |
That's it. Players can now run /clicker to open the GUI and start clicking.
- Join the server.
- Run
/clicker— the clicker GUI should open. - Click the clicker item — you should receive currency and hear the reward sound.
- Run
/clicker stats— you should see your click count, balance, and multiplier. If the GUI doesn't open or you see an "Economy is not available" message, double-check that both Vault and your economy provider are installed and loaded. Run/pluginsto confirm all three plugins show green.
PlaceholderAPI lets you use %clicker_*% placeholders in other plugins like scoreboards, tab lists, and holograms.
- Download PlaceholderAPI from SpigotMC.
- Drop it into
plugins/and restart the server. - ClickerEconomy detects it automatically — no extra configuration needed. You'll see this message in console when it's working:
[ClickerEconomy] PlaceholderAPI found — placeholders registered.
See the Placeholders wiki page for the full list of available tokens.
By default all data is stored in data.yml. For larger servers, you can switch to a SQL database for better performance.
No external server needed — just change one line:
storage:
backend: h2Restart or run /clicker reload. The plugin creates an H2 database file in the plugin folder automatically.
storage:
backend: mysql
sql:
host: localhost
port: 3306
database: minecraft
username: root
password: "your_password"Make sure the database exists before starting the plugin. The plugin will create its tables (ce_clicks, ce_multiplier) automatically.
Same as MySQL, but change backend to mariadb or postgresql and adjust the port if needed. These require their respective JDBC drivers on the classpath. See the Dependency wiki page for details.
See the Configuration wiki page for the full list of storage options including connection pool tuning.
After a successful setup, your plugin folder should look like this:
plugins/
└── ClickerEconomy/
├── config.yml — Behaviour settings
├── lang.yml — All player-facing text
└── data.yml — Click data and multiplier state (YAML backend only)
When using H2 storage, you'll also see h2data.mv.db in the same folder.
To update ClickerEconomy:
- Replace the old
.jarwith the new one inplugins/. - Restart the server (or run
/clicker reloadfor config-only changes). The plugin handles config migration automatically. Any new keys are added to your existingconfig.ymlandlang.yml, and a backup of the old files is saved asconfig_v<old>.bakandlang_v<old>.bakbefore any changes are made. You never need to delete your config files or merge them manually.
| Problem | Solution |
|---|---|
| "Economy is not available" when opening GUI | Vault or your economy provider isn't installed or didn't load. Check /plugins. |
| Plugin doesn't generate config files | Make sure you're running Spigot/Paper, not CraftBukkit. |
| Sounds not playing or invalid sound errors in console | Sound enum names differ between Minecraft versions. Check the Bukkit Sound javadocs for your version. |
| Custom skull texture not loading | Verify the base64 string is correct and that material is set to PLAYER_HEAD. Check console for warnings. |
| Database connection failed | Verify your host, port, credentials, and that the database exists. Check that the JDBC driver is available for MariaDB/PostgreSQL. |
| Config looks wrong after updating | The plugin backs up your old config before migrating. Check for config_v<old>.bak in the plugin folder if you need to compare. |