Configuration File:
config/shared/currency.tsOverview
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)
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
Configuration Structure
Common Currency Examples
- Before Position
- After Position
Currency Symbols Quick Reference
Troubleshooting
Symbol not displaying
- Check encoding: File must be UTF-8
- Copy symbol: Use copy-paste instead of typing
- Use HTML entity: Some symbols have HTML codes
- Font support: Ensure your font includes the symbol
Wrong position
For USD ($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:- Update all price values in game configs
- Update pricing in VPS/dedicated/web hosting configs
- Recalculate based on exchange rates
- Update text mentions of specific prices

