Sueta
LA

Latch's Money for Mobs

1.9.2

Give money to players, set custom drops and custom messages when killing mobs and using commands

·Plugin
  1. 1.9.2latestDebug, Permission and Economy Bypass OptionApr 29, 2024
    Added 3 new configuration options in the config.yml debug: This will allow server owners to see the entity name of the entity killed so custom mobs can be more easily added if set to true bypasseconomy: This will allow the bypass of an economy check while the server is running if set to true. M4M still depends on Vault to run properly. I will not remove this dependency for the foreseeable future. bypasspermissions: This will allow the bypass of a permissions plugin check if you don't want to add a permissions plugin and just want to have custom drops. Bypassing economy and permissions will not display kill messages
  2. 1.9.1PLEASE READ: Fixed Bug and Updated FeatureJun 16, 2023
    There was a bug in the previous 1.9.0 version which created backup yml files for 4 configuration files and used those files for the server. This update resolves that issue and uses the old yml files. · config.yml · mobs.yml · messages.yml · items_back.yml I apologize for the inconvenience I also fixed the following bugs: · Mobs dropping items in worlds where the drop enabled values were false · Fixed issue that overwrote custom drops of a mob when using the /mk addCustomDrops command. Multiple drops still worked before, but only if you set multiple directly in the mobs.yml file and reloaded
    492 downloads
  3. 1.9.0Fixed money not being rewarded when showMessages = falseJun 13, 2023
    Fixed money not being rewarded when showMessages = false
    34 downloads
  4. 1.8.1Fixed version numberingOct 28, 2022
    Bug Fix: * Version wasn't properly updated in 1.8.0, so OP's were getting spammed with a message saying the plugin had a newer version. This will fix that after 24-48 hours
    353 downloads
  5. 1.8.01.19 Update and Bug FixesOct 17, 2022
    Hi All!!! I've finally released an official 1.19 update. Mass Update and Future of Money4Mobs The reason I've not posted an update, is I've been busy with a new job and coding for my personal survival server. I have many features for my personal server that I would like to make public, some free, some premium. Money4Mobs was created out of necessity at the time and has grown to be this amazing plugin with features I never thought was possible or wanted by other server owners. I'll continue to help owners in my Discord Server and post updates when I get a chance. For the time being, future updates to Money4Mobs will be bug fixes and when new mobs are added. Although, reason I didn't prioritize updating Money4Mobs for 1.18 and 1.19, was because no new mobs were added in 1.18 and server owners could just add the new mobs in the mobs.yml file. With all of this being said, I won't continue posting version specific updates with each update of M4M. This means that M4M should work on 1.14+... should. Money4Mobs version 1.8.0 Patch Notes: · Updated code that gives players money set in low and high worths for the player object in mobs.yml. (Before, only a percentage of the victim's balance would transfer) · Updated Chinese Traditional/Simplified translations that is generated when Money4Mobs is first added to a server. (This will also regenerate if the messages.yml file is deleted) · Added 1.19 mobs to the config file. Current users of Money4Mobs that haven't added 1.19 mobs to the config will have them added at the bottom of mobs.yml
    116 downloads
  6. 1.7.2Update API version to 1.18Nov 30, 2021
    No major changes were made. The items.yml should redraw with the new items introduced in 1.18. 1.18 does not add any mobs so that is not needed.
    3817 downloads
  7. 1.7.1Added mobName to Reward and Subtract messagesSep 22, 2021
    mobName is now an option that can be added to the reward money and subtract money messages moneyRewardedMessage: moneySubtractedMessage:
    428 downloads
  8. 1.7.0Updated File name structureSep 5, 2021
    * Updated File name structure
    190 downloads
  9. 1.6.9-Nice-:)Updated VersionAug 16, 2021
    Updated version
    189 downloads
  10. 1.6.89-Nice-:)Added Per World Per Mob RewardAug 16, 2021
    · Fixed ZombifiedPiglin name change · Added ability to disable reward of money from different worlds · World change allows for multiverse worlds · Fixed NPE in removeCustomDrops command
    27 downloads
  11. 1.6.8Updated Chinese translationsJul 26, 2021
    * Updated Chinese Traditional and Chinese Simplified translations based on suggestions by Flandre_tw * These changes are only for the default setup and will only update if the config.yml is not present
    244 downloads
  12. 1.6.7Bug Fix - Tamed wolf Give Money - Performance toggleJul 24, 2021
    https://github.com/Latch93/Money4Mobs/issues/76 * Fixed a bug that wasn't rewarding money when tamed wolves killed a mob * Added a toggle option in config.yml 'oldSpawnReasonLogic' for changes in performance, mainly in large servers or servers with stacked mobs. Information below I've updated a toggle in the config file 'oldSpawnReasonLogic'. If this is true, then it will use the old logic which only keeps a track of mobs in the session. If this is false, it will use the newer method. The trade off of the old method: Pros: · Better performance on server Cons: · Some mobs will give money even if spawneggs/spawners is set to false. Sometimes when a chunk is reloaded, but happens when the server is restarted or reloaded The trade off of the new method Pros: Keeps track of every mob spawned so no matter the instance, a mob will or will not give money based on configuration settings Cons: · Performance heavy and can bog down a server if it contains a stacked mob plugin or has many players
    72 downloads
  13. 1.6.6Resolved NPE with updateUsersOnReloadJul 8, 2021
    * Fixed an error that would randomly throw when starting server with zero users (from scratch) * Issue linked here -> https://github.com/Latch93/Money4Mobs/issues/73
    216 downloads
  14. 1.6.5Better error handling and semi universal vault economy handlingJul 2, 2021
    * Added new error messages so errors shouldn't show in the console in these cases. ** Cases included but not limited to, typing in /mk without parameters and giving an incorrect parameter * Updated the way M4M gets the economy ** This way has been tested on EssentialsX, Mineconomy and iEconomy. *** This should work with most Vault ecomonmies. I've noticed Acomony is coded weird and I have a separate DEV build if anyone uses that economy
    169 downloads
  15. 1.6.4Updated way spawn reason is logged and checked againstJun 29, 2021
    * Mobs spawned ways other than natural will now get their information stored in the new mobSpawnedReasons.yml * When mob dies by player or other mob, then their data will get removed from the mobSpawnedReasons.yml. ** This change allows chunks to be unloaded and loaded with mobs and their information will not get lost. Before this could happen and spawner mobs could get money rewarded even if the value was set to false in config.yml
    111 downloads
  16. 1.6.3Added better command error handling and mountedMob Action MultiplierJun 28, 2021
    * Added new action multiplier (mountedMob) ** Multiplies money rewarded if mob killed was riding another mob, i.e., a skeleton on a spider (spider jockey) * Updated messages.yml with new error messages ** These messages will display if a command is used incorrectly ** This should allow there to be more verbose error handling
    41 downloads
  17. 1.6.2[Bug Fix] Issue with action multipliers and priorityJun 28, 2021
    * Fixed an issue with action multipliers so now if config.yml.isMultipliersAggregate is false, the highest priority that is available will take precedent
    53 downloads
  18. 1.6.1Bug Fix & Added action multipliersJun 27, 2021
    * Fixed bug with mobs not dropping items * Removed config objects from mobs.yml and if they were set, transferred the objects to the new config.yml * Added new action multipliers ** If 'isMultipliersAggregate' is true, then the multipliers will all add up ** If 'isMultipliersAggregate' is false, then the group multiplier will multiply the action multiplier value that is active and has the highest priority *** New action multipliers **** When player kills mob by fall damage **** If the player kills a mob by a long distance. Distance is set in the longDistance object **** When player kills a mob with a Projectile (Bow or Crossbow) **** If player kills the mob without a weapon ***** If the player beats a mob to death with a weapon, then money will not be rewarded
    42 downloads
  19. 1.6.0Big Bug fix and refactorJun 27, 2021
    * https://github.com/lakeboy93/Money4Mobs/issues/60 * Using /mk reload now does not double or triple the amount received from a mob * Refactored code so it should run smoother and have less issues
    71 downloads
  20. 1.5.6Readded Update checker for 1.17Jun 25, 2021
    * Readded Update checker for 1.17
    66 downloads
  21. 1.5.5Added ability to set a percentage balance lost when a player kills a playerJun 23, 2021
    Player: worth: low: 25.0 high: 25.0 ipBanFarming: false enablePercentageDrop: false percentageDropAmount: 1 This overrides the money given by worth and instead will subtract the percentage of the player killed balance and give that amount to the player who killed Added 2 new messages to handle this new feature playerKilledPlayerMessage: message: '&aYou were given &6$ %amount% &aand now have &6$ %balance%' location: ActionBar playerKilledByPlayerMessage: message: '&6$ %amount% &awas taken and you now have &6$ %balance%' location: ActionBar
    80 downloads
  22. 1.5.4Added ability to change multiplier group namesJun 22, 2021
    * 'operator' group needs to remain * Permissions for each group will be as follows: 'm4m.multiplier.[groupName]' So if in the mobs.yml file you have group-multiplier: level-1: 1 superbad: 1 operator: 1 The 2 permissions would be * m4m.multiplier.level-1 * m4m.multiplier.superbad Only 1 M4M multiplier group permission is allowed per permissions group
    35 downloads
  23. 1.5.3Added Update CheckerJun 22, 2021
    * Checks if Money4Mobs version on server is out-of-date and displays a message in the console if it is * Added option in mobs.yml to disable the display of the Money4Mobs update message ** checkForUpdate: true
    44 downloads
  24. 1.5.2Removed logger when reloading Money4MobsJun 20, 2021
    * Removed logger when reloading Money4Mobs
    77 downloads
  25. 1.5.1All Message Customizable Now!!!Jun 20, 2021
    * Added feature to customize all messages in Money4Mobs * Added feature to set any message to display in the Action Bar or in player chat menu * Added Horse to mob list * Added Multiplier options is a player kills a mobs whilst riding another mob ** Documentation here -> https://github.com/lakeboy93/Money4Mobs/blob/master/READM…
    71 downloads
  26. 1.4.1Added ability to use negative numbers for mob worthJun 12, 2021
    * 2 different messages display for if the mob worth is more or less than 0. If the mob worth is -5, then it will subtract $5 from the player's balance. https://github.com/lakeboy93/Money4Mobs/issues/44
    103 downloads
  27. 1.4Updated M4M to version 1.17Jun 11, 2021
    · Adde New mobs ** Axolotl ** Glow Squid ** Goat · Adde Zoglin to mobs.yml · Adde 1.17 items to items.yml *** Candle Cakes are unable to be added at this time. An error occurs. I will attempt this fix once more updates to Spigot are created
    54 downloads
  28. 1.3.10Fixed breaking bug with /mk toggleKMJun 9, 2021
    * The command /mk toggleKM had a bug recently introduced that broke the game and stopped rewarding money. This issue added a line in users.yml which needs to be deleted if owners have this issue.
    70 downloads
  29. 1.3.9aRemoved loggerJun 8, 2021
    removed console log
    49 downloads
  30. 1.3.9Added Ability to have up to 15 multiplier groupsJun 8, 2021
    * Added Ability to have up to 15 multiplier groups ** You need to add levels to the multiplier section of the mobs.yml in the pattern as 'level-6' 'level-15' etc * Resolved bug that rewarded players with money if they killed themselves with their own tnt
    31 downloads
  31. 1.3.8Updated M4M to allow console commandsMay 26, 2021
    * Updated M4M to allow console commands Bug logged here -> https://github.com/lakeboy93/Money4Mobs/issues/35
    85 downloads
  32. 1.3.7Resolved glitch for Piglins not rewarding moneyMay 25, 2021
    * Fixed issue where Piglins were not rewarding money, as the mobs.yml did not contain a proper Piglin object * Updated code to update version number of mobs.yml and add Piglin mob to the list
    36 downloads
  33. 1.3.6Added Russian TranslationMay 20, 2021
    * Added Russian Translation
    43 downloads
  34. 1.3.5Added ability to use decimal places in rewarded money --- Ban the reward of money of same ipMay 17, 2021
    * Added ability to use decimal places in money worth amounts * Added ability to ban the reward of money from players on the same ip ** This was added so players can't kill an alt account and transfer money ** You can add a bypass to this option with the permission 'm4m.bypass.ipBan'
    56 downloads
  35. 1.3.4Removed Enchantment commandJan 18, 2021
    Decided enchantment command should be removed.
    223 downloads
  36. 1.3.3Added Custom Kill Message and toggle of tamed wolvesJan 8, 2021
    * Updated Documentation here -> https://github.com/lakeboy93/Money4Mobs/blob/master/READM… * Documentation shows how to properly set custom kill message * Toggle option for if players receive money when their tamed wolf kills a mob
    120 downloads
  37. 1.3.2bFixed issue with rewriting mobs.yml when bees low value is 0Dec 16, 2020
    Fixed issue with rewriting mobs.yml when bees low value is 0
    144 downloads
  38. 1.3.2Removed console logsNov 29, 2020
    Removed console logs
    106 downloads
  39. 1.3.1Made the m4m.rewardMoney permission ignore caseNov 28, 2020
    * Made the m4m.rewardMoney permission ignore case
    76 downloads
  40. 1.3.0bUpdated Chinese language option to Chinese_SimplifiedNov 28, 2020
    * Chinese is not a valid language option anymore. It's Chinese_Simplified currently, as I am adding Chinese_Traditional in the next update
    37 downloads
  41. 1.3.0aResolved Null Pointer Error dealing with language optionsNov 28, 2020
    * Resolved error surrounding language option ** You need to check that your users.yml contains a language option for each user ** Check if defaultLanguage is added in mobs.yml
    32 downloads
  42. 1.3.0Fixed issue with new players not getting defaultlanguageNov 28, 2020
    Fixed issue with new players not getting defaultlanguage
    42 downloads
  43. 1.2.17Removed random testing messagesNov 27, 2020
    removed messages
    51 downloads
  44. 1.2.16Fixed issue where OP users did not bypass permissionsNov 27, 2020
    · Fixed issue where OP users did not bypass permissions · Resolved error handling issue · Displays commands in mk tab menu based on player's permission
    38 downloads
  45. 1.2.15Added German language option for M4M messagesNov 23, 2020
    * Added German language option for M4M messages
    47 downloads
  46. 1.2.14Added bStatsNov 23, 2020
    * Added bStats
    31 downloads
  47. 1.2.13Resolved Error for when entity spawn reason can't be foundNov 23, 2020
    * Resolved Error for when entity spawn reason can't be found * Plugin now handles the error and neatly shows error message
    37 downloads
  48. 1.2.12Added permission group multipliers in configNov 23, 2020
    · Updated config file, but the plugin does not update this manually, so check out https://github.com/lakeboy93/Money4...oduction/Mobs4Money… and add the section that starts with group-multiplier. · group-multiplier: operator: 1 level-1: 1 level-2: 1 level-3: 1 level-4: 1 level-5: 1 · Permissions are as follows m4m.multiplier.level-1 m4m.multiplier.level-2 m4m.multiplier.level-3 m4m.multiplier.level-4 m4m.multiplier.level-5 · Multiplier for players will take the highest permission level. If they have 2 permissions set for some reason, say level 3 and level 5, level 5 multiplier will take precedent
    29 downloads
  49. 1.2.11Added Italian language option and messagesNov 21, 2020
    · Added Italian M4M messages · Added Italian language option for /mk language [Language]
    74 downloads
  50. 1.2.10Resolved issue with adding new players to users.ymlNov 14, 2020
    * Resolved issue with adding new players to users.yml * In previous version 1.2.9, players weren't properly added to users.yml
    111 downloads
  51. 1.2.9Resolved error for /mk languageNov 14, 2020
    * Resolved ArrayOutOfBounds errors when using /mk language command and backspacing
    44 downloads
  52. 1.2.8Added save of Player show kill message to users.ymlNov 13, 2020
    * Before this update, the kill message would show upon server restart and the user could toggle it on or off for themselves. Now, their selection will be saved in the users.yml file. * It 'should' auto add the showMessage option in the users.yml for each player when you add the updated M4M.jar * The command to toggle the message is still -> /mk toggleKM
    51 downloads
  53. 1.2.7Player change their own message languageNov 13, 2020
    * I've added the ability for each player to change their name with the command '/mk language [language] * Permission for new command is 'm4m.command.mk.language' * Created new users.yml that stores users and their language preferences. * New users default to language to English
    49 downloads
  54. 1.2.6Added Chinese and Hindi LanguagesNov 12, 2020
    * Added Chinese (Simplified) and Hindi Languages
    29 downloads
  55. 1.2.5Added Phantoms to mobs.ymlNov 12, 2020
    * Even though players would get rewarded money from killing phantoms, it wasn't set in the mobs.yml
    75 downloads
  56. 1.2.4Added French and Spanish Languages for MessagesNov 12, 2020
    · I've removed the config.yml as it wasn't needed · I've added a language option in mobs.yml · Current values allowed are English, French and Spanish · These languages are only for the messages sent to the player for completing a command or killing a mob
    54 downloads
  57. 1.2.3Updated Error Handling and Tab Complete MenuNov 10, 2020
    Updated Error Handling and Tab Complete Menu
    72 downloads
  58. 1.2.2Resolved IllegalArgumentException ErrorNov 9, 2020
    Resolved IllegalArgumentException Error
    38 downloads
  59. 1.2.1Added perm to receive money on mob killNov 9, 2020
    * Added perm to receive money on mob kill - m4m.rewardMoney
    27 downloads
  60. 1.2.0Added Error Handling and More CommandsNov 9, 2020
    * Added additional error handling * Added new commands
    30 downloads
  61. 1.0.10Added permission for rewarding players moneyNov 8, 2020
    Before this update, the permission wasn't set properly. Now, in order for user's to receive money from mobs, they need the permission 'm4m.rewardmoney"
    29 downloads
  62. 1.0.9Added command permissionsNov 8, 2020
    I'm still learning how to properly add child commands. But for how I coded it, a user needs to have proper perms for each command.
    36 downloads
  63. 1.0.8Added Drops CommandNov 8, 2020
    Drops command shows what, if any custom drops and their chance to drop with the following command -> · mk drops [mobName]
    27 downloads
  64. 1.0.7Chance for Custom DropsNov 8, 2020
    I've added the ability to add a percent chance to each custom mob drop
    27 downloads
  65. 1.0.6Added Custom Drops to MobsNov 3, 2020
    You are now able to add custom drops to mobs. * Add as many drops to mobs as you want. * Choose if mobs keep default drops Documentation to come
    62 downloads
  66. 1.0.5Removed custom drops set for personal serverNov 2, 2020
    This functionality is something I want to implement in the near future. Essentially, it sets custom drops I wanted for my personal server but I didn't mean to set it for the public release.
    44 downloads
  67. 1.0.4Nov 1, 2020
    50 downloads

Similar projects

Plugin →