Releases: justEli/Coins
Releases · justEli/Coins
1.13.1: possibility to change message position and decimal separators
- Chinese language has been updated, thanks to @chenxuuu
- Fix: zombies from spawners that are converted to drowneds aren't seen as from spawner anymore
- Added Turkish language support, thanks to @Purpely
- Swedish language has been updated
- Fix: NullPointerException for dying NPCs from Citizens
- Added the possibility to change message position (title, subtitle, actionbar, chat), for:
- pickup message
- withdraw message
- death message
- Added the posibility to set a custom withdraw message
- Added the posibility to add decimal and group separators for number formatting
Add the following to your config:
pickup-message-position: 'actionbar' # other options: 'subtitle', 'title', 'chat'
death-message-position: 'subtitle' # other options: 'actionbar', 'title', 'chat'
# Tell the player how much money they have withdrawn.
withdraw-message: '&4- &c{currency}{amount}'
withdraw-message-position: 'actionbar' # other options: 'subtitle', 'title', 'chat'
# The symbols to use for separating digits (in thousands). The default values
# (dot, and comma) format numbers, for example, like 1,000.6 or 2,100.90 (depending
# on your setting `money-decimals`. The group separator can be empty if preferred.
digit-decimal-separator: '.'
digit-group-separator: ','
1.13: improved block drops, added hostile-drop option
- Added the ability to disable
death-message
andpickup-message
by settings it to an empty string. - Added MythicMobs 5.x support (4.x still works).
- Added
hostile-drop
to the config. Which allows to disable or re-enable hostile mobs to drop coins. - Added
block-drops
to the config.- Drop coins for mined blocks. This setting only works when the block drops a different item than the block itself. For example a Diamond Ore drops Diamond without Silk Touch. So it doesn't work when using Silk Touch. That is because the player would be able to place the block again, and get coins once again.
- Removed
only-experience-blocks
andblock-multiplier
.
- Fixed an issue where coins were being picked up by mobs, when they were already picked up by players.
- This issue caused a duplication bug with the plugin TamableFoxes.
- Cleaned up some code. Coin drop handler has been rewritten. Found a bug? Report it!
Add this to your config:
# Should hostile and passive mobs drop coins? Hostile mobs drop coins by default,
# and passive mobs don't.
hostile-drop: true
# passive-drop: false
# Drop coins for mined blocks. This setting only works when the block drops a
# different item than the block itself. For example a Diamond Ore drops Diamond
# without Silk Touch. So it doesn't work when using Silk Touch. That is because
# the player would be able to place the block again, and get coins once again.
# The number behind the block name below is the multiplier for coin drops.
# Materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
block-drops:
'diamond ore': 2
'deepslate diamond ore': 3
'spawner': 5 # You may need to remove this if you have SilkSpawners.
'emerald ore': 2
'deepslate emerald ore': 2
'gold ore': 1
'deepslate gold ore': 1
'nether gold ore': 1
'iron ore': 1
'deepslate iron ore': 1
'lapis ore': 1
'deepslate lapis ore': 1
'copper ore': 1
'deepslate copper ore': 1
'nether quartz ore': 1
'coal ore': 1
'deepslate coal ore': 1
'redstone ore': 1
'deepslate redstone ore': 1
# What's the chance per mined block? Set to 0 to disable dropping coins for blocks.
mine-percentage: 0.20
1.12.2: improved permissions, Treasury update, bug fixes
- Only consider a Wolf hostile when angry.
- Improved permissions.
- Changed
coins.admin
,coins.drop
andcoins.remove
intocoins.command.reload
,coins.command.settings
,coins.command.drop
,coins.command.remove
,coins.command.language
,coins.command.version
andcoins.command.toggle
.
- Changed
- Added forgotten
location-limit-hours
to metrics. - Added Treasury 1.1.0 support.
- Fixed a fallback language error on Windows.
1.12.1: small fixes, language and version checker improvements
- Fixed a NullPointerException when
drop-with-any-death
is enabled. - Fixed /withdraw not allowing values below 1.
- Improved language-related features.
- Fixed languages not being recognized on first run.
- Improved language handling.
- Dutch language has been updated to fully support all messages.
- Does not send warnings by default anymore when using another language than English.
- Improved available update-information, also at /coins update.
1.12: Treasury support, added a few config options
- Added Treasury support.
- Added a warning on start-up when legacy coins are detected.
- Added a config option
check-for-updates
, which allows to disable the version checker. - Worked on some optimisations.
- Properly closing json stream leaks.
- Now using cache, instead of delayed runnables for location limiter.
- Now caching data (spawner mobs, slime splits, player damage dealt) on entities instead of hash maps.
- Added a config option
enchant-increment
, which allows setting a coin increment percentage per Looting or Fortune level. - Some small command improvements.
- Improved /coins settings.
- Reworked some other details.
- Grammar fix for English language 'withdrawn' -> 'withdrew'.
- Completely re-styled the config.
- New and updated information for most config options.
- Config options now use hyphens, but old-style config options still work.
- More consequent line breaks.
- Added a config option
location-limit-hours
, which allows setting the time when a location limiter expires.
Add this to your config: (Or consider resetting your config)
# Show a message to update the plugin on start-up, if the plugin is outdated.
check-for-updates: true
# Set the maximum amount of coin drops (from mob kills) per block location in a
# specific time. This can be useful to prevent overuse of grinders. Defaults to 1:
# after 1 kill at x/y/z, it won't drop coins there for the amount of hours set at
# 'location-limit-hours'. Disable by setting to 0. You may want to increase this
# value if you're using a mob stacker plugin. (1 minute = 0.016667)
#limit-for-location: 1
location-limit-hours: 1.0
# Add more value to coin drops when a Looting or Fortune enchant is used. The
# configured value is a percentage per enchantment level. Default value is 0.05 =
# 5%. Which means: Fortune/Looting I = 5% coin increase, Fortune/Looting II =
# 10% coin increase and Fortune/Looting III = 15% coin increase.
enchant-increment: 0.05
1.11: fundamentally different handling of coins
- Added fundamentally different handling of coins.
- Coins are no longer identified through their name, but through their NBT data. This fixes some critical bugs when specific plugins are installed.
- It is recommended that you add the option
detectLegacyCoins: false
to the Coins config as soon as you can. Please note: Keep this option to true if you have withdrawn coins laying around in the server from before Coins version 1.11. Also leave the keysnameOfCoin
andmultiSuffix
untouched, if you setdetectLegacyCoins
to true! Legacy withdrawn coins still depend on those two keys! - Added
droppedCoinName
,withdrawnCoinNames.singular
andwithdrawnCoinNames.plural
, and removednameOfCoin
andmultiSuffix
. This allows for more custom names of coins.
- Dropped support for Minecraft versions below 1.14.
- Coins with an enchanted effect no longer show ‘Unbreaking I’.
- Optimization of various features.
- Faster random number generation.
- Fewer Bukkit runnables used for /coins drop.
- Fixed not-closed input stream for reading language file.
- Warn console if config is missing config keys, with explanation.
- Added option to allow players to modify coins:
allowNameChange
andallowModification
. - Improved animation for coins being picked up.
It has been thoroughly tested, but the plugin can still contain bugs. Report bugs at https://github.com/JustEli/Coins/issues.
Add the following to your config: (Or you could consider to reset your config at this point)
# Here you can configure the names of dropped coins and withdrawn coins.
# See a list of all color codes here: http://minecraft.gamepedia.com/Formatting_codes
# HEX color codes are possible as well, with following format: '&#xxxxxx', where x is [0-9a-f].
droppedCoinName: '&6Coin'
withdrawnCoinNames:
singular: '&e{amount} &6Coin'
plural: '&e{amount} &6Coins'
# Withdrawn coins in older versions of the plugin are handled in a fundamentally different way, which
# could cause possible exploits, when specific plugins are installed. Having this option set to false
# prevents that. (If true, legacy withdrawn coins will still work)
detectLegacyCoins: # set this to true or false, depending on your situation
# Allow players to change the name of coins. Only works if 'detectLegacyCoins' is set to false.
# Changing the names of non-legacy coins does not make it lose its value.
allowNameChange: false
# Allow players to use coins in a bench (i.e. crafting, smelting). Coin will lose its value.
allowModification: false
1.10.8: fixed a startup bug for older MC versions
- Fixed a bug for Minecraft versions 1.12.2 and below where the plugin couldn't start up properly.
1.10.7: bug fixes of 1.10.6
Because 1.10.6 had almost the entire plugin modified, there were some bugs that weren't noticed while testing. Bugs that were found in the past day are fixed in this version.
- Fixed 'coin' not being recoginized by
coinItem
config option. - Fixed config options
spawnerDrop
andpreventSplits
. - Fixed language files not being properly recognized on Linux.
1.10.6: many internal changes, fix decimals and subtitle
- Many internal changes.
- Rewrote the config handler, so errors should now very rarely occur when not configuring properly, and warnings are very descriptive.
- Decimals are now properly working (and properly rounded) all over the plugin.
- When there are errors on startup, the whole plugin will not be disabled anymore, but features will be disabled and the commands of the plugin will explain what can be done to fix the errors.
- And much more... If you find a bug, please report it on the support Discord server: https://discord.gg/fVwCETj You can simply post errors without context in the #coins-errors channel.
- It is now possible to withdraw coins in decimals.
- Fixed the subtitle on player death not showing.
- More messages are now available to be translated.
1.10.5: add custom drop "COINS" for MythicMobs
- This version only adds a bit of support for MythicMobs.
- A custom drop for MythicMobs has been added called "COINS", which.. drops a coin.
Thanks to @Takato65
Example for MythicMobs, which drops 1 to 10 coins with a chance of 50%:
custom_mob:
Type: zombie
Health: 100
Drops:
- COINS 1-10 .5
Add this to your Coins config:
# MythicMobs :: In the config of MythicMobs you can define custom coin drops. Use the drop called "COINS"
# in the MythicMobs config to drop coins from this plugin. If you have set up custom drops in there, you
# probably also want to disable coin drops for Mythic Mobs handled by this plugin, under here.
disableMythicMobHandling: false