
Echoes Of Gold
Install the plugin, setup some treasures/hints and let the hunt begin!
Список изменений
This update brings some new features and bug fixes to the plugin! Here are the most important ones:
💰 Economy Update
Probably the headline feature of this update. From now on you can set coins for each treasure very easily in the Treasure Manager!
Now, there are 2 types of economy from which you can choose:
1️⃣ Vault Economy
- This will involve using the Vault plugin and another Economy Plugin at your choice
- Players will right click on the treasure and they will get the amount of coins you set.
- The coins will go into the player's account managed by the economy plugin.
- With the coins they get, players may buy stuff from the shop you configured.
2️⃣ Internal Economy
- This will involve setting up a database file.
- Both SQLite and MySQL are supported. You may configure them in the config.yml file.
- By default, the plugin uses a SQLite Database
- This type of economy also involves an Internal Shop System!
🛒 Shop System
‼️Note that this will only work if you use the internal economy!
This feature is easily configurable through the config.yml file, as well as through in-game commands!
Main Features:
- Fully Configurable GUI
- A helpful player-head item which displays the player's balance
- Clean pagination
- A configurable Shop Item which players can interact with to access the shop
📖 Hints Overhaul
Before this, the hints were working kind of messy. The players would have the hints locked, then they would find a treasure and unlock one of them. It was pretty random and it didn't really make much sense.
From now on, every hint will be unlockable from the start, so that players can go and search for any treasure they want! When they find one, the hint gets locked.
I also changed a little the Hints GUI and made pagination for it (in case you have a lot of treasures/hints 😊)
‼️By default, the hints are toggled OFF! To toggle them on, you need to change the value of toggle-hints to true. This can be done in the config.yml file.
💎 Hints Item
Instead of running the /hints command, players can now interact with a toggleable and fully configurable Hints Item to open up the Hints GUI! The configuration of the item can be found in the config.yml file, under the hints-gui section, where you can customize different things, such as the hotbar slot, display name, lore and much more!
📦 PlaceholderAPI Integration
From now on, you will be able to parse any placeholder from the PAPI library into every text that displays on the player's screen. (I might have missed some, so please open up an issue if you encounter one). Of course, for this you will need PlaceholderAPI Plugin installed on your server.
Moreover, I also created a custom placeholder that you can use to display the player's balance anywhere else (e.g. Tab Lists, other Scoreboards etc). The placeholder is %eog_balance%!
‼️For the placeholder to work, you will need the Internal Economy toggled on. (Since other economy plugins may already have their own player balance placeholder)
🔐 More (MANY more) Permissions
Before, the plugin would use only 2 basic permissions:
eog.use-> basically a default permission for playerseog.admin-> which gave permission to EVERY configurable thing of the plugin
Well, due to the lack of security, I created MANY more permissions, each with their own scope. Here is a table with all of them, along with their uses:
| Permission | Description |
|---|---|
eog.commands | Gives access to commands |
eog.commands.enable | Gives access to enable the event |
eog.commands.disable | Gives access to disable the event |
eog.commands.reload | Gives access to the reload command |
eog.commands.help | Gives access to the help command |
eog.commands.treasures | Gives access to the treasure manager |
eog.commands.event | Gives access to the commands related to the event |
eog.commands.event.setstartposition | Gives access to modify the start position |
eog.commands.event.setstarttitle | Gives access to modify the start title |
eog.commands.event.setstartsubtitle | Gives access to modify the start subtitle |
eog.commands.event.settreasurenr | Gives access to set the number of treasures |
eog.commands.shop | Gives access to the shop commands |
eog.commands.shop.additem | Gives access to add items in the shop |
eog.commands.shop.removeitem | Gives access to remove items from the shop |
eog.treasures.create | Gives access to create treasures |
eog.treasures.delete | Gives access to delete treasures |
eog.treasures.setlocation | Gives access to set the location of a treasure |
eog.treasures.setworld | Gives access to set the world of a treasure |
eog.treasures.setfacing | Gives access to set the facing of a treasure |
eog.treasures.setcoins | Gives access to set the coins of a treasure |
eog.treasures.sethint | Gives access to set the hint of a treasure |
eog.hints.use | Gives access to the Hints GUI |
eog.shop.use | Gives access to the Shop GUI |
🛠️ Bug Fixes
- Canceled the damage done by the firework effect to the player.
I think that's all, sorry if I missed something. Hope you like this update, it was fun to implement it. As always, if you encounter ANY bugs, please open up issue here!
