mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
refactor(server/players): Take a different approach to multichar
This changes how multicharacter support is implemented entirely. Instead there are now events for creating a new player & unloading a player. These should be called whenever a character is switched. Documentation will be added for `npwd:newPlayer` & `npwd:unloadPlayer`
This commit is contained in:
1 parent
2ec049ca12
commit
268bd4f4a4
11 files changed
+391
-377
No files matched your search
@@ -23,6 +23,7 @@ interface Debug {
|
||||
|
||||
interface General {
|
||||
useDashNumber: boolean;
|
||||
enableMultiChar: boolean;
|
||||
}
|
||||
|
||||
interface NotificationConfig {
|
||||
@@ -34,7 +35,13 @@ interface BankConfig {
|
||||
showNotifications: boolean;
|
||||
}
|
||||
|
||||
interface DatabaseConfig {
|
||||
playerTable: string;
|
||||
identifierColumn: string;
|
||||
}
|
||||
|
||||
export interface IServerConfig {
|
||||
database: DatabaseConfig;
|
||||
Locale: string;
|
||||
KeyTogglePhone: number;
|
||||
KeyTakeCall: number;
|
||||
|
||||
Reference in new issue
Block a user