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

[FEATURE] Trade-Confirmations #139

Open
KillerOfPie opened this issue Jun 21, 2022 · 0 comments
Open

[FEATURE] Trade-Confirmations #139

KillerOfPie opened this issue Jun 21, 2022 · 0 comments
Labels

Comments

@KillerOfPie
Copy link
Collaborator

  • Add new Player setting(disabled by default) That would force they player to interact with the same shop twice(in the same way) to perform a trade.
  • Interaction 1 would send the player a message detailing the trade and add the shop to a Map<Player, Tuple<ShopLocation, Interaction>> with the interaction made.
  • Interaction 2 would remove the shop from the map and perform the action IF the action and ShopLocation match ELSE it will replace the existing Tuple with a new one contains this shops location and Interaction.
  • This map never needs to be saved to file and would be created on Startup
  • Optional: A-Sync Task Timer or a Cache object with auto-remove will remove any interactions that persist for more than n-seconds(configurable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant