Skip to content

Folia: Tebex commands execute twice for online players #125

@sluhtie

Description

@sluhtie

Issue

Server type & version:
Folia 1.21.11 (e112b00)

Tebex plugin version:
2.3.2

Description

When a purchase is made on a Folia server, the associated commands are executed twice instead of once.

This occurs in both scenarios:

  1. Purchasing items directly via the Tebex store
  2. Creating a manual payment

Observed Behavior

  • If the player is online at the time of purchase, all commands are executed twice
  • If the player is offline, the commands execute only once as expected
  • The issue reliably reproduces when the player is online

Additional Notes / Hypothesis

After further testing, the issue appears to be specific to Folia and only occurs while the player is online.
It may be related to Folia’s scheduler or threading model, potentially causing command execution to be triggered more than once.

Image

Images

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions