2021-06-27 14:42:57 +02:00
|
|
|
#---------------------------------------------------------------------------------#
|
|
|
|
# VTL ~ VillagerTradeLimiter #
|
|
|
|
# By: PretzelJohn #
|
|
|
|
#---------------------------------------------------------------------------------#
|
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------- GLOBAL SETTINGS --------------------------------#
|
|
|
|
# This helps me keep track of what server versions are being used. Please leave this set to true.
|
|
|
|
bStats: true
|
|
|
|
|
2022-01-11 10:22:52 +01:00
|
|
|
# Database connection settings
|
|
|
|
database:
|
|
|
|
mysql: false
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 3306
|
|
|
|
database: villagertradelimiter
|
|
|
|
username: root
|
|
|
|
password: root
|
|
|
|
encoding: utf8
|
|
|
|
useSSL: false
|
|
|
|
|
2022-01-22 02:56:44 +01:00
|
|
|
# Ignore Citizens NPCs, and/or Shopkeepers NPCs if true
|
|
|
|
IgnoreCitizens: true
|
|
|
|
IgnoreShopkeepers: true
|
|
|
|
|
2022-04-11 03:32:26 +02:00
|
|
|
# Ignore interactions when the player is holding one of these item types (e.g. spawn_egg)
|
2022-05-02 15:38:51 +02:00
|
|
|
# Ghast spawn egg is added to add compatibility with Safarinet plugin. If your server doesn't give ghast egg to noromal players you can ignore it.
|
|
|
|
# Set to [] to disable this feature.
|
2022-05-02 15:48:37 +02:00
|
|
|
IgnoreHeldItems: "ghast_spawn_egg"
|
2022-04-11 03:32:26 +02:00
|
|
|
|
2021-09-16 07:35:21 +02:00
|
|
|
# Add world names for worlds that you want to completely disable ALL villager trading. Set to [] to disable this feature.
|
|
|
|
DisableTrading:
|
2021-12-15 21:30:01 +01:00
|
|
|
- world_nether
|
|
|
|
- world_the_end
|
2021-06-27 14:42:57 +02:00
|
|
|
|
|
|
|
# The maximum level of the "Hero of the Village" (HotV) effect that a player can have. This limits HotV price decreases.
|
|
|
|
# * Set to -1 to disable this feature and keep vanilla behavior.
|
|
|
|
# * Set to a number between 0 and 5 to set the maximum HotV effect level players can have
|
2022-01-07 09:57:59 +01:00
|
|
|
# For more information, see https://minecraft.fandom.com/wiki/Hero_of_the_Village#Price_decrement
|
2022-01-11 10:22:52 +01:00
|
|
|
MaxHeroLevel: -1
|
2021-06-27 14:42:57 +02:00
|
|
|
|
|
|
|
# The maximum discount (%) you can get from trading/healing zombie villagers. This limits reputation-based price decreases.
|
|
|
|
# * Set to -1.0 to disable this feature and keep vanilla behavior
|
2021-12-23 08:17:49 +01:00
|
|
|
# * Set to a number between 0.0 and 1.0 to limit the maximum discount a player can get. (NOTE: 30% = 0.3)
|
|
|
|
# * Set to a number above 1.0 to increase the maximum discount a player can get. (NOTE: 250% = 2.5)
|
2021-06-27 14:42:57 +02:00
|
|
|
MaxDiscount: 0.3
|
|
|
|
|
|
|
|
# The maximum demand for all items. This limits demand-based price increases.
|
|
|
|
# * Set to -1 to disable this feature and keep vanilla behavior
|
|
|
|
# * Set to 0 or higher to set the maximum demand for all items
|
|
|
|
# WARNING: The previous demand cannot be recovered if it was higher than the MaxDemand.
|
2022-01-07 09:57:59 +01:00
|
|
|
# For more information, see https://minecraft.fandom.com/wiki/Trading#Economics
|
2021-06-27 14:42:57 +02:00
|
|
|
MaxDemand: -1
|
|
|
|
|
2021-12-21 07:56:02 +01:00
|
|
|
# The maximum number of times a player can make any trade before a villager is out of stock.
|
|
|
|
# * Set to -1 to disable this feature and keep vanilla behavior
|
|
|
|
# * Set to 0 or higher to change the maximum number of uses for all items
|
2022-01-07 09:57:59 +01:00
|
|
|
# For more information, see https://minecraft.fandom.com/el/wiki/Trading#Java_Edition
|
2021-12-21 07:56:02 +01:00
|
|
|
MaxUses: -1
|
|
|
|
|
2022-01-15 15:46:56 +01:00
|
|
|
# The per-player, per-trade cooldown in real-world time.
|
|
|
|
# After a player makes a trade <MaxUses> times, the trade will be disabled for the player until the cooldown is over.
|
|
|
|
# * Set to 0 to disable this feature and keep vanilla behavior
|
|
|
|
# * Set to a number and interval to add a per-player, per-trade cooldown for all trades (see below)
|
|
|
|
# A valid cooldown follows the <Number><Interval> format, such as 7d or 30s. The valid intervals are:
|
|
|
|
# * s = seconds (e.g. 30s)
|
|
|
|
# * m = minutes (e.g. 10m)
|
|
|
|
# * h = hours (e.g. 1h)
|
|
|
|
# * d = days (e.g. 3d)
|
|
|
|
# * w = weeks (e.g. 2w)
|
|
|
|
Cooldown: 0
|
|
|
|
|
2022-01-15 18:10:28 +01:00
|
|
|
# The per-villager, per-trade cooldown in real-world time.
|
|
|
|
# This is the same as Cooldown, but applies to a villager's restocking function
|
|
|
|
# * Set to 0 to disable this feature and keep vanilla behavior
|
|
|
|
# * Set to a number and interval to add a per-villager, per-trade cooldown for all trades (see below)
|
|
|
|
Restock: 0
|
|
|
|
|
2021-06-27 14:42:57 +02:00
|
|
|
|
|
|
|
#-------------------------------- PER-ITEM SETTINGS --------------------------------#
|
|
|
|
# Override the global settings for individual items. To disable, set like this --> Overrides: none
|
|
|
|
# To enable, add items below!
|
|
|
|
# * Enchanted books must follow the format: enchantment_name_level (ex: mending_1)
|
|
|
|
# * All other items must follow the format: item_name (ex: stone_bricks)
|
2021-09-16 07:35:21 +02:00
|
|
|
# For each item you add, you can disable the trade (set Disabled: true), or override MaxDiscount and/or MaxDemand.
|
2021-06-27 14:42:57 +02:00
|
|
|
Overrides:
|
|
|
|
mending_1:
|
|
|
|
MaxDiscount: 0.1
|
|
|
|
MaxDemand: 36
|
|
|
|
depth_strider_3:
|
|
|
|
MaxDiscount: 0.6
|
|
|
|
name_tag:
|
|
|
|
MaxDiscount: -1.0
|
|
|
|
MaxDemand: 60
|
2022-01-07 09:57:59 +01:00
|
|
|
MaxUses: 2
|
2022-01-11 10:22:52 +01:00
|
|
|
Cooldown: 7d
|
2021-12-15 21:30:01 +01:00
|
|
|
Item1:
|
2022-01-07 09:57:59 +01:00
|
|
|
Material: "book"
|
2021-12-15 21:30:01 +01:00
|
|
|
Amount: 64
|
|
|
|
Item2:
|
|
|
|
Material: "ink_sac"
|
2022-01-11 10:22:52 +01:00
|
|
|
Amount: 48
|
2022-01-07 09:57:59 +01:00
|
|
|
Result:
|
|
|
|
Material: "name_tag"
|
|
|
|
Amount: 2
|
2021-06-27 14:42:57 +02:00
|
|
|
clock:
|
|
|
|
MaxDemand: 12
|
|
|
|
paper:
|
2022-01-15 18:10:28 +01:00
|
|
|
MaxUses: 1
|
2022-05-02 15:38:51 +02:00
|
|
|
Restock: 1h
|