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 from:
1) Vault Economy (External)
- 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! Here are some of the 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 Intergration
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 players
- eog.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. There is a list with
all of them on the
main page of the plugin, so check it out!
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!
If you like the plugin, please don't forget to leave a review! This helps both me as a creator, to get feedback and improve, and other users, in order to discover this plugin.