auto
ab9a7b22cb
Refactor code for creating and retrieving villager profession
...
Removed the deprecated use of OldEnum and Villager.Profession.valueOf in creating villagers and retrieving their professions. Refactored code to use the more updated NamespacedKey and Registry methods to handle these tasks, enhancing both code stability and maintainability.
2024-07-20 01:35:20 +02:00
auto
30a7d85f3d
Update configuration file paths and enum usage
...
The configuration files for the VillagerShopUI have been relocated from the home directory to a mounted volume at "/mnt/configs/VillagerShopUI". Also, an outdated way of accessing enums in the 'CommandCreateVillager' class has been updated to use 'OldEnum' instead of 'Enum'.
2024-07-19 23:33:33 +02:00
auto
dc4b618a80
Remove redundant null check in WorthConfig
...
The revised version of WorthConfig.java removes a redundant check for null material. This null check was duplicated due to a merge.
2024-07-09 18:34:18 +02:00
auto
09cfc91dc0
Merge remote-tracking branch 'origin/master'
2024-07-09 18:33:05 +02:00
auto
9f18b41925
Update build configurations and add villager messaging functionality
...
This commit updates the version of the shadow plugin and the Java language version in the build configuration. Modifications have been made in the shadowJar configuration. The main feature in this commit is the introduction of a messaging system for villagers. This includes the necessary methods and fields in the existing villager classes and the addition of a new VillagerMessagesConfig class. Messages can now be added via config and each villager type can potentially return a random message when interacted with. A sound effect has also been added to correlate with the villager type. The WorthConfig class has been additionally refined to handle invalid material cases.
2024-07-09 18:32:50 +02:00
auto
cbae508f04
Added random variations of Tropical fish buckets and Axolotl buckets for the trade gui
2023-09-10 23:06:36 +02:00
auto
cd2b23c7c2
Fix <points> placeholder being in trade gui
2023-09-10 22:50:36 +02:00
auto
5d2dfd9e19
Fixed potentially failing to load worth file if a material is invalid
2023-09-06 00:05:47 +02:00
auto
b0f4d39b47
Added BlackMarketVillagerType
2023-08-05 03:02:23 +02:00
auto
cea765e157
Renamed and fixed function that retrieves the next execution time
2023-04-23 22:08:51 +02:00
auto
329d5993fe
Sync save time less dependent on tick time
2023-04-23 21:24:16 +02:00
auto
628dd2827e
Sync save time with all servers by making it run at a synchronized interval
2023-04-23 02:04:27 +02:00
auto
3857dfe351
Updated api version
2023-04-23 02:04:04 +02:00
auto
86622edf17
Allowed bulk selling with shulkers
2023-03-10 03:55:03 +01:00
auto
2fcc1e4afa
Fixed points not properly resettings to zero when they are close due to being able to flip flop between - and + near 0
2023-01-21 23:22:17 +01:00
auto
0440ab102f
Fixed using anonymous class for saving user data.
...
Fixed being unable to configure logging/saving frequency
2023-01-21 23:08:07 +01:00
auto
5ce29f3967
Moved to using DataLock API
2023-01-03 22:51:50 +01:00
auto
9ef6d87d0a
Fixed user not being loaded in from the database if it was loaded before
2022-09-18 02:39:17 +02:00
auto
5ea05c7869
Changed usermap to be synchronized
2022-09-06 05:58:53 +02:00
auto
3ec0e30f57
Fixed concurrency issues with user map
2022-08-28 21:37:30 +02:00
auto
e1a059feab
Updated to 1.19
2022-06-09 18:33:24 +02:00
auto
49bbf4fe1b
Remove user from queriedUsers when they log off
2022-06-01 18:36:52 +02:00
auto
24ac456c17
Improved logging for debug
2022-05-30 05:59:15 +02:00
auto
25a9eb1f58
Added more logging for debug
2022-05-30 05:32:28 +02:00
auto
23c0ed066d
Fixed double adding user and check if user is loaded
2022-05-30 05:10:37 +02:00
auto
e28d6c4e34
Started using data lock
2022-05-15 22:39:08 +02:00
auto
3b71fdc810
Fixed /points showing buy discount instead of sell
2022-03-15 00:28:10 +01:00
auto
a10a5d1ab9
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/main/java/com/alttd/commands/subcommands/CommandPoints.java
2022-03-15 00:27:19 +01:00
auto
cd7fa945bb
Fixed /points showing buy discount instead of sell
2022-03-15 00:26:24 +01:00
auto
640aed9a48
Added a way to manually overwrite points per item
2022-03-03 02:33:18 +01:00
auto
c3e49735f0
Fixed yMultBuy and yMultSell
2022-02-24 04:13:50 +01:00
auto
55b675086a
Fixed file permission, and not creating folders. Fixed rounding
2022-01-28 04:05:44 +01:00
auto
95204f9daf
Updated author
2022-01-28 04:05:29 +01:00
auto
af5fb054cc
Added logging for total amount of money added/removed from econ per material using VillagerUI
2022-01-23 18:04:37 +01:00
auto
647fcd389a
Fix points command
2022-01-13 23:53:32 +01:00
auto
f85f3633fb
Sort villager's products
2022-01-12 20:16:46 +01:00
auto
d9be83ae62
Don't display - in prices/points when selling/buying
2022-01-12 19:30:40 +01:00
auto
ac0f050071
Added current multiplier to points command
2022-01-12 03:26:54 +01:00
auto
168cb55b51
Disabled collision for villagers
2022-01-12 02:12:50 +01:00
auto
a50de19f2e
Removed unused import
2022-01-12 02:11:33 +01:00
auto
83cd1b2744
Stop VillagerUI villagers from being damaged
2022-01-12 02:10:03 +01:00
auto
a5a019d1e6
Display price as positive and have the messages explain
2022-01-12 02:01:12 +01:00
auto
edf98f9204
Prevented accidental fast double clicks
2022-01-12 01:11:01 +01:00
auto
10b4b52297
Added help messages for buy/sell commands
2022-01-12 01:10:27 +01:00
auto
219c9024bd
Added buy/points/sell command
2022-01-11 02:13:08 +01:00
auto
64cb948038
Fixed help message not sending properly when no args are given
2022-01-11 00:16:57 +01:00
auto
cdc3a58815
Always send price with 2 decimal numbers
2022-01-11 00:03:57 +01:00
auto
b7e8ba74b5
Finished adding confirm button
...
Fixed controlling gui from player inventory
2022-01-10 22:36:25 +01:00
auto
f8dccf5645
Started work on confirm button
2022-01-10 19:53:09 +01:00
auto
58cd8b868d
prevent potions from affecting trader villagers
2022-01-10 19:50:21 +01:00
auto
7fa71e06a0
Half converted buy ui to use confirmation
2022-01-07 00:21:27 +01:00
auto
0eb28ddf75
Fixed templates
...
Fixed item stack amount being changed permanently
2022-01-06 00:35:50 +01:00
auto
14e53de6e6
color change for item name
2022-01-05 22:20:24 +01:00
auto
8619e0dd94
Added total points to buy/sell message
2022-01-05 22:19:55 +01:00
auto
4c71b30434
Removed unused imports
2022-01-05 21:43:56 +01:00
auto
2c7118501b
Free space message
2022-01-05 21:43:47 +01:00
auto
fc061055d4
Try to improve getting price
2022-01-05 21:43:26 +01:00
auto
35030475aa
Prevent accidentally buying more than you can fit
2022-01-05 21:43:12 +01:00
auto
149dd46eaf
Added bulk selling/buying
2022-01-05 21:42:23 +01:00
auto
c5daa2246b
Merge branch 'master' of https://github.com/Altitude-Devs/VillagerShopUI
2022-01-04 00:23:47 +01:00
auto
c1a13c6674
Wait fuck I did need this
2022-01-04 00:23:30 +01:00
auto
5aaf377230
Removed unused code
2022-01-03 23:53:06 +01:00
auto
ac29621948
Removed unused config section
2022-01-03 23:52:57 +01:00
auto
12b2938472
Removed unused code
2022-01-03 22:48:41 +01:00
auto
be6c17b32e
Maybe did something to fix rounding idk
2022-01-03 01:52:32 +01:00
auto
63b2e58554
Fixed pricing steps
2022-01-03 01:50:37 +01:00
auto
d47e4642dd
Stopped people from stealing VillagerShop villagers with a boat (or any vehicle)
2022-01-03 01:50:19 +01:00
auto
97860c7da5
Added points in message and fixed price and point calculations
2022-01-02 20:30:33 +01:00
auto
d45c2f9ace
Fixed stuff and did stuff and i forgot sorry to anyone reading this
2022-01-02 06:15:07 +01:00
auto
861d3ea2a3
Fixed price point calculations
2021-12-31 18:44:49 +01:00
auto
d59c58f066
Updated MiniMessage
2021-12-31 18:44:32 +01:00
auto
de11502f37
Attempted to fix price
2021-12-23 23:00:59 +01:00
auto
53f37c2a86
Cancel villager click event when clicking a villager shop ui villager
2021-12-23 22:58:06 +01:00
auto
451597ca59
Fixed setting instead of adding points
2021-12-23 22:57:50 +01:00
auto
1feff9e412
Changes
2021-12-23 22:52:13 +01:00
auto
5d7467e062
Remove villager from config
2021-12-23 22:51:22 +01:00
auto
b52aaee628
Remove entity from world on delete
2021-12-23 22:51:12 +01:00
auto
f0c9edfdac
moved removing items from inventory
2021-12-23 16:40:56 +01:00
auto
f34ba069ee
Fixed logging
2021-12-23 16:40:42 +01:00
auto
317c294599
Changed updateUserPoints to void because the boolean is never used anyways
2021-12-23 16:15:36 +01:00
auto
3672ff0e5e
Actually executing the update user points query now...
2021-12-23 16:13:48 +01:00
auto
1cb61421d9
Added some debug messages
2021-12-23 16:13:17 +01:00
auto
7f2b828763
renamed VillagerInteract
2021-12-23 03:15:38 +01:00
auto
bf43f88d9b
Added some debug messages
2021-12-23 03:14:08 +01:00
auto
9ece3e6d5d
Fixed updating seen time
2021-12-23 03:03:17 +01:00
auto
f471e83618
Added remove villager command
2021-12-23 03:03:00 +01:00
auto
391d58efeb
10 minutes, not 5*
2021-12-23 02:18:23 +01:00
auto
b3ae5e67d8
Remove points from user every 10 minutes and sync them at the same time
2021-12-23 02:18:07 +01:00
auto
68978ad13c
Made login async
2021-12-22 21:12:02 +01:00
auto
6fd575dc2e
Remove user from GUIByUUID list
2021-12-22 21:07:40 +01:00
auto
762b0e2a30
Added login/out events to add/remove users from the tracked user list
2021-12-22 21:02:29 +01:00
auto
7e5123d7fe
Added functions to sync user points, remove users, and remove user points
2021-12-22 21:01:55 +01:00
auto
0af3bcb843
Fixed items below $4 getting an invalid point calculation
2021-12-22 21:00:58 +01:00
auto
6c72ac417e
Updated comments where needed
2021-12-22 21:00:28 +01:00
auto
3b982dbf3e
Added last seen queries
2021-12-22 20:59:34 +01:00
auto
f8e4b11c90
Added last seen queries
2021-12-22 20:59:24 +01:00
auto
58d833f870
Changed updateUserPoints to be settings points instead of adding to existing points and doing it for all points a user has in one go
2021-12-22 20:59:01 +01:00
auto
bd46ce7df7
Changed updateUserPoints to be settings points instead of adding to existing points and doing it for all points a user has in one go
2021-12-22 20:58:50 +01:00
auto
51fb4758d5
Added user seen table
2021-12-22 20:58:10 +01:00
auto
fa39c1a95b
Fixed update and set points query
2021-12-21 03:30:37 +01:00