Teriuihi
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
Teriuihi
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
Teriuihi
09cfc91dc0
Merge remote-tracking branch 'origin/master'
2024-07-09 18:33:05 +02:00
Teriuihi
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
Len
c8802b9e13
Update gradle
2023-12-31 16:36:39 +01:00
Len
ae3baa5b81
Do not error when loading in null materials
2023-12-31 16:35:12 +01:00
Teriuihi
cbae508f04
Added random variations of Tropical fish buckets and Axolotl buckets for the trade gui
2023-09-10 23:06:36 +02:00
Teriuihi
cd2b23c7c2
Fix <points> placeholder being in trade gui
2023-09-10 22:50:36 +02:00
Teriuihi
5d2dfd9e19
Fixed potentially failing to load worth file if a material is invalid
2023-09-06 00:05:47 +02:00
Teriuihi
b0f4d39b47
Added BlackMarketVillagerType
2023-08-05 03:02:23 +02:00
Teriuihi
cea765e157
Renamed and fixed function that retrieves the next execution time
2023-04-23 22:08:51 +02:00
Teriuihi
329d5993fe
Sync save time less dependent on tick time
2023-04-23 21:24:16 +02:00
Teriuihi
628dd2827e
Sync save time with all servers by making it run at a synchronized interval
2023-04-23 02:04:27 +02:00
Teriuihi
3857dfe351
Updated api version
2023-04-23 02:04:04 +02:00
Teriuihi
86622edf17
Allowed bulk selling with shulkers
2023-03-10 03:55:03 +01:00
Teriuihi
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
Teriuihi
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
Teriuihi
5ce29f3967
Moved to using DataLock API
2023-01-03 22:51:50 +01:00
Teriuihi
9ef6d87d0a
Fixed user not being loaded in from the database if it was loaded before
2022-09-18 02:39:17 +02:00
Teriuihi
5ea05c7869
Changed usermap to be synchronized
2022-09-06 05:58:53 +02:00
Teriuihi
ed46f6b790
Merge pull request #2 from Altitude-Devs/maps
...
Maps
2022-08-29 00:39:03 +02:00
Len
a9dff7fb68
Cheaper check
2022-08-28 23:46:36 +02:00
Len
9f5d979584
Switch to Object2ObjectOpenHashMap for smaller footprint
2022-08-28 23:24:54 +02:00
Teriuihi
3ec0e30f57
Fixed concurrency issues with user map
2022-08-28 21:37:30 +02:00
Teriuihi
e1a059feab
Updated to 1.19
2022-06-09 18:33:24 +02:00
Stijn
f167e43d4b
Fix saving after unlock
2022-06-06 21:48:29 +02:00
Teriuihi
49bbf4fe1b
Remove user from queriedUsers when they log off
2022-06-01 18:36:52 +02:00
Teriuihi
24ac456c17
Improved logging for debug
2022-05-30 05:59:15 +02:00
Teriuihi
25a9eb1f58
Added more logging for debug
2022-05-30 05:32:28 +02:00
Teriuihi
23c0ed066d
Fixed double adding user and check if user is loaded
2022-05-30 05:10:37 +02:00
Stijn
534978cef3
Fixed unlocking player data before updating last seen
2022-05-25 19:47:03 +02:00
Darko
6775c74599
Made /points all, made it so there's a different message when you don't have any points
2022-05-25 17:46:53 +02:00
Teriuihi
e28d6c4e34
Started using data lock
2022-05-15 22:39:08 +02:00
Stijn
bd8c6f414c
Started work on using data-lock for database queries
2022-05-11 22:01:22 +02:00
Darko
82fbe5370c
Added /points all, not tested
2022-05-09 05:51:16 +02:00
Darko
9605c7ac13
Don't print points for villager if it's 0
2022-04-01 02:19:13 +02:00
Teriuihi
3b71fdc810
Fixed /points showing buy discount instead of sell
2022-03-15 00:28:10 +01:00
Teriuihi
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
Teriuihi
cd7fa945bb
Fixed /points showing buy discount instead of sell
2022-03-15 00:26:24 +01:00
destro174
88f1f513da
Update to 1.18.2
2022-03-14 14:42:24 +01:00
Teriuihi
640aed9a48
Added a way to manually overwrite points per item
2022-03-03 02:33:18 +01:00
Teriuihi
c3e49735f0
Fixed yMultBuy and yMultSell
2022-02-24 04:13:50 +01:00
Teriuihi
55b675086a
Fixed file permission, and not creating folders. Fixed rounding
2022-01-28 04:05:44 +01:00
Teriuihi
95204f9daf
Updated author
2022-01-28 04:05:29 +01:00
Teriuihi
af5fb054cc
Added logging for total amount of money added/removed from econ per material using VillagerUI
2022-01-23 18:04:37 +01:00
Teriuihi
647fcd389a
Fix points command
2022-01-13 23:53:32 +01:00
Teriuihi
f85f3633fb
Sort villager's products
2022-01-12 20:16:46 +01:00
Teriuihi
d9be83ae62
Don't display - in prices/points when selling/buying
2022-01-12 19:30:40 +01:00
Teriuihi
ac0f050071
Added current multiplier to points command
2022-01-12 03:26:54 +01:00
Teriuihi
168cb55b51
Disabled collision for villagers
2022-01-12 02:12:50 +01:00