Sueta

Currencies

3.0.0

An expansion for Medieval Factions that allows faction owners to create and mint currencies.

·Plugin
  1. 3.0.0latestCurrencies 3.0.04 weeks ago
    Currencies 3.0.0 For a server running v2.1.0 this is a drop-in upgrade. Your database and existing config carry over unchanged, and several command crashes and a shutdown issue with the shared H2 database are fixed. The plugin now sends anonymous usage reports by default: on startup and each time /currency or /coinpurse is used, it sends the plugin name, version and command name. It logs a notice about this on every startup, and you can turn it off. Support for migrating Currencies 1 data has been removed. Requires Medieval Factions 6.1.0 (tested; upgrade it alongside). 2.1.0 does not start on Medieval Factions 5.8 or later; this release does, and it reads 2.1.0's data unchanged (upgrade tested on a real server). Changes Usage reporting · The plugin reports a small usage event on startup and each time /currency or /coinpurse is used. Only the plugin name, version and command name are sent, never anything about players, command arguments or the server. Sending happens off the main thread and is dropped silently if the trace server can't be reached (#214). · A startup log line says whether reporting is on and how to turn it off. You can turn it off per plugin with usage-reporting.enabled: false, for every participating plugin with enabled: false in plugins/trace/config.yml (created on first start), or with the environment variables TRACE_USAGE_REPORTING=off or DO_NOT_TRACK=1 (#217). · plugins/trace/config.yml also accepts an optional tags: block that is added to every event. For example, ci: "true" on a test server keeps its events out of real-installation figures (#228). Commands · /currency mint now rejects an amount of zero or less. Before, such an amount credited power back and lowered the minted total (#229). · /currency info no longer fails on Paper 1.20.5 and later. When the item's details can't be read, it shows the plain item name (#230). · /currency retire and /currency info now accept quoted multi-word currency names (#212). · An empty or unbalanced quote ("" or ") in a command argument no longer causes "An internal error occurred" (#222). · Creating or renaming a currency now correctly checks whether the new name is already taken (#197). · The /currency usage message now lists the rename subcommand (#203). Stability · The plugin now closes its database connection pool on shutdown and after a failed startup. This stops the H2 database it shares with Medieval Factions from being left unflushed with a *.trace.db file beside it (#220, #221). · For embedded H2 URLs that don't use AUTO_SERVER=TRUE, DB_CLOSE_ON_EXIT=FALSE is added unless you've already set it. The default URL is left unchanged (#220, #221). · Ponder is now bundled in the plugin instead of being loaded from Medieval Factions, which fixes class-loading failures (#209). Removed · The Currencies 1 data migration has been removed (#198). Upgrade notes · If your server still has Currencies 1.x data, upgrade to v2.1.0 first and let its migration finish before installing this release. This release will not detect or migrate Currencies 1 files. · Usage reporting is on by default, including on upgraded servers. The usage-reporting block is added to your config.yml on first start. If you don't want reporting, set usage-reporting.enabled: false there or use one of the server-wide switches above. Download: https://github.com/Dans-Plugins/Currencies/releases/downl… Full release notes: https://github.com/Dans-Plugins/Currencies/releases/tag/v…
    4 downloads
  2. 2.1.0Improved Docker Setup and Medieval Factions IntegrationMar 30, 2025
    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.sh script 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 Currencies plugin has been refined for better initialization, logging, and error handling. · New Utility Scripts: Scripts for starting and stopping Docker containers (up.sh and down.sh) have been added. Changes Docker and Environment Setup · Added post-create.sh to automate server setup, including file copying, EULA acceptance, and startup. · Updated Dockerfile to install dependencies, build the server, copy plugin jars, and execute post-create.sh. · Modified compose.yml to define the Minecraft server service with environment variables and volume mappings. Build System and Configuration · Switched build command from Maven to Gradle. · Introduced sample.env for specifying Minecraft version, operator details, and other environment variables. Plugin Enhancements · Improved Currencies plugin initialization and logging for Medieval Factions integration. · Enhanced CurrencyListCommand with an "all" filter and improved command suggestions. Utility Scripts · Added down.sh for stopping Docker containers and removing orphans. · Added up.sh for starting Docker containers in detached mode with build. This release ensures a smoother setup process, better plugin integration, and improved maintainability.
    96 downloads
  3. 2.0.0Second Major Version - Non-Potato Reimagining & ReworkingJan 31, 2023
    Requirements · Spigot 1.17.1+ · Medieval Factions 5.0.6+ What's changed? · Re-written for Medieval Factions 5 compatibility, new data backend, and some re-imagined commands · #173 Fix coinpurse not saving balances when currency was not present in coinpurse · #174 Fix currency command not showing all subcommands in usage message · #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
    494 downloads
  4. 1.3.2Typo Corrections & Usage Message ClarificationsMar 4, 2022
    What's Changed · Typo Edit/Command Edit by @Rykurock in #165 New Contributors · @Rykurock made their first contribution in #165 Full Changelog: 1.3.1...1.3.2
    294 downloads
  5. 1.3.1Create Command FixMar 2, 2022
    The create command is now working again.
    42 downloads
  6. 1.3Bug Fix & Ponder UpdateFeb 27, 2022
    What's Changed · Fixes bug that removes power when out of materials by @thomasjeu in #161 · Ponder Update & Integration by @dmccoystephenson in #162 New Contributors · @thomasjeu made their first contribution in #161 Full Changelog: v1.2...1.3
    46 downloads
  7. v1.2Minor RefactoringFeb 6, 2022
    This version of the plugin should work with Medieval Factions v4.5.1
    68 downloads
  8. v1.1Amount FixSep 23, 2021
    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.
    179 downloads
  9. v1.0Sep 21, 2021
    47 downloads

Similar projects

Plugin →