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

Account per world #10

Open
SOF3 opened this issue Jan 10, 2022 · 6 comments · May be fixed by #35
Open

Account per world #10

SOF3 opened this issue Jan 10, 2022 · 6 comments · May be fixed by #35
Labels
enhancement New feature or request

Comments

@SOF3
Copy link
Owner

SOF3 commented Jan 10, 2022

As requested by @reyyan987 in poggit-orphanage/EconomyS#76

This should involve creating a schema called "world", with the following config:

schema:
  '#type': The type of schema. Possible values are "basic", "currency", "world".
  type: world
  '##': In the world schema, each player has one account for each world.

There are several possible configurations, but I am not sure if they are actually useful:

  • World groups: Worlds are grouped such that player uses the same account in the worlds in the same group
  • World whitelist/blacklist: Player cannot use any accounts at all in these worlds
@SOF3 SOF3 added the enhancement New feature or request label Jan 10, 2022
@SOF3
Copy link
Owner Author

SOF3 commented Feb 20, 2022

It is not implemented, but it should be very easy to add support for this. In fact, the Schema interface is designed to support the World use case, which is why I lately worked on lazy account creation.

SOF3 added a commit that referenced this issue Mar 6, 2022
@SOF3 SOF3 linked a pull request Mar 6, 2022 that will close this issue
@SOF3
Copy link
Owner Author

SOF3 commented Mar 6, 2022

@reyyan987 See #35

SOF3 added a commit that referenced this issue Mar 6, 2022
SOF3 added a commit that referenced this issue Mar 19, 2022
SOF3 added a commit that referenced this issue May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@SOF3 and others