Skip to main content
Configuration File: config/shared/currency.ts

Overview

The currency configuration controls how prices are displayed throughout your entire website:
  • Currency symbol ($, €, £, Â¥, ₹)
  • Currency code (USD, EUR, GBP, etc.)
  • Symbol position (before or after amount)
Configuration file: config/shared/currency.ts

Quick Start

1

Edit the config file

Open config/shared/currency.ts:
2

Choose your currency

Update symbol, code, and position for your region
3

Test it

All prices across the site will use your currency settings

Configuration Structure


Common Currency Examples

US Dollar (USD)

Display: $99.99

British Pound (GBP)

Display: £99.99

Currency Symbols Quick Reference


Troubleshooting

Symbol not displaying

  1. Check encoding: File must be UTF-8
  2. Copy symbol: Use copy-paste instead of typing
  3. Use HTML entity: Some symbols have HTML codes
  4. Font support: Ensure your font includes the symbol

Wrong position

For USD ($99.99):
For EUR (99.99€):

Multiple dollar signs

If you use USD, AUD, CAD (all use $), the code differentiates them:

Prices look wrong after currency change

When changing currency, you must also:
  1. Update all price values in game configs
  2. Update pricing in VPS/dedicated/web hosting configs
  3. Recalculate based on exchange rates
  4. Update text mentions of specific prices