3.1.1 Bug fix Update
Fixes
- Updated missed config versions
- Fixed bug in plugin downloader
- Fixed bug with treasure on walls causing issues
- Fixed very rare bug in the inventory GUI menus
- Fixed bug with reset command
- Fix bug in player_name_[rank] placeholder
Improvements/Changes
- Beta change to allow rarity for non give commands
- Dependencies are now disabled by default for auto updating
- All methods use same colour method now
- Using AsyncPlayerChatEvent now
- Better random values due to single random instance
- Added Placeholder remaining_treasures_[Collection Name]
- Added Placeholder max_treasures_[Collection Name]
- Added Placeholder found_treasures_[Collection Name]
Migration Changes (Placeholders)
- found_eggs to found_treasures
- max_eggs to max_treasures
- remaining_eggs to remaining_treasures
Updates
Update for Versions
The plugin can now be run from 1.9 to latest (currently: 1.21.1) We might incounter some issues, if you find any please report them to us!
Plugin name Migration
The Plugin has been renamed from AdvancedEggHunt to AdvancedHunt as it now works for not only easter!! With this means there is some migrations needed
- The plugin data folder should auto rename, if it fails rename manually
- There are changes for placeholders for language files as well, these should auto update (egg replaced with treasure)
- Placeholders now start with advancedhunt instead of advancedegghunt
- Permissions are now AdvancedHunt and Egg is replaced with Treasure apart from eggImport and eggPlace which are now AdvancedHunt.command.place and AdvancedHunt.command.import
Chances and Raritys
All rewards have now chances and raritys so player need to have luck to recive items. The raritys can be configured in the config.
Auto Downloader
The plugin will now download all required plugins itself and automaticly update them if a newer version that is older than 3 day comes out. It will also update itself if a new update comes out. Old plugins will be moved to a new folder OLD_PLUGINS.
Menus and Messages
We translated all menus and fixed missing messages. They can now be changed in the menu and messages file.
Placeholders
Added new Placeholders %advancedhunt_player_name_{ID}_{COLLECTION}% => Replece {ID} with any leaderboard place to show the name of that player. Replace {COLLECTION} with the collection you want the leaderboard showing. %advancedhunt_player_count_{ID}_{COLLECTION}% => Replece {ID} with any leaderboard place to show the count of that player. Replace {COLLECTION} with the collection you want the leaderboard showing.
Command changes
The command /eggHunt placeEggs was changed to /eggHunt place. All Permissions got changed as well. /eggHunt is now the default command it can be changed in the config to your custom commands. This only works if the server reloads or restarts not on plugin reload!!
Requirements
Added dates to requirements. Added support for the Requirements Order -> Can now select between OR or AND.
Bug fixed
Fixed a line that was double in the config.yml file. Fixed that firework did damage to player or entitys. Fixed that when a collection is disabled it nevertheless shows the actionbar title and particle.
Name change
The plugin is now called AdvancedHunt because of a new feature. You can now change the current placeholder 'egg' or 'eggs' to what ever you want. For example for christmas like 'present' or 'presents'. This feature is not 100% compleate so feel free to suggest stuff or report stuff.
Other
Added a permission to finding eggs. Added a back button when going back from the collection menu. Added a collection to select in the /eggs reset [player | all] [collection | all] command. The eggs in the menu progress and list are now synchronized with the placed eggs. You now dont take damage or loose hunger in place mode.
IMPORTANT
PLEASE DO A BACKUP IF THE PLUGIN FAILES. IF IT FAILS PLEASE REPORT IT ON THE DISCORD!
Special Thanks
A special thanks goes to all of our translators
- Auracio -> France
- ThuongTr -> Vietnamese
- Udoyy -> Bangla
- CJYKK -> Simply Chinese
And a big thanks goes to GrafterCrafter who helped me so much with the plugin.
Also thank you, the community that you support us so much and come up with new ideas. This means a lot to us!
Your XMC-TEAM
Hint Menu:
- HintMenu now does not cause issues when closed before failing or succeeding
- HintMenu now has more messages, so you can understand if you failed because of time or clicking the wrong slot
- HintMenu now improved in functionality
Bug Fixes:
- Leaderboard not loading fixed
- Final rewards of a collection now given in correct order
- Fixed config upgrade system
- Update lang files
- Other minor improvements
- Removed AdvancedEggHunt.IgnoreCooldown from AdvancedEggHunt.group.admin
Thanks to all the people who are reporting bugs to fix the plugin
Also a very big thank to GrafterCrafter to improve the plugin.
Change Log
Bug Fixes:
- Fixed inventory interaction bug from 3.0.0
- Fixed missing permission check for /eggs reset
- Fixed not recieving individual egg reward on final egg of collection
- Fixed 1.14.4 not stopping water from breaking eggs when placed directly on top
Changes
- BlockedCommand list only stops commands from being entered in game, now allows execution of blocked commands if manually edited in config
- Default value of downloader is now false
Secure Update:
- You can now add commands to a blacklist in the config.yml file that the plugin will not execute
Bug Fixes:
- Fixed the bug that the anvil gui doesn't work in version 1.20.3 or higher
Extras:
- You can download the plugin on Spigot
Code Refactor:
- Converted most config interactions to use abstract Configuration class to keep interactions in one place for possible future interchangeability with SQL config storage
- Code is now more easy to read and maintain, after consolidating code into abstract classes and cleaning up variable names and spacing between lines of code
- Removed unnecessary registering of the same event listener to improve performance
Permission System Overhaul:
- All commands and actions within the plugin now have their own permissions
- There are 2 permission groups which are auto applied to players.
- advancedegghunt.group.admin - Applied to OP players
- advancedegghunt.group.default - Applied to all players by default
Reward System Overhaul:
- All eggs can have individual rewards set
- Collections have global reward commands that are run when all eggs are found
- New presets, that you can create and apply for both eggs and global collection rewards
- Can now easily create commands for custom items by clicking the item while in the reward menu
Bug Fixes:
- Reload command now reloading more config files
- Players can no longer access any GUI inventory by renaming a inventory container.
- Hex codes now work for Plugin Prefix
- Performance bugs
- Exception when using /eggs show now fixed
- Egg Hint no longer gives duplicate locations to click causing to fail
- PlaceEgg menu now add playerHeads as well
- Reset now works
- Fixed that the selected colection resets on every rejoin
- Other bugs that got fixed during the refactor/code changes that were either missed or fixed unknowingly
New Functionality:
- EggImport command - Will import any egg(Player head) you hold in your hand into the plugin
- Commands now filter
- Config files now automatically update themselves where possible without losing any values you previously set
- Updated Placeholders for PlaceholderAPI
Forced CommandFeedback gamerule changing now toggleable in config and disabled by defaultForced CommandFeedback gamerule changing now discontinued (Remove "minecraft.admin.command_feedback" permission is advised instead) https://bukkit.fandom.com/wiki/CraftBukkit_Commands#Additional_Permissions- Upgrade egg rewards to new format automatically
- /give commands show the items they are giving in the reward menu
- Added warning message to using /egg show command
Placeholders:
- We changed and created new placeholders all placeholders can be viewed in the github wiki
- You can change what should pop up if a placeholder is null
Performance Issues:
- Changed the data from files to hashmaps
- Period from the egg particle spawning changed. 3 -> 15 ticks
- Code optimizations more...
Thanks to GrafterCrafter and Lumpi_2 for helping to release this update as fast as possible
NOTE: Since we are a small developer group we cant test the plugin for many people so if there are performance issues please report it on the discord. It can take some time but we will try to find a solution. Please do not create any pressure
Water Flow: Eggs are now immune to water and water flow
We are a small team so updates or issues can take a while to solve we excuse when this happens. Please dont judes us because of that. WE DOING THIS FOR FREE!
More information on SpigotMC