Disable Electrum

A tiny Foundry VTT module for D&D 5e that removes electrum (EP) from every currency field, transfer dialog and price choice, without touching the values already stored in your world.

Version 1.0.1 Foundry v13 – v14 System dnd5e 5.x – 6.x License MIT Free and open source

Disclaimer

I own none of this code

I claim no ownership of this code. I only wanted electrum gone from my players' sheets without breaking anything already in the world. I release the whole module as free, open-source software under the MIT License, so anyone can use it, study it, change it and redistribute it.

No code or asset from any other module or author has been copied into this project. There is no warranty of any kind; use it at your own risk and keep backups of your world.

What it does

Many tables simply do not use electrum. The D&D 5e system still shows an EP box on every character sheet, in the currency-transfer and conversion dialogs, and as a choice in every item's price denomination. Players put coins in it by accident, loot gets priced in it, and the GM spends time cleaning up. Disable Electrum makes the whole denomination disappear from the interface.

Hidden on actor sheets

The EP currency field vanishes from character and NPC sheets, group sheets and any other sheet that shows system.currency.ep. The remaining coins keep their layout.

Hidden in currency dialogs

Transfer, award and conversion dialogs lose their EP amount field (amount.ep), so nobody can hand out or convert into electrum.

Removed from price choices

Every denomination dropdown (item prices, shop and loot dialogs, anything that offers ep as an option) has the electrum option disabled and hidden.

Nothing is deleted

Stored EP balances and items priced in EP stay exactly as they are in the database. Turn the module off and everything is back.

Works with other modules

It watches the whole page for new windows and sheets, so modules that render their own currency fields (loot sheets, shops, party sheets) are covered too, as long as they use the system's field names.

Zero configuration

No settings. Enable it and electrum is gone; disable it and electrum is back.

How it works

The module deliberately leaves CONFIG.DND5E.currencies.ep alone. Deleting the system's currency definition is the obvious approach, but it makes Foundry drop the EP value the next time any affected document is saved, which silently destroys data and can break items priced in electrum. Instead the module works purely on the rendered interface:

The module does nothing at all when the active game system is not dnd5e.

What it does not do

Install

In Foundry's setup screen open Add-on Modules → Install Module and paste this manifest URL:

Or download module.zip from the releases page and upload it to The Forge or unzip it into Data/modules. Then enable Disable Electrum in the world's Manage Modules. To install a specific older version use https://github.com/teshaman/disable-electrum/releases/download/<version>/module.json.

Compatibility
Foundry VTTv13 minimum, verified on v14
Game systemD&D 5e (dnd5e) 5.0 – 6.x, verified on 6.0.6
DependenciesNone

Changelog

The full history is in CHANGELOG.md.

License

Disable Electrum is released under the MIT License. You may use, copy, modify, merge, publish, distribute, sublicense and sell copies, provided the license notice stays with it. The software is provided "as is", without warranty of any kind.

See the disclaimer above: I claim no ownership of the code.