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.
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.