Skip to content

[BUG]: #3

@PinoPungente

Description

@PinoPungente

TNE Version

0.1.1.4

Spigot Version

1.21.10

Your config.yml

https://mclo.gs/mHMER7U

Your latest server log

https://mclo.gs/hnpciB3

What modules are you using?

Conversion

What part of TNE is the bug affecting?

Transactions

Is your server using online mode?

Yes

Bug description

I am experiencing a critical issue where transactions (/pay, /money withdraw, etc.) are not being recorded in the tne_receipts SQL table for custom secondary currencies, despite the configuration being set correctly.

The main/default currency records transactions fine (if applicable), and the tne_holdings table updates correctly for ALL currencies (balances are updated instantly). However, the history log (tne_receipts) remains completely empty for the custom currency, making it impossible to track player payments or use /transaction list.

How to reproduce

Steps to Reproduce

Created a custom currency file (e.g., MonetaVintage.yml).

Set Transactions -> Record: true in the main config.yml.

Configured the custom currency initially as Type: mixed, then switched to Type: Virtual to force database logging.

Ensured Allow: Pay: true and Withdraw: true are set in the currency config.

Performed a transaction in-game: /pay <player> 10 using the custom currency.

Result: The recipient receives the money (balance updates in tne_holdings), but NO row is inserted into tne_receipts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions