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

Server/Settings: Apply rules for a player based on where they are in the world #51

Open
assofohdz opened this issue Dec 27, 2022 · 0 comments

Comments

@assofohdz
Copy link
Owner

assofohdz commented Dec 27, 2022

Acceptance criteria:

Implement or update Settings-system to allow lookup of settings based on world location. Other systems will call this system to lookup rules (e.g. physics, how fast should the player move etc.). Should return a "rule" object of some sort (or maybe just primitives?)

Scenario:

  1. Player is located in a no-map zone (either no map is loaded or player is outside loaded map bounds), server default rules apply
  2. Map is spawned where player is, rules reset to fit new map rules
  3. Player moves out of map and default rules is applied again
  4. Player moves between maps, rules updated on border to fit new map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo or Ready
Development

No branches or pull requests

1 participant