Commit Graph

157 Commits

Author SHA1 Message Date
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
stjn c9987795bc Added points to users 2021-11-08 20:28:25 +01:00
stjn 7066c032cf Charge money/give money when buying/selling 2021-11-07 18:23:54 +01:00
stjn 5ce955d6ee Charge money/give money when buying/selling 2021-11-07 18:10:50 +01:00
stjn 4b5e09c553 Prepared buy/sell gui for actually functioning 2021-11-03 17:04:58 +01:00
stjn 8a53111350 Added more untested queries 2021-11-03 16:54:22 +01:00
stjn 784cf905fb Added logger class that takes variables and replaces % with them 2021-11-03 16:54:12 +01:00
stjn f09061f6b6 Added basic database (untested) 2021-11-03 14:35:53 +01:00
Teriuihi c538a68160 Made opening the gui's async 2021-10-23 14:43:11 +02:00
Teriuihi 4bb26035d6 Created a point system to be used for prices 2021-10-23 14:42:55 +02:00
Teriuihi d72930cb67 Removed debug print statement 2021-10-21 17:32:26 +02:00
Teriuihi 9c18baa21e Fixed rounding, fixed not calculating items with weird meta 2021-10-21 17:31:15 +02:00