myzticbean / QSFindItemAddOn

An Minecraft add-on plugin for the QuickShop Hikari and Reremake Shop plugins for Spigot server platform.
https://modrinth.com/plugin/shop-search
GNU General Public License v3.0
6 stars 4 forks source link

Redo Olzie's PlayerWarps support | Adds #38 #39

Closed lukemango closed 2 months ago

lukemango commented 2 months ago

Show the nearest player warp owned by the same player as the shop. Also optimised imports.

lukemango commented 2 months ago

resolves #38

myzticbean commented 2 months ago

@lukemango is this only going to show warp in GUI that the player who initiated the search owns? What if someone wants to show all public warps ?

lukemango commented 2 months ago

@lukemango is this only going to show warp in GUI that the player who initiated the search owns? What if someone wants to show all public warps ?

No, it will show the owner of the shop's nearest warp under each shop: https://github.com/myzticbean/QSFindItemAddOn/pull/39/files#diff-b6417f4fae5020d4172903b5f8c4774183b2c692ad0cd9cd968a2e4a14dafb06R332

Currently it shows the nearest warp, which when there are several in close proximity (ie: a mall) that becomes an issue and teleports people to the wrong one.