Commit Graph

179 Commits

Author SHA1 Message Date
Len 795650a373 Update TransactionListener.java 2023-06-27 17:11:01 +02:00
Len 7553df9c12 Add GriefPreventionListener to listen to GriefPreventionEvents 2023-06-27 16:49:47 +02:00
Len fa2d5689fb Use EventPriority.HIGHEST for shopinteraction 2023-06-27 16:32:57 +02:00
Len 584224577a Update plugin.yml 2023-06-27 16:32:30 +02:00
Len 308b0965c1 Update gradle-wrapper.properties 2023-06-27 16:32:14 +02:00
Len 09be9e5e46 1.20.1 2023-06-19 10:01:09 +02:00
Stijn 455b5ebb8d
Merge pull request #14 from Altitude-Devs/ClaimExpirationEvent
Add back shop expiration when claims expire
2023-06-04 21:36:16 +02:00
Stijn da367ae179
Merge pull request #15 from Altitude-Devs/dev/shopcommand
Dev/shopcommand
2023-06-04 21:36:06 +02:00
Teriuihi af59775ac3 Fix getRemainingStock not accounting for shop type (it assumed all shops were buy shops) 2023-06-04 21:34:21 +02:00
Teriuihi 59ef4c23ea Added a way to highlight shops that are low on stock 2023-01-22 22:05:14 +01:00
Teriuihi 55cb197b0b Changed getStock to only return the actual stock they have left instead of the total amount of items left (and protected it) 2023-01-22 22:04:46 +01:00
Teriuihi da5e514422 Fix incorrect number of arguments in command
Fix check stock command checking total items left, not total amount of purchases left
2023-01-22 21:37:00 +01:00
Teriuihi d3ba5be040 Made stock checking work for everyone 2023-01-22 01:47:35 +01:00
Len 057df73513 Add back shop expiration when claims expire 2023-01-11 17:56:17 +01:00
Len c04142cf2a Rework commands 2022-11-22 09:27:49 +01:00
Teriuihi 72fd7efc86 Fixed weird stock message when stock not specified and no shops are found 2022-11-11 04:27:34 +01:00
Teriuihi 515613c36d Added check stock command 2022-11-11 04:21:15 +01:00
Len dccbaea32b Fix spacing 2022-10-04 09:22:52 +02:00
Len 69d90e16b5 Log error when shop can't be saved. 2022-10-03 20:38:15 +02:00
Teriuihi 76c68f6bfa Added stock check for shift left clicking a sign 2022-10-01 06:09:28 +02:00
Len 5c228e134a Set archiveFileName. 2022-09-26 08:34:42 +02:00
Len 8cb2ed7648 Add bypass permission 2022-09-26 08:32:25 +02:00
Stijn 2ab2381579 Fixed AUTO_INCREMENT 2022-09-19 21:52:55 +02:00
Stijn 64a819b943 Fixed incorrect save order when adding balance to shop 2022-09-19 19:18:44 +02:00
Len 0674c969db Check if transactions table has to be created and fix logging transactions. 2022-09-18 19:48:32 +02:00
Len 0e73b5ee41 Check itemmeta when comparing items 2022-09-18 14:48:57 +02:00
Len 6eacfb2256 Remove unused shopmaterials in ShopHandler.java 2022-09-18 11:31:10 +02:00
Len 1089a06f3e SuppressWarnings("unused") 2022-09-18 11:30:14 +02:00
Len 6fc23b5d33 Load conversation prompts from MessageConfig.java 2022-09-18 11:29:40 +02:00
Len a6fe300a67 Fix shop limit permission. 2022-09-18 10:15:07 +02:00
Teriuihi 2b0ce135c5 Fixed money dupe bug due to database only storing the secon to last remove balance 2022-09-14 00:57:30 +02:00
Teriuihi 053c8f7060 Added a title to the shop management gui 2022-09-11 17:41:00 +02:00
Len e568eec906 Add maven-publish plugin 2022-09-11 10:57:29 +02:00
Teriuihi 4ff2237c2a Extended max length of words on signs 2022-09-11 03:36:41 +02:00
Teriuihi 6280373e4a Added message for player not having enough money to make a shop 2022-09-11 03:36:25 +02:00
Len 439796a7f4 Use Components in ConverstationManager.java 2022-09-10 13:54:37 +02:00
Len bc2c38263a Add more util methods for Minimessage 2022-09-10 13:08:17 +02:00
Len 7b0fd3a9cb Do not echo back messages in conversations. 2022-09-10 12:50:20 +02:00
destro174 06a9511874
Merge pull request #13 from Altitude-Devs/shop_info
Shop info, Fixes #9
2022-09-02 08:57:01 +02:00
Len acc120dcde rebase on main 2022-09-02 08:56:40 +02:00
Teriuihi a17e484f79 Fix NPE for item component 2022-09-02 08:54:27 +02:00
Teriuihi d0dc044ca9 Show rounded price in info message 2022-09-02 08:54:27 +02:00
Teriuihi a4065ee41c Better fix for prices rounding 2022-09-02 08:54:27 +02:00
Teriuihi 4215d18ca5 Fixed Message Config and reloading 2022-09-02 08:54:16 +02:00
Stijn aa00c8d1f7 Trimmed item name and price on signs 2022-09-02 08:51:34 +02:00
Stijn 41cb2b2b65 Changed shop info to show the actual item in the shop when hovering over its name 2022-09-02 08:51:34 +02:00
Stijn cda2a0b216 Added a way to display all info on a shop 2022-09-02 08:51:34 +02:00
destro174 d23b8e0f1d
Merge pull request #12 from Altitude-Devs/messages
Messages, Fixes #6
2022-09-02 08:34:38 +02:00
Teriuihi 9051b755f5 Fix NPE for item component 2022-09-02 03:57:02 +02:00
Teriuihi d639367026 Show rounded price in info message 2022-09-02 03:56:49 +02:00