Flowsqy / ShopChest

ShopChest - Spigot/Bukkit Plugin
MIT License
23 stars 13 forks source link

Request: Buy Custom Quantities with Commands #8

Open SheerYin opened 2 years ago

SheerYin commented 2 years ago

For example, if a player wants to buy 10,000 items, he can use "/shop buy 10000" (the shop targeted by the crosshair, or select the shop with a wooden stick and operate) And "/shop sell 10000"

I have understood that Shift+left and right keys can achieve one-time 64, but it cannot solve large orders, nor does it support custom quantities such as: 32, 45

Also use command instead of chat input count Consider Sync Chat compatibility for Bungee servers

Flowsqy commented 2 years ago

Thx for the suggestion ! Currently I can't write any line of code as I'm in holidays. This feature should be easy to implement after A LOT of modification in the code on the buy and sell process. (Implementing it without theses changes would be a pure nightmare). As it must take a long time, idk when it will be available. Btw, what do you mean by bungeecord support ? This feature should send messages only to the player who make the command. (Otherwise I did not understand properly)

SheerYin commented 2 years ago

Thx for the suggestion ! Currently I can't write any line of code as I'm in holidays. This feature should be easy to implement after A LOT of modification in the code on the buy and sell process. (Implementing it without theses changes would be a pure nightmare). As it must take a long time, idk when it will be available. Btw, what do you mean by bungeecord support ? This feature should send messages only to the player who make the command. (Otherwise I did not understand properly)

What I want to say is that, similar to the store "QuickShop", he uses the chat box to get the Number Causes it to not work on any Bungee chats because those Bungee chats overwrite/modify/intercept chats

So, try to use commands to customize numbers

Flowsqy commented 2 years ago

Ok, so using commands was already a way to solve this behavior. Bungeecord is not supposed to break anything in Spigot plugin but whatever, I'm not the QuickShop developer x)