Commit Graph

144 Commits

Author SHA1 Message Date
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
Teriuihi a50de19f2e Removed unused import 2022-01-12 02:11:33 +01:00
Teriuihi 83cd1b2744 Stop VillagerUI villagers from being damaged 2022-01-12 02:10:03 +01:00
Teriuihi a5a019d1e6 Display price as positive and have the messages explain 2022-01-12 02:01:12 +01:00
Teriuihi edf98f9204 Prevented accidental fast double clicks 2022-01-12 01:11:01 +01:00
Teriuihi 10b4b52297 Added help messages for buy/sell commands 2022-01-12 01:10:27 +01:00
Teriuihi 219c9024bd Added buy/points/sell command 2022-01-11 02:13:08 +01:00
Teriuihi 64cb948038 Fixed help message not sending properly when no args are given 2022-01-11 00:16:57 +01:00
Teriuihi cdc3a58815 Always send price with 2 decimal numbers 2022-01-11 00:03:57 +01:00
Teriuihi 1c9fa8a4b6
Merge pull request #1 from Altitude-Devs/confirmButton
Confirm button
2022-01-10 22:38:04 +01:00
Teriuihi b7e8ba74b5 Finished adding confirm button
Fixed controlling gui from player inventory
2022-01-10 22:36:25 +01:00
Teriuihi f8dccf5645 Started work on confirm button 2022-01-10 19:53:09 +01:00
Teriuihi 58cd8b868d prevent potions from affecting trader villagers 2022-01-10 19:50:21 +01:00
Teriuihi 7fa71e06a0 Half converted buy ui to use confirmation 2022-01-07 00:21:27 +01:00
Teriuihi 0eb28ddf75 Fixed templates
Fixed item stack amount being changed permanently
2022-01-06 00:35:50 +01:00
Teriuihi 14e53de6e6 color change for item name 2022-01-05 22:20:24 +01:00
Teriuihi 8619e0dd94 Added total points to buy/sell message 2022-01-05 22:19:55 +01:00