Interest

Interest Functions

These functions are found in RoyaleEconomy.apiHandler.interest:

There are 3 functions for getting the date: - String getInterestDateDetailed() » returns the date in detailed format (3 Days 2 Hours 1 Minute) - String getInterestDateNotDetailed() » returns the date in normal format (3 Days) - String getInterestDateShort() » returns the date in short format (3d2h1m)

You can also get the date and update it using the date expressed as a long number. - Long getLongDate() » returns the date as a long number, representing milliseconds. - void setInterestDate(Long date) » updates the interest date. Make sure the date is a long number representing milliseconds.

You can force an interest by forceInterest().

Last updated