algorembrant's picture
Upload 88 files
0712d5f verified
-- src/ReplicatedStorage/Shared/GameConfig.lua
local GameConfig = {
-- Starting values
StarterCash = 500,
StarterAxe = "BasicAxe",
-- Leaderstats
Stats = {
Cash = "Cash",
WoodChopped = "WoodChopped",
},
-- World boundaries
WorldBounds = {
MinX = -1500,
MaxX = 1500,
MinZ = -1500,
MaxZ = 1500,
},
-- Spawn area
SpawnPosition = Vector3.new(0, 5, 0),
SpawnPlatformSize = Vector3.new(60, 1, 60),
-- Auto-save
AutoSaveInterval = 120, -- seconds
-- Max players per server
MaxPlayers = 12,
-- Plot spawn positions (evenly spaced)
PlotPositions = {
Vector3.new(120, 0.5, 0),
Vector3.new(240, 0.5, 0),
Vector3.new(120, 0.5, 220),
Vector3.new(240, 0.5, 220),
Vector3.new(-120, 0.5, 0),
Vector3.new(-240, 0.5, 0),
Vector3.new(-120, 0.5, 220),
Vector3.new(-240, 0.5, 220),
Vector3.new(120, 0.5, -220),
Vector3.new(240, 0.5, -220),
Vector3.new(-120, 0.5, -220),
Vector3.new(-240, 0.5, -220),
},
-- Market area
MarketPosition = Vector3.new(0, 0.5, -100),
MarketSize = Vector3.new(40, 10, 40),
-- Shop area
ShopPosition = Vector3.new(60, 0.5, -100),
ShopSize = Vector3.new(30, 12, 30),
}
return GameConfig