A simple EFT/SPT mod that formats large ruble amounts for better readability.
Before: 5,000,000 ₽
After: 5 Mil ₽
Makes inventory and trader screens much cleaner when dealing with millions of rubles.
- 🎯 Smart formatting - Only formats amounts ≥1M rubles
- ⚙️ Configurable - Adjust settings via F12 Configuration Manager
- 🔧 Lightweight - Minimal performance impact
- 🌐 FIKA compatible - Works in multiplayer SPT setups
- ✅ UI-only changes - Never modifies actual money values
- Extract the mod folder into
./[SPT] - Verify folder structure:
./[SPT]/BepInEx/plugins/RubleFormatter.dll - Ignite the engine, GLHF!
Press F12 in-game to open Configuration Manager:
- Enabled - Enable/disable the mod (default:
true) - ShowDecimals - Show decimal places like "1.5 Mil" (default:
false) - Threshold - Minimum amount to format in millions (default:
1,000,000)
| Original | Formatted | With Decimals |
|---|---|---|
| 1,500,000 ₽ | 1 Mil ₽ | 1.5 Mil ₽ |
| 25,300,000 ₽ | 25 Mil ₽ | 25.3 Mil ₽ |
| 999,999 ₽ | 999,999 ₽ | 999,999 ₽ |
- ✅ SPT 3.11.x - Tested on 3.11.3 & 3.11.4
- ✅ FIKA - Multiplayer compatible
- ✅ Other UI mods - Should work alongside most mods
Requirements:
- .NET Framework 4.7.2+
- Visual Studio 2019+ or Rider
- EFT game files for references
- Clone the repository:
git clone https://github.com/VerkCoding/RubleFormatter.git
cd RubleFormatter-
Copy
RubleFormatter.csproj.user.exampletoRubleFormatter.csproj.user -
Edit
RubleFormatter.csproj.userand set your paths:
<SPTPath>C:\Path\To\Your\SPT</SPTPath>
<EFTPath>C:\Path\To\Your\EFT</EFTPath>- Build:
dotnet build --configuration ReleaseThe compiled DLL will be in bin/Release/net472/
If you set SPTPath, the build will automatically copy the DLL to your SPT mods folder.
Uses Harmony patches to intercept EFT's money display methods:
DisplayMoneyPanel.Show()- Main inventory money displayDisplayMoneyPanelTMPText.Show()- Text-based money displays
Only patches the display layer - doesn't modify actual money values or game logic.
Mod not working?
- Check BepInEx logs for errors
- Ensure
Enabled = truein F12 config - Test with amounts over 1M rubles
Formatting not showing?
- Default threshold is 1M rubles
- Lower threshold in F12 config if needed
MIT License with Commercial Restriction
Free to use, modify, and distribute for personal/non-commercial purposes.
Commercial use requires revenue sharing - contact for licensing terms.
Pull requests welcome! Please:
- Follow existing code style
- Test with multiple SPT versions
- Update README if adding features
Built with:
Made for the SPT community ❤️