Free plugin
sql:
host: "localhost"
port: 3306
database: "treasurehunt"
username: "root"
password: "password"TreasureHunt at a glance
From its README, plugin descriptor, build file and licence.
What TreasureHunt does
- 01Any command as the reward, with %player%
- 02Each treasure can be claimed once per player
- 03An admin menu that lists treasures and teleports you to them
- 04/treasure completed shows who found a treasure
- 05MiniMessage for every message
- 06MySQL through a HikariCP pool
- Players need treasurehunt.use to claim a treasure.
- The treasure list is read once at startup, so a treasure added on one server shows up on the others after their next restart.
- The README's config example says mysql: and table-prefix; the plugin reads sql: as above and has no prefix.
Commands and permissions
| Command | Permission | What it does |
|---|---|---|
| /treasure create <id> <command> | treasurehunt.admin | Make the block you click a treasure |
| /treasure delete <id> | treasurehunt.admin | Delete a treasure |
| /treasure completed <id> | treasurehunt.admin | List who found it |
| /treasure list | treasurehunt.admin | List all treasures |
| /treasure gui | treasurehunt.admin | Open the admin menu |
Other free plugins
All public, all with source.