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
Create
UserandIPAddressobjects.Create
UserManagerandIPAddressesManagerto manage Users and IP Addresses.(This will be stored in sqlite)
Users will have the following fields:
IPAddress will have the following fields: