ChestShop-authors / ChestShopNotifier

Bukkit plugin that allows your players to see who bought or sold what while they were offline.
https://www.spigotmc.org/resources/chestshopnotifier.30313/
10 stars 8 forks source link

[Suggestion] Sales notification total sales value #63

Open x1p opened 1 year ago

x1p commented 1 year ago

Our players suggested if it would be possible to include the total value of the last (new) sales since last checked.

Description: When a player joins, he gets the following messages:

  sales: "&c ** You made &f{sales} sales&c since you last checked."
  history-cmd: "&c ** To see them, type &f/csn history&c."

Players would like to see something like: &c ** You made &f{sales} sales&c with a total value of &f{total_value} &csince you last checked This would have to be calculated by adding all purchases (minus losses of "S" chests) of newly sales. This would give the player an estimation of all sales of separate things all together so they won't have to calculate it themselves.

BTW: is it possible to make the &c ** To see them, type &f/csn history&c message clickable so /csn history will be executed? (Or are mini messages possible so I can make myself?)

Phoenix616 commented 1 year ago

Interesting idea, definitely will look into adding that.

BTW: is it possible to make the &c ** To see them, type &f/csn history&c message clickable so /csn history will be executed? (Or are mini messages possible so I can make myself?)

That's requested in #51