diff --git a/prisma/migrations/20240721182636_add_pv_p_field/migration.sql b/prisma/migrations/20240721182636_add_pv_p_field/migration.sql new file mode 100644 index 0000000..d1f84a7 --- /dev/null +++ b/prisma/migrations/20240721182636_add_pv_p_field/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE `Zone` ADD COLUMN `pvp` BOOLEAN NOT NULL DEFAULT false; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 7892cec..91b3313 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -107,6 +107,7 @@ model Zone { width Int height Int tiles Json + pvp Boolean @default(false) zoneEventTiles ZoneEventTile[] zoneObjects ZoneObject[] characters Character[] diff --git a/src/server.ts b/src/server.ts index 408272d..b95127e 100644 --- a/src/server.ts +++ b/src/server.ts @@ -62,7 +62,7 @@ export class Server // Load zone manager await ZoneManager.boot(); - // Load command manager + // Load command manager - Disabled for now // await CommandManager.boot(this.io); // Listen for socket connections