BrendonButler / Shops

Shops plugin for Bukkit/Spigot 1.20
https://www.sparkzz.net/projects?id=shops
GNU General Public License v2.0
1 stars 0 forks source link

Display a paginated list of shop items and add a basic shop info page #13

Closed BrendonButler closed 1 year ago

BrendonButler commented 1 year ago

When using a command such as /shop buy, /shop sell or /shop browse, display a page with the shop name in the title and a list of items with their prices, max quantity, and current quantity (relevant to the current command). At the bottom it should display the current page and the total number of pages. Specifying a page number will display the nth page (/shop buy 3 would show the 3rd page).

At the same time, it may be useful to add a shop info page which would show some stats and info about the shop.

Complete after GH-9

BrendonButler commented 1 year ago

I didn't realize that Minecraft's font is not monospaced, so the alignment functions don't work properly on the default resource pack. It's close enough, and I'll find a way to revise this in the future.