Xyphien Forums

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Currency Formatter Plugin

MV 1.2 Currency Formatter Plugin 1.1

No permission to download
Name: Currency Formatter Plugin
Version: 1.0
Author: Companion Wulf
Release Versions:
1.2 (Public) - No longer applicable
1.1 (Public) - 26 March 2016
1.0 (Public) - 6 January 2016

NOTE:
As of Version 1.2, this has now been integrated into the QEngine as a core function, so I will no longer update this as a separate plugin. The link here is for v1.1 and goes to Pastebin.

DESCRIPTION
The Currency Formatter plugin rewrites the currency into a much more readable format, especially with larger numbers.

It splits larger currency numbers with commas, thus 100000 is shown as 100,000.

Numbers can also be truncated, for example, 1,000 can also be changed to 1k and 1,000,000 to 1m if you set its options to "Suffix".

Status Screen - Commas Setting


Shop - Suffix Setting

USAGE
Change to the following in the parameters setting:

Comma - Separates numbers with commas, so 100000 becomes 100,000.

Suffix - Replaces trailing zeros with words, i.e. "k" for thousands and "m"
for millions.

Note: Since the maximum allowed value for gold in RMMV is 99,999,999 this is rounded up to 100,000,000, with the output being "100m". Hence, there is no "b" for billions, etc.

KNOWN BUGS/ISSUES
There aren't any known bugs or issues.

INSTALLATION
Download the ZIP file and extract the CW_CurrencyFormatter.js file directly into the JS folder in your RMMV project.

TERMS OF USE
You are free to use this in non-commercial projects, but please refer to the RPG Maker Times Terms of Use for other details, including commercial use.

Credit "Companion Wulf" or "RPG Maker Times" if using this plugin in your projects.

DEVELOPMENT NOTES
For anyone who's interested:

This plugin was originally inspired by the (partially requested) scriptlet I did for RMVX and RMVXA, where large amounts for shops needed to be truncated.
Author
Companion Wulf
Downloads
41
Views
126
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Companion Wulf

Latest updates

  1. Currency Formatter Plugin

    --BUG FIX: "shortValue not found" error (for some reason it was missing) --TWEAK: Truncate comma...
Top