Commit Graph

68 Commits

Author SHA1 Message Date
Teriuihi f0c9edfdac moved removing items from inventory 2021-12-23 16:40:56 +01:00
Teriuihi f34ba069ee Fixed logging 2021-12-23 16:40:42 +01:00
Teriuihi 317c294599 Changed updateUserPoints to void because the boolean is never used anyways 2021-12-23 16:15:36 +01:00
Teriuihi 3672ff0e5e Actually executing the update user points query now... 2021-12-23 16:13:48 +01:00
Teriuihi 1cb61421d9 Added some debug messages 2021-12-23 16:13:17 +01:00
Teriuihi 7f2b828763 renamed VillagerInteract 2021-12-23 03:15:38 +01:00
Teriuihi bf43f88d9b Added some debug messages 2021-12-23 03:14:08 +01:00
Teriuihi 9ece3e6d5d Fixed updating seen time 2021-12-23 03:03:17 +01:00
Teriuihi f471e83618 Added remove villager command 2021-12-23 03:03:00 +01:00
Teriuihi 391d58efeb 10 minutes, not 5* 2021-12-23 02:18:23 +01:00
Teriuihi b3ae5e67d8 Remove points from user every 10 minutes and sync them at the same time 2021-12-23 02:18:07 +01:00
Teriuihi 68978ad13c Made login async 2021-12-22 21:12:02 +01:00
Teriuihi 6fd575dc2e Remove user from GUIByUUID list 2021-12-22 21:07:40 +01:00
Teriuihi 762b0e2a30 Added login/out events to add/remove users from the tracked user list 2021-12-22 21:02:29 +01:00
Teriuihi 7e5123d7fe Added functions to sync user points, remove users, and remove user points 2021-12-22 21:01:55 +01:00
Teriuihi 0af3bcb843 Fixed items below $4 getting an invalid point calculation 2021-12-22 21:00:58 +01:00
Teriuihi 6c72ac417e Updated comments where needed 2021-12-22 21:00:28 +01:00
Teriuihi 3b982dbf3e Added last seen queries 2021-12-22 20:59:34 +01:00
Teriuihi f8e4b11c90 Added last seen queries 2021-12-22 20:59:24 +01:00
Teriuihi 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
Teriuihi 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
Teriuihi 51fb4758d5 Added user seen table 2021-12-22 20:58:10 +01:00
Teriuihi fa39c1a95b Fixed update and set points query 2021-12-21 03:30:37 +01:00
Teriuihi 665566dbb3 Fixed item capitalization 2021-12-21 03:30:19 +01:00
Teriuihi 3143eb4624 Added settings villager biome on creation 2021-12-21 03:19:26 +01:00
Teriuihi 0eaed2d86a Fixed price in purchase message 2021-12-21 03:19:08 +01:00
Teriuihi 58058a4324 Added not enough items/ sold item message 2021-12-21 03:18:46 +01:00
Teriuihi abbb46e1e8 Allow settings biomes and added configurable professions 2021-12-21 03:18:31 +01:00
Teriuihi 41afbfea39 Fixed rounding 2021-12-21 03:18:06 +01:00
Teriuihi 72c734b138 Added sell message, added selling items 2021-12-21 03:17:58 +01:00
Teriuihi 38e54a2704 Set default points to 0 when getting existing points (in case there are none) 2021-12-19 19:21:20 +01:00
Teriuihi c780054f24 Fixed never getting users from the database (I don't think we're adding them yet but that's for another time :)))) (im gonna forget and be confused for sure) 2021-12-18 01:34:42 +01:00
Teriuihi 3ccd198b9e why was this moved?? im dumb ig 2021-12-18 01:09:53 +01:00
destro174 88565d9e6c Drop maven, get Gradle 2021-12-17 20:55:15 +01:00
destro174 eeb88f0f41 Drop maven, get Gradle 2021-12-17 20:54:43 +01:00
Teriuihi 523a7fe16b Added math stuff to calculate price based on points (thanks everett) 2021-12-17 20:44:38 +01:00
Stijn 8d143b931a Allow public key retrieval 2021-11-17 19:41:00 +01:00
Stijn dec8b50317 Changed database to not be static 2021-11-17 19:32:21 +01:00
Stijn 34f83f20a1 Added vault depend 2021-11-10 21:03:18 +01:00
Stijn 755f8a4324 Improved getting econ 2021-11-10 20:29:27 +01:00
stjn 6893d7bac7 Added points to buy and sell events 2021-11-10 20:08:16 +01:00
stjn 9236befd7f Fixed regex for double validation in config 2021-11-10 20:03:39 +01:00
stjn f76543b494 Run query async 2021-11-10 18:00:10 +01:00
stjn 020fedb029 Added build script to git ignore 2021-11-10 17:38:11 +01:00
stjn 70363d8bf3 Fixed incorrect function calls 2021-11-10 17:38:00 +01:00
stjn 967fd83bfb Reworked points to be based on item price 2021-11-10 17:23:33 +01:00
stjn 99d8a5007e Reworked points to be based on item price 2021-11-10 16:58:47 +01:00
stjn 7584df32f4 Added sell/buy event 2021-11-10 15:59:18 +01:00
stjn 4a0c48a2c3 Check if player has permission to interact with the villager 2021-11-10 15:18:14 +01:00
stjn 47405bdcb7 Formatting 2021-11-10 15:08:54 +01:00