Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trade Signs Not Updating After Transactions in Minecraft #5577

Open
tekikaito opened this issue Nov 11, 2023 · 3 comments
Open

Trade Signs Not Updating After Transactions in Minecraft #5577

tekikaito opened this issue Nov 11, 2023 · 3 comments
Assignees
Labels
bug: confirmed Confirmed bugs in EssentialsX.
Milestone

Comments

@tekikaito
Copy link

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=fa654ab7f413432f8ce5acdaec567a1c

Error log (if applicable)

No response

Bug description

I encountered a bug in the latest version of the Minecraft EssentialX Plugin, specifically related to the "Trade" signs functionality. The Trade signs in this plugin are intended to facilitate buying and selling items between players.

Steps to reproduce

  1. Install the latest dev version of the EssentialX Plugin on a Minecraft server. (2.21.0-dev+21-c68b277)
  2. Set up a Trade sign for selling/buying items according to the plugin's instructions.
  3. As a player, interact with the sign to buy an item.
  4. Observe the balance and item inventory of the player.

Expected behaviour

Upon a successful transaction, the player's balance should decrease by the cost of the item, and the purchased item should be added to the player's inventory. Concurrently, the Trade sign should update to reflect the transaction: the money should be added to the sign's associated account, and the count of items available for sale should decrease.

Actual behaviour

While the player's balance does decrease and they receive the item as expected, the Trade sign does not reflect the transaction. The sign's money balance does not increase, and the item count does not decrease. This inconsistency implies that the transaction is not fully processed on the server side concerning the Trade sign.

@tekikaito tekikaito added the bug: unconfirmed Potential bugs that need replicating to verify. label Nov 11, 2023
@Evidentsinger14
Copy link
Member

While testing, i have confirmed the signs are not being updated with the amount of items being put in, and the money was unable to be collected ("There is nothing to collect from this trade sign").

@Evidentsinger14 Evidentsinger14 added bug: confirmed Confirmed bugs in EssentialsX. and removed bug: unconfirmed Potential bugs that need replicating to verify. labels Dec 10, 2023
@pop4959 pop4959 added this to the 2.20.2 milestone Dec 10, 2023
@tester43214
Copy link

tester43214 commented Apr 3, 2024

I have reported exactly the same problem on Spigot two weeks ago, but the problem still persists although I'm on 2.21.0-dev+73-2cb0af0 version: https://www.spigotmc.org/threads/essentialsx.76168/page-171#post-4709047. Can anyone provide an information when this bug will be fixed?

@xartuu
Copy link

xartuu commented Apr 30, 2024

The owner of Trade Sign cannot replenish the items in the sign. When the owner clicks the right mouse button while holding a traded item, its amount is not updated on the sign. Which results in the player not getting the inserted items back after destroying the sign.

In fact, at colleague @tester43214 above is even more touched on.

https://www.spigotmc.org/threads/essentialsx.76168/page-171#post-4709047

In addition, when you right-click on a sign to pick up items in the console, there is an error (I am sending a dump).
https://essentialsx.net/dump.html?id=c0a0c26d7a42438ab9984280fac4edbe

Demonstration on Discord: https://discord.com/channels/390942438061113344/426460575971672064/1234702082389315644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed Confirmed bugs in EssentialsX.
Projects
None yet
Development

No branches or pull requests

6 participants