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

Objects & Managers Creations #2

Open
Im-Fran opened this issue Nov 5, 2021 · 0 comments
Open

Objects & Managers Creations #2

Im-Fran opened this issue Nov 5, 2021 · 0 comments
Assignees

Comments

@Im-Fran
Copy link
Member

Im-Fran commented Nov 5, 2021

Create User and IPAddress objects.
Create UserManager and IPAddressesManager to manage Users and IP Addresses.
(This will be stored in sqlite)

Users will have the following fields:

  • UUID: from the Bukkit Player
  • IPAddress List: a list of the user IP Addresses

IPAddress will have the following fields:

  • IP: The IP address
  • USER_UUID List: unique id of the user(s) who owns this ip
  • IS_VPN: true if is vpn, false otherwise
  • IS_WHITELISTED: true if is a whitelisted vpn, false otherwise
  • MAX_ACCOUNTS: number that will hold the max amount of accounts that can have the same IP, default will be 1
@Im-Fran Im-Fran self-assigned this Nov 5, 2021
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