Core models

Import models from App\Core\Models. A model is a persistent record/query interface; its controller/service supplies authorization, validation, transactions and external delivery. Core must not import plugin model classes. Prefer each documented service when an operation spans records or delivers effects.

User is the account/authentication reference. Database dictionary records every table in the clean core migration snapshot, including framework tables without a core model. Each model page below describes migrated fields, all directly declared methods, relationships/cleanup, a contextual example and current implementation limits.

Model Table Purpose
AdminNotification admin_notifications Staff inbox records with priority, distinct from player notifications.
AnnouncementType announcement_types Configurable display labels, icons and colours for announcement categories, administered through AnnouncementTypeController..
ApiKey api_keys Operator-managed integration credentials and restriction settings.
ApiRequestLog api_request_logs HTTP integration audit rows associated with an ApiKey; ApiKeyController reads these for request statistics..
DeviceFingerprint device_fingerprints Per-user device/network observations used by AntiMultiService to discover shared fingerprints and recent IPs..
EconomyTransaction economy_transactions Ledger records written by EconomyService after locked balance operations; inspect them for account audit and integrity checks..
EmailSetting email_settings Stored mail transport configuration used by EmailSettingsController when testing or sending mail..
EmailTemplate email_templates Editable subject/HTML/text templates identified by slug, seeded from six defaults and consumed by the email settings workflow..
ErrorLog error_logs Grouped exception records with occurrence counts and optional request context, inspected by ErrorLogController..
InstalledPlugin installed_plugins Canonical installed package registry shared by PluginManagerService and plugin manifest consumers.
IpBan ip_bans Active and expiring address bans checked by CheckIpBan middleware and administered by IpBanController..
LicenseKey license_keys Local licence administration records used by LicenseController; status describes activation and revocation flags..
MultiAccountCluster multi_account_clusters An anti-multi investigation group, identified by a deterministic member-set hash generated in AntiMultiService..
MultiAccountClusterMember multi_account_cluster_members Membership of an account in a multi-account investigation cluster, with an integer confidence score..
Notification notifications Player inbox messages created through NotificationService and exposed through User.notifications().
OAuthProvider oauth_providers A provider identity linked to an account, consumed by OAuthService during linking and sign-in..
PlayerStat player_stats Generic core player pools, balances and progression.
PluginMetadata plugin_metadata Namespaced JSON values attached to any saved Eloquent model without adding plugin-specific columns.
Setting settings Typed key/value application configuration consumed by SettingService; distinct from Laravel config files..
StaffChatMessage staff_chat_messages Staff chat message content plus optional single mentioned account, consumed by StaffChatController..
StaffChatReadStatus staff_chat_read_status One cursor per account for the shared staff chat, rather than one receipt per message..
User users Accounts, authentication and permissions.
Webhook webhooks Outbound endpoint configuration consumed by WebhookService; model methods handle subscription checks and failure bookkeeping..
WebhookDelivery webhook_deliveries A recorded outbound delivery attempt, payload and outcome.

Coverage: 24 model classes and 134 directly declared named methods, including protected/private methods identified as internal. Machine-readable coverage in the repository (docs/handbook/catalogues/models.json) maps source files and exact declaration names. No model behavior was changed to produce this reference.