#Tebex & Skript-PlaceholderAPI

1 messages · Page 1 of 1 (latest)

feral kayak
#

First time using tebex, first time using Skript-Placeholder API.
been testing with stuffs, and these are my results and the code.

command /topdonors:
    trigger:
        loop 25 times:
            set {_n} to loop-number
            set {_name} to placeholder "buycraftapi_top_donor_monthly_name_%{_n}%"
            set {_amount} to placeholder "buycraftapi_top_donor_monthly_amount_%{_n}%"
            
            send "&f%{_name}% - &a%{_amount}%"

A few questions.

  1. How do I the amount paid in GBP or USD. there are a mixture of GBP, USD, CAD payments in there all showing different amounts.
  2. How would I get the currency of the purchase, if getting the GBP value is not possible.
lavish jay
#

Is there not a tebex placeholder that converts all to a specific currency?