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

Toggle admin GUI #34

Open
ElitoGame opened this issue Sep 6, 2022 · 0 comments
Open

Toggle admin GUI #34

ElitoGame opened this issue Sep 6, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ElitoGame
Copy link
Collaborator

Short Description

As a operator (/op) or as a person with ecs.admin / ecs.admin.view permission, you will always open a chest in admin view. In admin view you can buy/sell stuff to yourself and access other players settings/shop storage. This might not be wanted when recording a video or testing shops as a player. Here /ecsadmin toggleadminview comes into play.

Implementation

  • Implement a command to toggle admin view on and off (on by default).
  • Make sure the data is stored somewhere save like the database or a config file. This is data that will not change too often and not too many people are going to access it. Therefore a config file would work just fine. Using the default config is possible, however discussable as this is a setting for individuals, rather then server configurations, which means it's kinda out of place in the standard config.yml. Perhaps usersettings.yml or adminsettings.yml? If unsure comment on this issue and we'll come and discuss this.
@ElitoGame ElitoGame added enhancement New feature or request good first issue Good for newcomers labels Sep 6, 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant