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

# Basic permission level #477

Closed
Miro-Andrin opened this issue Sep 24, 2021 · 1 comment
Closed

# Basic permission level #477

Miro-Andrin opened this issue Sep 24, 2021 · 1 comment

Comments

@Miro-Andrin
Copy link
Contributor

Miro-Andrin commented Sep 24, 2021

Permission/Admin system

We need a way to set the opt level on clients. Certain packets are never sent from clients unless they are opt level 2 (admin). To completely integrate this however, we would need a way to give someone a different op level in the server's config file.

Related files:
feather/common/src/game.rs

feather/server/src/config

I don’t know where to best place this code in the project, but the opt level of any player should probably be a component. If you want to know how to add a component I would suggest having a look at #428.

If you are wondering what packet to send the client it’s entity status.

@Miro-Andrin
Copy link
Contributor Author

@ambeeeeee Has opened a issue #484 that is almost identical to this, but its just more ambitious in it's scope. Any further discussion about permission levels should probably happen there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant