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

Groups #109

Open
thelindat opened this issue Jan 27, 2024 · 3 comments
Open

Groups #109

thelindat opened this issue Jan 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@thelindat
Copy link
Member

thelindat commented Jan 27, 2024

  • add group types (e.g. police, gang) to easily prevent joining groups with the same type
  • change the duty/service system
  • helper functions
  • group accounts (was handled by pefcl, and may keep a compatibility layer?)
  • player group functions (getGroup, hasGroup, etc.) - possibly breaking changes?
  • enhanced permission system? something synced with clients would be useful too
  • should we handle grades in the db similarly to esx?
@thelindat thelindat added the enhancement New feature or request label Jan 27, 2024
@CoachYT1
Copy link

I think it would be useful if external scripts could register jobs and grades without having to add them in the database

@thelindat
Copy link
Member Author

Groups are used in the database for data integrity so they need to exist regardless of a script registering them during runtime.

@Justus-Braun
Copy link

Justus-Braun commented Feb 2, 2024

I am trying to create a the duty/service system, but I came to wonder.

In the OxPlayer class, we have groups.
In the OxGroup class, we have members.

I think there should be only one of these.

I guess it would make more sense to have the groups in the OxPlayer class because you will be trying to get the group of the player more often than getting all the players from a group.

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

No branches or pull requests

3 participants