Sueta
CU

Custom Villager Modifications

1.5.2

Control the entire economy of all villagers on the server.

·Plugin
  1. 1.5.2latest1.5.2 - Give Books and Stop Debuging!Sep 10, 2022
    Added the ability to use /vmbook to give players books directly, rather than giving it only to the person that ran the command. Usage - /vmbook give player amount The old version of simply /vmbook still functions the same as before. Also removed the leftover debugging message from the disabled worlds feature, apologies for that! Please join my discord for any news or know issues, to report issues, or to ask for any additional features! https://discord.com/invite/rBYrcYVYsP Thank you all for the continued support, - Xy
    382 downloads
  2. 1.5.11.5.1 - DisableWorldsApr 3, 2022
    Added a new function in the config to disable the plugins in an world you need. Simply add to the config: DisableWorlds: - "world_goes_here" You can add as many worlds as required to the list and they will all stop the plugin from working there. Also fixed a small logging issue from an older api version. Thanks, Xy
    1634 downloads
  3. 1.5.01.5.0 - Custom Currency AddedApr 2, 2021
    With this update you are now able to set a custom currency for your trades, using any item from any plugin as the base of your villagers trading currency. In order to do this you can use the /vmeta command in game to receive the values needed for the item in your hand to be used - this will be output to a 'metaOutput' file in the VillagerModifications folder. Simply copy the ItemMeta from the output file into your CustomCurrency at the top of the config. Once that is done you will be able to use the material name 'CUSTOM' in any of your trade changes in the config in order to use this custom item. If you have any problems with setting this up, please join my discord and I will happily help you set it up. In order to get the new changes in your config, please make a new config by moving the old to another location and starting the server - and then copy the new sections into your old config and move back. Or you can check the GitHub for the new config. If you do not wish to use this feature there are no other changes to be made. - Xy
    3656 downloads
  4. 1.4.6bStatsMar 27, 2021
    Small update to add bStats to the plugin, helps give an idea of how many servers are running the plugin and how fast the growth is. Nothing else added in this version, and nothing for you to do besides install.
    162 downloads
  5. 1.4.5Stop villager profession changes!Mar 11, 2021
    With this update I present the ability to disable the option of villagers being able to lose their professions. This is used by most players in order to exploit the trades that they are able to get from the villagers. Players on servers with profession changes allowed will take away the profession block of a villager and give it back over and over in order to keep refreshing the trades of a villager in order to get the one that they want. In the base game villagers are not able to lose their professions once they have been traded with, but this still allows players to keep changing the first trades until they have the exact one they are looking for. In order to enable this function of the plugin - simply add to the config: allVillagers: restricted: 0 disablexp: 0 levelmax: 0 HotV: 5 changeProfessions: false Ensure that the changeProfessions line is correctly within the 'allVillagers' settings bracket. By default this value is set to true, meaning that if you would like to keep the default ability for the villagers to change professions then you do not have to do anything to the config.
    281 downloads
  6. 1.4.4Material case fixFeb 17, 2021
    Materials are now recognised when set as lower case rather than requiring to always be uppercase to let the plugin work. Example: 'air' would not work, whilst 'AIR' would - now 'air' will work as well.
    299 downloads
  7. 1.4.3Fixed item meta being lost on items when the trades are changedJan 31, 2021
    Simple quick fix, will now allow all enchanted tools to keep their enchants when you change their cost. Also allows you to restrict potions (only all potions as a whole though), ocean/woodland explorer maps (use 'FILLED_MAP'), tipped arrows (same deal as potions) and probably a few more that I'm forgetting at the moment.
    285 downloads
  8. 1.4.2Hero of the Village ToggleJan 21, 2021
    Adds a function to set the maximum level of hero of the village that the players can obtain - is not active by default. Add to the allVillagers section of your config: # HotV(Hero of the Village): Value of 5 by default, Controls the maximimum level of hero of the village buff possible - will reduce any levels of the effect down to this if the player has a level higher than the value. #Players can get up to HotV level 5 in the game naturally, giving a 55% discount. Set to 0 to completely disable the effect. allVillagers: HotV: 5 Set the value of HotV to the maximum level of the hero of the village effect that you want players to be able to use. Set to 0 to have the effect completely removed when players interact with any villager. Also looking into a maximum number of uses for the effect option in the future. Update was coded live on twitch.tv/xyaafol, feel free to come follow or watch the VoD for more insight on how the plugin works - Xy
    202 downloads
  9. 1.4.1Quick fix for error in xp scale for level 1 villagersDec 12, 2020
    Fixes an issue with trades that have xp scaling enabled not working on level 1 villagers.
    506 downloads
  10. 1.4.0Villager Experience from Custom Trades!Dec 12, 2020
    Added functionality to the trades that are changed by the plugin so that they now reward experience for the villager that has the trades changed for. This now means that the custom trades that you have given the villagers will allow them to level up and unlock more trades like normal. Each trade will now come with the option to set the xp gained and to toggle scaling of the xp as the villager levels up. Generate a new config in order to get the correct layout for adding these options. If this is not done then the trades will not have xp. Example new default formatting: mending_1: restricted: 0 change: 0 xpvalue: 2 xpscale: 1 material: EMERALD cost: 64 book: 0 uses: 1
    35 downloads
  11. 1.3.5Fix for Alert Message.Oct 29, 2020
    - Small update to fix the alert message not working correctly. - Also added a function to completely disable trades in the config.
    250 downloads
  12. 1.3.4Fixed bug with chat spam when interacting with villagerJul 4, 2020
    Just a quick fix to a bug left over from development - sorry for the inconvenience.
    467 downloads
  13. 1.3.3Disable xp rewards from villager tradesJul 2, 2020
    Added the option in the config to disable xp rewards from all villager trades. Changed trades already do not give xp so no change to them yet. No need to reset config - just replace this section in your existing config with the following setup: # allVillagers: sets an override for all villagers # restricted: Value of 0 by default means that only villagers with trades containing restricted books are bound by Work begin and Work end. #Set to 1 for all villagers to be restricted. # disablexp: Value of 0 by default, change to 1 to disable xp from all villager trades. allVillagers: restricted: 0 disablexp: 0 If this doesn't work then replace the config as a whole. Disablexp can be toggled from 0 to 1 to change between giving the xp or not. Villagers must be interacted with to initiate the toggle to xp. Added by request from yntel on GitHub.
    81 downloads
  14. 1.3.2Compatibility with MC version 1.16.1Jun 27, 2020
    Updated to allow for full usage on 1.16 servers. No major changes needed to be made and all should work the same as before. Let me know any problems if you find them.
    71 downloads
  15. 1.3.1Quick fix for whitelist being contained within configJun 10, 2020
    Separated whitelist from config as it was meant to be in 1.3.
    103 downloads
  16. 1.3Control Villager Item Trades + WhitelistJun 10, 2020
    NEW FEATURES: -Now able to enter any item that villagers are able to sell and create a restriction for it. This allows for the altering of any trades that they can give and lets you tweak and control your economy even more. (see main page section on custom item trades for more information on this) -New whitelisting feature that will allow you to bypass the plugins ending of the villager interaction on villagers that you have designated as 'whitelisted'. Allows you to make use of villagers using other plugins such as citizens for features other than trading. (see main page section on whitelisting for more information) -Optional toggle for function 'alert' in the config next to work begin and end. When enabled will display a message set in the config used to tell the player that the villager is unable to be traded with at this moment. -Added 4 new commands: -/vmwhitelist (Requires permission VillagerModification.whitelist or OP - enables whitelisitng mode. See main page section on whitelisting for more information) -/vmremove (Requires permission VillagerModification.whitelist or OP - enables whitelisitng removal mode. See main page section on whitelisting for more information) -/vmoff (Requires permission VillagerModification.whitelist or OP - disables whitelisitng or removal mode. See main page section on whitelisting for more information) -/vmtime (Requires permission VillagerModification.time or OP - sends a message to the player telling the time in ticks that the villagers are restricted to in the configs. Used for debugging purposes not for general playerbase use) FIXES: -Added no permission and unable in console lines to /vmbook -Fixed playback of /vmbook command when the command is received correctly -Rearranged the config to hopefully make a bit more sense when reading -Fixed symbol issue in config of custom book COMING SOON: Option to change the item given from all villager trades from emeralds to something like gold (changeable in the config). Means that emeralds can be made a more valuable resource only available from mining in extreme hills. Basically a second option to the changing of prices - instead making the currency harder to get. NOTES: As always generate a new config with this update in order to get the new options. Move the old config out of the folder to be able to copy over your settings once the new one is generated. For custom item restrictions please use the bukkit names for 1.15.2 found at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Mater…
    43 downloads
  17. 1.2.5Error shown when interactingJun 6, 2020
    -Fix for a silly bug that somehow went under the radar causing a message to be sent to players interacting with a villager.
    60 downloads
  18. 1.2.4Quick fixJun 5, 2020
    Quick fix for the configs for the /vmbook in the last update.
    55 downloads
  19. 1.2.3Custom Book ModificationJun 5, 2020
    - Added an option in the config to change the title and lore of the book used when activating the custom book option on villager trades.
    32 downloads
  20. 1.2.2Config update.May 9, 2020
    - Changed the config default settings to follow the rules stated in the config and actually work.
    99 downloads
  21. 1.2.1Quick fixMay 9, 2020
    - Fixed a slight spelling error of silk touch in the config
    40 downloads
  22. 1.2.0Total Control of the Economy!May 9, 2020
    - Completely reworked the code in order to allow you to control any enchanted books you please. - Will require a full replace of any configs from previous versions. - Able to input any enchantment name followed by level into the enchantments section of the config and create the settings following the same format in order to control them. - Streamlined the code to 1/5th of its previous size.
    39 downloads
  23. 1.1.5More Enchantments added!May 8, 2020
    - Fixed the plugin not separating enchantment levels for fortune and unbreaking (now only effects level 3 for these) - Added Efficiency 4/5, Sharpness 4/5, and Protection 4/5 Please update old configs by moving your current config out of the folder, then after generating a new config copy the settings you want to keep from the old into the new config.
    46 downloads
  24. 1.1.4May 4, 2020
    69 downloads

Similar projects

Plugin →