EpicEricEE / ShopChest

ShopChest - Spigot/Bukkit Plugin
MIT License
45 stars 57 forks source link

Feature suggestion: Automatically remove inactive shops #286

Closed Magnum97 closed 4 years ago

Magnum97 commented 5 years ago

Hi, I had an idea of auto-removing shops from players that are offline for a period of time. I decided to write it myself. I'm not sure if you are interested, but I wrote a hook to Essentials that checks last online, and removes if greater than (config) amount of days. Let me know if you are interested in a pull request. Minecraft 1 12 2 10_26_2019 9_03_10 AM

Note: for testing, shop was removed because of UUID match as I did not want to wait days between tests.