Impactor

Impactor

Mod

A developer API providing a common interface across minecraft platforms such as forge, fabric, bukkit, and proxy systems. Provides additional server benefits such as a fleshed out economy system.

Server EconomyLibraryUtility

37.0k downloads
14 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...

Impactor Release Version: 5.2.7+1.20.1

Git Commit: 85076e4

Full Commit History: Unknown...5.2.7

Release Notes

Bug Fixes

Forge

  • Resolved an issue affecting commands, turns out we used an improper import!

Impactor Release Version: 5.2.6+1.20.1

Git Commit: 9020e69

Full Commit History: Unknown...5.2.6

Release Notes

Bug Fixes

Forge

  • Resolved an issue with permissions not being registered

Impactor Release Version: 5.2.5+1.20.1

Git Commit: 5839d14

Full Commit History: Unknown...5.2.5

Release Notes

Bug Fixes

Forge

  • Resolved an issue with the command framework library failing to package properly
    • This resolves the forge booting issue, and the mod now works as expected

Impactor Release Version: 5.2.4+1.20.1

Git Commit: 977861d

Full Commit History: 5.2.3...5.2.4

Release Notes

Changes

  • Account placeholder now refreshes balances more often and after write versus access, fixing scenarios where certain setups could see the placeholder effectively locked

Impactor Release Version: 5.2.3+1.20.1

Git Commit: 55eff27

Full Commit History: Unknown...5.2.3

Release Notes

Changes

  • Fabric - Impactor now forwards placeholders to PlaceholderAPI on startup. This allows plugins using that api to start using Impactor placeholders without special support.
    • NOTE: Due to complexity, some placeholders designed for Impactor may not parse properly via PAPI with the context available.

Impactor Release Version: 5.2.2+1.20.1

Git Commit: fda1e8b

Full Commit History: 5.2.1...5.2.2

Release Notes

Changes

  • Account placeholder now properly supports PAPI
    • Allows for the following flags under "impactor:account"
      • "currency=(namespace)/(value)" - Specifies the particular currency we wish to evaluate
      • "balance" - Shows the balance of the account, based on the selected currency (otherwise, defaults to primary currency)
      • "name" - Reveals the name of the account holder

Fixes

  • Account placeholder now correctly resolves under all circumstances

Impactor Release Version: 5.2.1

Git Commit: 5d54055

Full Commit History: 5.2.0...5.2.1

Release Notes

Fixes

  • Disable dev scoreboard test on Fabric, this was enabled and released by accident with 5.2.0

Impactor Release Version: 5.2.0+1.20.1

Git Commit: d71d833

Full Commit History: 5.0.0...5.2.0

Release Notes

API

New API Capabilities

  • Scoreboards
    • Allows for dynamic scoreboard creation which are capable of being updated at any particular interval.
    • Base support for updaters includes:
      • Scheduled
      • Event Subscribing
  • Mail
    • Provides a service responsible for managing mail between users
  • Economy

Changes & Fixes

  • Added support for basic selectors (@s & @r) for commands requesting players or other entities
    • These selectors are basic in nature, and do not presently support advanced filters
  • Command parsing on player names now ignores casing
  • Updated internal command framework to the newest Cloud 2.0 beta builds

Economy

  • Changed how a currency accepts its formatting, now opting for a set of MiniMessage-based templates versus assumed formatting
    • This acts as an API break
  • Updated the config format for currency description to support the new formatting system. Please see the example config on Github to understand how to update your configs for this change!

Impactor Release Version: 5.1.1+1.20.1

Git Commit: 0736d7b

Full Commit History: 5.0.0...5.1.1

Release Notes

Game Version Focus

  • Targeting Minecraft 1.20.1

API Additions

  • Paginations
  • Minecraft respective API for translating Keys, ItemStacks and Text to Native
  • Context now accepts Pointered objects, allowing for multiple values with similar typing

API Changes

  • Economy
    • In 5.1.0, Account received new async equivalents to its synchronous methods. This has been reverted with the sync methods losing their deprecation status, and the async methods receiving said status. This is to better accommodate the usage of threads and the joins required.
    • TransactionComposers now take a Supplier for a Component

Implementation Fixes/Changes

  • Users will now receive feedback when they receive money via /eco pay
  • Fixed the transferable flag via Currency configuration not being set properly
  • Fixed users being able to pay themselves from other sources
    • This change requires a permission change
      • Before: impactor.commands.pay
      • After: impactor.commands.pay.base
    • To allow players to pay for others, a new permission was introduced
      • Permission Node: impactor.commands.pay.other
  • Added SQL support via MySQL and MariaDB for the EconomyService
  • Currency formatting will now format numbers into a cleaner format, based on per-user locale
    • For instance, $10000.50 will now format one of two ways
      • US Standard: $10,000.50
      • Otherwise: $10.000,50

Additions

  • Currencies now support being locked to being unpayable. For currencies you wish to block in this regard, add the following to the currency definition: transferable: false. This setting will be true by default.
  • Custom Item Model data support for ItemStacks
  • Allow for a custom MiniMessage backed TextProcessor

API Changes/Deprecations

A few breaking changes were made in the API, this will likely be the only instance of this during 5.x's lifetime:

  • PlatformSource#console is now PlatformSource#server to better reflect intention
  • PlatformSource.Factory#entity --> PlatformSource.Factory#fromID

As for deprecations:

  • Account methods within the Economy API reflecting balance states or interactions have been deprecated in favor of async alternatives.
    • This change was made in order to better favor designs which might be based on a database or even a request manager to ensure stateful interactions are allowed

Project members

NickImpact

Owner

Details

Licensed MIT
Published 2 years ago
Updated 4 months ago