1
0
forked from noxious/server

Added PvP field to zones table

This commit is contained in:
Dennis Postma 2024-07-21 20:31:29 +02:00
parent 58f801e302
commit 6070e587c6
3 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `Zone` ADD COLUMN `pvp` BOOLEAN NOT NULL DEFAULT false;

View File

@ -107,6 +107,7 @@ model Zone {
width Int
height Int
tiles Json
pvp Boolean @default(false)
zoneEventTiles ZoneEventTile[]
zoneObjects ZoneObject[]
characters Character[]

View File

@ -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