Commit Graph

52 Commits

Author SHA1 Message Date
PretzelJohn 7e8baf8a6c Merge remote-tracking branch 'origin/master' 2023-06-29 15:06:02 -04:00
PretzelJohn dfb4238c42 add 1.20.1 support 2023-06-29 15:05:46 -04:00
PretzelJohn 3522d5099b
Merge pull request #8 from HarvelsX/master
Fix IndexOutOfBoundsException: use Iterables utils for get or default;
2023-06-08 13:17:29 -04:00
HarvelsX 071129fe16
Fix IndexOutOfBoundsException: use Iterables utils for get or default; 2023-05-11 12:31:28 +03:00
PretzelJohn e804329777
Merge pull request #7 from HarvelsX/master
Fix replacing items in NBT data:
2023-05-10 13:02:31 -04:00
HarvelsX 1fe04c1b5e
Fix replacing items in NBT data:
It is not enough to change the material and quantity, apparently there are preset NBT data;
2023-05-09 03:04:45 +03:00
PretzelJohn 5f279ea12e
Merge pull request #6 from mastercake10/master
make config option `IgnoreHeldItems` work by removing Enum#ordinal
2023-04-19 14:39:13 -04:00
mastercake10 411a0abc66 make config option `IgnoreHeldItems` work by removing Enum#ordinal 2023-04-19 20:30:18 +02:00
PretzelJohn 542eb20e8a Version 1.6.3:
* Slightly better default config
2023-03-20 21:19:18 -04:00
PretzelJohn 71fc8bd4f2 Version 1.6.3:
* Added left and right matching for trade overrides
2023-03-20 19:34:01 -04:00
PretzelJohn 03f8d1b84c Version 1.6.3:
* Fixed case sensitivity for disabled items and professions in config
* Updated version
2023-03-20 19:02:43 -04:00
PretzelJohn b8b14941df Version 1.6.2:
* Updated Item NBT API to 2.11.2
* Updated SQLite to 3.40.1.0
2023-03-16 19:14:42 -04:00
PretzelJohn 75df051d08 Version 1.6.1:
* Added disabled professions feature
* Added disabled trades feature (completely removes certain trades)
2023-03-16 19:12:04 -04:00
PretzelJohn 58d1b24ff0 Version 1.6.0:
* Added compatibility with ODailyQuests plugin
* Fixed potential bug on 1.14 with equipment slot
* Updated to NBT-API 2.11.1
2023-02-18 11:09:23 -05:00
PretzelJohn f13fac70fc Version 1.5.9:
* Added 1.19.3 support
* Updated dependencies
2023-01-01 18:56:45 -05:00
PretzelJohn ccaefbbac7 Version 1.5.8:
* Added config option to disable VTL (leaving vanilla trading) in certain worlds
2022-07-03 15:15:14 -04:00
PretzelJohn 65a8bdf267 Version 1.5.7:
* Add support for 1.19 items (updated NBT-API)
* Converted NBT-API dependency from copied code to shaded via maven
2022-06-14 22:04:57 -04:00
PretzelJohn 61bcea37b9 Version 1.5.6:
* Added "ghast_spawn_egg" to IgnoreHeldItems list in config.yml (supports SafariNet by default) - Thanks to Turjoy9
* Added "name_tag" to IgnoreHeldItems list in config.yml (fixes nametagging villagers with professions) - Thanks to Turjoy9
* Added a few more comments in VillagerTradeLimiter.java
2022-05-21 08:34:23 -04:00
PretzelJohn 8a46c9ab1c
Merge pull request #3 from Turjoy9/master
Disabling nametag by default so that name can be applied to villagers with professions.
2022-05-21 02:21:12 -04:00
Turjoy9 18e47efef4
Update config.yml
Disabling nametag by default so that name can be applied to villagers with professions.
2022-05-21 12:10:46 +06:00
PretzelJohn ec76d44e0d Version 1.5.6-pre1:
* Updated version number to 1.5.6
2022-05-02 10:12:10 -04:00
PretzelJohn 3513e97253
Merge pull request #2 from Turjoy9/master
Update config.yml
2022-05-02 10:09:53 -04:00
Turjoy9 b06f9c9871
Update config.yml 2022-05-02 19:57:54 +06:00
Turjoy9 4097d9d8f3
Update config.yml 2022-05-02 19:48:37 +06:00
Turjoy9 af2cd73737
Update config.yml
Adding support for Safarinet plugin by default.
2022-05-02 19:38:51 +06:00
PretzelJohn d328a575aa Version 1.5.5:
* Fixed MaxDemand bug when you buy something around 1500+ times back-to-back
2022-05-01 08:59:38 -04:00
PretzelJohn 2d97903db6 Version 1.5.5:
* Hopefully fixed MaxDemand bug when you buy something around 1500+ times back-to-back
2022-04-30 01:57:06 -04:00
PretzelJohn 030974f065 Version 1.5.4:
* Fixed IgnoreHeldItems again
2022-04-23 20:53:52 -04:00
PretzelJohn a3995b6adb Version 1.5.4:
* Fixed IgnoreHeldItems typo
2022-04-23 18:44:01 -04:00
PretzelJohn 72e2423741 Version 1.5.3-pre2:
* Add support for other plugins that cancel the PlayerInteractEntityEvent. No longer runs the interaction code when the event has already been cancelled.
* Add support for other plugins that use special items. For example, SafariNet captures villagers when a player uses a custom spawn egg on them. No longer runs the interaction code when the player is holding one of the items listed in config.yml
2022-04-10 21:32:26 -04:00
PretzelJohn 40c31a13c7 Version 1.5.3-pre1:
* Prevent moving items to/from invsee gui
* Barrier item in invsee gui now closes gui when clicked
2022-03-11 08:56:18 -05:00
PretzelJohn ea98a911d3 Version 1.5.2:
* Added support for 1.18.2 by updating NBT-API internal dependency
2022-03-05 09:01:42 -05:00
PretzelJohn f4a8ecd21c Version 1.5.1:
* Fixed an NBT error and missing items when config.yml had uppercase material names

To-do:
* Add enchantments, data, etc. to ingredients and result
* Add config editor GUI in-game
2022-01-22 05:05:06 -05:00
PretzelJohn dd49756014 Version 1.5.1:
* Fixed an NPE that occurred when a villager has no offers

To-do:
* Add enchantments, data, etc. to ingredients and result
* Add config editor GUI in-game
2022-01-21 21:08:24 -05:00
PretzelJohn afacf4adc8 Version 1.5.1:
* Add toggleable Shopkeepers support
* Made Citizens support toggleable

To-do:
* Add enchantments, data, etc. to ingredients and result
* Add config editor GUI in-game
2022-01-21 20:56:44 -05:00
PretzelJohn 5cc49188a7
Update README.md 2022-01-15 17:09:59 -05:00
PretzelJohn 8720e840e2 Version 1.5.0-pre4:
* Add per-villager restock cooldowns

To-do:
* Add enchantments, data, etc. to ingredients and result
* Add config editor GUI in-game
2022-01-15 12:10:28 -05:00
PretzelJohn 3aba0ff1c7 Version 1.5.0-pre3:
* Added global setting for per-player cooldowns

To-do:
* Add per-villager restock cooldowns
* Add enchantments, data, etc. to ingredients and result
* Add config editor GUI in-game
2022-01-15 09:46:56 -05:00
PretzelJohn 0e63df608f * Update readme to document new features 2022-01-11 04:53:06 -05:00
PretzelJohn e708187b33 Version 1.5.0-pre2:
* Add per-player restock cooldowns
* Finished commenting code

TO-DO:
* Add enchantment, custom model data, names, and lores to ingredient & result settings?
* GUI Editor
2022-01-11 04:22:52 -05:00
PretzelJohn 5110befd30 Version 1.5.0-pre1:
* Added /vtl see <player> command to see the trade prices of another player
* Added /vtl invsee command to see the inventory of a villager
* Added customizable help, success, error messages
* Added result slot options, so people can change the currency and amount of the resulting item from a trade
* Massive code rewrite for better sustainability and reliability
* Fixed villager inventory dupe bug: food in a villager's inventory would multiply 16+ times each time a player traded with the villager
* Smoothed out hero of the village, so the player never loses their original potion effect when trading with villagers

TO-DO:
* Add long-term restock cooldown
* Add enchantment, custom model data, names, and lores to ingredient & result settings?
* GUI Editor
2022-01-07 03:57:59 -05:00
PretzelJohn 446e677336 Version 1.4.4:
* Added feature to increase discounts by setting MaxDiscount to a number greater than 1.0
2021-12-23 02:17:49 -05:00
PretzelJohn b950195383 Version 1.4.2:
* Fix support for 1.16.5 and below

Version 1.4.3:
* Add global MaxUses setting (thanks to @Kid on Discord)
2021-12-21 01:56:02 -05:00
PretzelJohn c380de9800 Version 1.4.1:
* Fix disabled trade glitch
2021-12-16 16:33:21 -05:00
PretzelJohn 98be139384 Version 1.4.0:
* Added 1.18 and 1.18.1 support
* Migrated to NBT-API (thanks Jowcey!)
* Added MaxUses setting (thanks Jowcey!)
* Added fixed price and currency settings for both ingredients (Item1 and Item2) of a trade (thanks Jowcey!)
* Fixed config updater (thanks tchristofferson!)
* Updated readme
2021-12-15 15:30:01 -05:00
PretzelJohn 1d680d581d
Merge pull request #1 from Jowcey/master
New Features + 1.18 Update
2021-12-13 15:07:35 -05:00
Jowcey 47982a6e28 New Features + 1.18 Update 2021-12-13 16:37:00 +00:00
PretzelJohn 589efcbfdb Version 1.3.0:
* Added per-world disabled trading
* Added per-item disabled trading
2021-09-16 01:35:21 -04:00
PretzelJohn 960fd1c535 Version 1.2.1:
* Fixed NullPointerException when using "/vtl reload" from the console
2021-06-27 10:24:05 -04:00
PretzelJohn 4c12bb4bda Fixed typo for nms logic 2021-06-27 10:20:12 -04:00