Commit Graph
130 Commits
Author SHA1 Message Date
auto 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
auto 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
auto 72fd7efc86 Fixed weird stock message when stock not specified and no shops are found 2022-11-11 04:27:34 +01:00
auto 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
auto 76c68f6bfa Added stock check for shift left clicking a sign 2022-10-01 06:09:28 +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
auto 2b0ce135c5 Fixed money dupe bug due to database only storing the secon to last remove balance 2022-09-14 00:57:30 +02:00
auto 053c8f7060 Added a title to the shop management gui 2022-09-11 17:41:00 +02:00
auto 4ff2237c2a Extended max length of words on signs 2022-09-11 03:36:41 +02:00
auto 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
autoandLen a17e484f79 Fix NPE for item component 2022-09-02 08:54:27 +02:00
autoandLen d0dc044ca9 Show rounded price in info message 2022-09-02 08:54:27 +02:00
autoandLen a4065ee41c Better fix for prices rounding 2022-09-02 08:54:27 +02:00
autoandLen 4215d18ca5 Fixed Message Config and reloading 2022-09-02 08:54:16 +02:00
StijnandLen aa00c8d1f7 Trimmed item name and price on signs 2022-09-02 08:51:34 +02:00
StijnandLen 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
StijnandLen cda2a0b216 Added a way to display all info on a shop 2022-09-02 08:51:34 +02:00
destro174andGitHub d23b8e0f1d Merge pull request #12 from Altitude-Devs/messages
Messages, Fixes #6
2022-09-02 08:34:38 +02:00
Len 858162165f Add ShopBalance to the player when shop is broken. 2022-09-01 10:43:22 +02:00
Len 31c80fa92d Prevent dying shopsigns, Fixes #8 2022-09-01 10:10:25 +02:00
Stijn baf1a3696b Added shop type permission error to config 2022-08-31 20:51:15 +02:00
Stijn 2228e45ed4 Send different message for not having enough items/money 2022-08-31 20:00:36 +02:00
Stijn ad656391fb Send different message for buying/selling from/to shop 2022-08-31 19:56:33 +02:00
Len 89acf0c10e Do not validate shoptype input twice, Fixes #4 2022-08-31 10:10:18 +02:00
Len e49906fc75 Prevent players from breaking shops while they are conversing, Fixes #7 2022-08-31 10:08:19 +02:00
Len ed186b37bb Remove a debug message 2022-08-30 10:13:41 +02:00
auto 4ad7d4995e Merge remote-tracking branch 'origin/dev/rewrite' into dev/rewrite
# Conflicts:
#	src/main/java/com/alttd/playershops/listener/TransactionListener.java
2022-08-28 20:51:54 +02:00
auto 09c3349048 Added messages/placeholders for failed transactions 2022-08-28 20:50:29 +02:00
Len f646d1283b Add placeholds to TransactionListener.java 2022-08-28 20:47:05 +02:00
Len 789a4e0e3b Add placeholds to ShopManagementGui.java 2022-08-28 19:50:33 +02:00
Len 176e997b9e Check if player has balance before trying to add money to shop 2022-08-28 19:46:34 +02:00
Len 777a240757 Prevent stacking Conversations 2022-08-28 19:44:48 +02:00
auto fe82ccfa43 Removed extra call to #toLowerCase 2022-08-28 19:17:39 +02:00
Len b07bf2a92b Merge branch 'dev/rewrite' of https://github.com/Altitude-Devs/PlayerShops into dev/rewrite 2022-08-28 00:53:12 +02:00
Len 8d17848b6b Add more listeners and events to listen to 2022-08-28 00:53:00 +02:00