Currencies
0
An expansion for Medieval Factions that allows faction owners to create and mint local currencies.
Versions
All releases on GitHubSnapshot release marking Currencies's move to an AI-first development approach.
Day-to-day feature work, grooming, review and maintenance now run through AI agents working directly against this repository, with the maintainers setting direction and approving what lands. The version bump marks that change in how the project is built — it is not a compatibility break. Behaviour, configuration and stored data are unchanged, and existing installations can upgrade in place.
This is a dated snapshot, not a finished release. It follows the precedent set by Medieval
Factions' 6.0.0-SNAPSHOT-7-25-2026: the AI-first line has not yet been verified in live operation,
and the snapshot designation stays until it has.
Version changes
build.gradle:2.1.0→3.0.0-SNAPSHOT-8-8-2026
Opened as https://github.com/Dans-Plugins/Currencies/pull/202.
Drafted by Claude on behalf of Daniel Stephenson.
Highlights
This release introduces major improvements to the project's setup, build process, and plugin functionality. Key updates include:
- Enhanced Docker Setup: A new
post-create.shscript automates server setup, and Docker configurations have been improved. - Gradle Migration: The build script now uses Gradle instead of Maven.
- Improved Medieval Factions Integration: The
Currenciesplugin has been refined for better initialization, logging, and error handling. - New Utility Scripts: Scripts for starting and stopping Docker containers (
up.shanddown.sh) have been added.
Changes
Docker and Environment Setup
- Added
post-create.shto automate server setup, including file copying, EULA acceptance, and startup. - Updated
Dockerfileto install dependencies, build the server, copy plugin jars, and executepost-create.sh. - Modified
compose.ymlto define the Minecraft server service with environment variables and volume mappings.
Build System and Configuration
- Switched build command from Maven to Gradle.
- Introduced
sample.envfor specifying Minecraft version, operator details, and other environment variables.
Plugin Enhancements
- Improved
Currenciesplugin initialization and logging for Medieval Factions integration. - Enhanced
CurrencyListCommandwith an "all" filter and improved command suggestions.
Utility Scripts
- Added
down.shfor stopping Docker containers and removing orphans. - Added
up.shfor starting Docker containers in detached mode with build.
This release ensures a smoother setup process, better plugin integration, and improved maintainability. 🚀
Requirements
- Spigot 1.17.1+
- Medieval Factions 5.0.6+
What's changed?
- #176 #180 Prompt the user to rename the item if the item's name does not match the currency's name
- #177 Fix minting currencies not causing power loss to the minter
- #178 Fix minting currencies not increasing the minted counter
- #183 Fix typo in disallowAnvilUsage config setting
Requirements
Spigot 1.17.1+ Medieval Factions 5.0.0 beta 8+
What's changed
- #173 Fix coinpurse not saving balances when currency was not present in coinpurse
- #174 Fix currency command not showing all subcommands in usage message
Requirements
- Spigot 1.17.1+
- Medieval Factions 5.0.0 beta 7+
What's changed
- Re-written for Medieval Factions 5 compatibility, new data backend, and some re-imagined commands
What's Changed
- Typo Edit/Command Edit by @Rykurock in https://github.com/Dans-Plugins/Currencies/pull/165
New Contributors
- @Rykurock made their first contribution in https://github.com/Dans-Plugins/Currencies/pull/165
Full Changelog: https://github.com/Dans-Plugins/Currencies/compare/1.3.1...1.3.2
What's Changed
- Fixes bug that removes power when out of materials by @thomasjeu in https://github.com/Dans-Plugins/Currencies/pull/161
- Ponder Update & Integration by @dmccoystephenson in https://github.com/Dans-Plugins/Currencies/pull/162
New Contributors
- @thomasjeu made their first contribution in https://github.com/Dans-Plugins/Currencies/pull/161
Full Changelog: https://github.com/Dans-Plugins/Currencies/compare/v1.2...1.3
What's Changed
- Fixes bug that removes power when out of materials by @thomasjeu in https://github.com/Dans-Plugins/Currencies/pull/161
- Ponder Update & Integration by @dmccoystephenson in https://github.com/Dans-Plugins/Currencies/pull/162
New Contributors
- @thomasjeu made their first contribution in https://github.com/Dans-Plugins/Currencies/pull/161
Full Changelog: https://github.com/Dans-Plugins/Currencies/compare/v1.2...1.3-alpha-1
Notes
- This version should work with Medieval Factions v4.5.1.
- This version has been found to work with MF 4.6.4.2 as of 10/7/2022.
Changes in Currencies v1.1
- Fixed the "amount" field of a currency increasing whenever the currency was withdrawn from a coinpurse.
- If a currency has not been minted, it will now be deleted upon retirement.
Changes in Currencies v1.0
- Allowed players to view a list of retired currencies using the /c list retired command.
- When a currency is retired, its faction's online members will be informed.
- Allowed operators to rename currencies using the /c force rename 'currencyName' 'newCurrencyName' command.
- Added an external API for developers to use.
- Fixed the wrong permission being checked for the c info 'currencyName' command.
- Fixed the wrong permission being checked for the /c balance (playerName) command.
Changes in Currencies v0.14.1
- Fixed players being able to rename their faction's currency to a name that was already taken by an active or retired currency.
Changes in Currencies v0.14
- Fixed usage message for the /c config set command showing the wrong command.
- Fixed internal error occuring when attempting to view the contents of a player's coinpurse when they didn't have a coinpurse.
- Fixed currency being lost if more is withdrawn than the player has room for and improved the /c withdraw command in general.
- Added the /c force retire command.
- If the "officersCanMintCurrency" faction flag of a player's faction is enabled, then officers in their faction will be now able to mint currency.
- Fixed players being able to use /c deposit and /c withdraw with negative amounts.
Changes in Currencies v0.13
- Fixed /c retire command not being listed in the output of the help command.
- Added a config option to require players to have the amount of items that they want to mint into currency.
Changes in Currencies v0.12
- Added a config option to prevent currencies from being renamed or being used to repair items with an anvil.
- Fixed some parts of the plugin not working if the "debugMode" config option was set to false.
- Created a Logger class to clean up the code related to debug messages.
Dependency
This version depends on the second beta version of Medieval Factions v4.3, which can be found here.
Utilized on Kingdom: Dark Ages
This was the first version of Currencies that was installed on Kingdom: Dark Ages.
Changes in Currencies v0.11
- Allowed operators to view other players' balances with the /c balance (playerName) command.
- Added the /c retire command.
- When a currency is retired, it will no longer be listed in the output of the /c list command.
- When a faction gets disbanded, its currency will now be retired.
- Prevented players from creating currencies with the same name as active or retired currencies.
- If a currency is retired, this will be shown in the output of the /c info command.
Notes
- In this version, the storage manager has been altered in such a way that save files from previous versions are no longer compatible.
- There is also a possible exploit in this version concerning anvils. #94
Changes in Currencies v0.10
- Implemented an autosave feature.
- Added a config option for whether or not the amount of a currency that has been minted shows up in the output of the /c info command.
- Allowed players to view information about other currencies with the /c info 'currencyName' command.
- Added the /c rename command.
- When a player clicks while holding a currency and it has the wrong name, this will now be corrected.
Changes in Currencies v0.9
- Integrated bStats with the plugin.
- Fixed faction name mismatch alert getting sent to the player every time they clicked while holding a currency item.
- Added the /c desc command, allowing faction owners to set the description of their currency.
- Added the description of a currency to the output of the info command.
Something wrong, or something missing?
Bugs go to the plugin's issue tracker, where they can actually be fixed and tracked. Ideas for new behaviour go to the Dev Portal, where the community can upvote them.