--[[ | This file was obtained through the combined efforts | of Madbluntz & Plymouth Antiquarian Society. | | Credits: lifestorm, Gregory Wayne Rossel JR., | Maloy, DrPepper10 @ RIP, Atle! | | Visit for more: https://plymouth.thetwilightzone.ru/ --]] -- You can change the default language by setting this in your schema. ix.config.language = "english" --[[ DO NOT CHANGE ANYTHING BELOW THIS. This is the Helix main configuration file. This file DOES NOT set any configurations, instead it just prepares them. To set the configuration, there is a "Config" tab in the F1 menu for super admins and above. Use the menu to change the variables, not this file. --]] ix.config.Add("maxCharacters", 5, "The maximum number of characters a player can have.", nil, { data = {min = 1, max = 50}, category = "characters" }) ix.config.Add("color", Color(75, 119, 190, 255), "The main color theme for the framework.", function(oldValue, newValue) if (newValue.a != 255) then ix.config.Set("color", ColorAlpha(newValue, 255)) return end if (CLIENT) then hook.Run("ColorSchemeChanged", newValue) end end, {category = "appearance"}) ix.config.Add("font", "Roboto Th", "The font used to display titles.", function(oldValue, newValue) if (CLIENT) then hook.Run("LoadFonts", newValue, ix.config.Get("genericFont")) end end, {category = "appearance"}) ix.config.Add("genericFont", "Roboto", "The font used to display generic texts.", function(oldValue, newValue) if (CLIENT) then hook.Run("LoadFonts", ix.config.Get("font"), newValue) end end, {category = "appearance"}) ix.config.Add("maxAttributes", 100, "The maximum amount each attribute can be.", nil, { data = {min = 0, max = 100}, category = "characters" }) ix.config.Add("chatAutoFormat", true, "Whether or not to automatically capitalize and punctuate in-character text.", nil, { category = "Chat" }) ix.config.Add("chatRange", 280, "The maximum distance a person's IC chat message goes to.", nil, { data = {min = 10, max = 5000, decimals = 1}, category = "chat" }) ix.config.Add("chatMax", 256, "The maximum amount of characters that can be sent in chat.", nil, { data = {min = 32, max = 1024}, category = "chat" }) ix.config.Add("chatColor", Color(255, 255, 150), "The default color for IC chat.", nil, {category = "chat"}) ix.config.Add("chatListenColor", Color(175, 255, 150), "The color for IC chat if you are looking at the speaker.", nil, { category = "chat" }) ix.config.Add("oocDelay", 10, "The delay before a player can use OOC chat again in seconds.", nil, { data = {min = 0, max = 10000}, category = "chat" }) ix.config.Add("allowGlobalOOC", true, "Whether or not Global OOC is enabled.", nil, { category = "chat" }) ix.config.Add("loocDelay", 0, "The delay before a player can use LOOC chat again in seconds.", nil, { data = {min = 0, max = 10000}, category = "chat" }) ix.config.Add("spawnTime", 5, "The time it takes to respawn.", nil, { data = {min = 0, max = 10000}, category = "characters" }) ix.config.Add("inventoryWidth", 6, "How many slots in a row there is in a default inventory.", nil, { data = {min = 0, max = 20}, category = "characters" }) ix.config.Add("inventoryHeight", 4, "How many slots in a column there is in a default inventory.", nil, { data = {min = 0, max = 20}, category = "characters" }) ix.config.Add("minNameLength", 4, "The minimum number of characters in a name.", nil, { data = {min = 4, max = 64}, category = "characters" }) ix.config.Add("maxNameLength", 32, "The maximum number of characters in a name.", nil, { data = {min = 16, max = 128}, category = "characters" }) ix.config.Add("minDescriptionLength", 16, "The minimum number of characters in a description.", nil, { data = {min = 0, max = 300}, category = "characters" }) ix.config.Add("descriptionDisplayLength", 256, "The amount of characters of a description that will be displayed when someone look at the player.", nil, { data = {min = 64, max = 2048}, category = "characters" }) ix.config.Add("saveInterval", 300, "How often characters save in seconds.", nil, { data = {min = 60, max = 3600}, category = "characters" }) ix.config.Add("walkSpeed", 130, "How fast a player normally walks.", function(oldValue, newValue) for _, v in ipairs(player.GetAll()) do v:SetWalkSpeed(newValue) end end, { data = {min = 75, max = 500}, category = "characters" }) ix.config.Add("runSpeed", 235, "How fast a player normally runs.", function(oldValue, newValue) for _, v in ipairs(player.GetAll()) do v:SetRunSpeed(newValue) end end, { data = {min = 75, max = 500}, category = "characters" }) ix.config.Add("walkRatio", 0.5, "How fast one goes when holding ALT.", nil, { data = {min = 0, max = 1, decimals = 1}, category = "characters" }) ix.config.Add("jumpPower", 200, "How much force is behind ones jump.", function(oldValue, newValue) for _, v in ipairs(player.GetAll()) do v:SetJumpPower(newValue) end end, { data = {min = 100, max = 400}, category = "characters" }) ix.config.Add("intro", true, "Whether or not the Helix intro is enabled for new players.", nil, { category = "appearance" }) ix.config.Add("music", "music/hl2_song2.mp3", "The default music played in the character menu.", nil, { category = "appearance" }) ix.config.Add("communityURL", "https://willard.network/forums/", "The URL to navigate to when the community button is clicked.", nil, { category = "appearance" }) ix.config.Add("communityText", "@community", "The text to display on the community button. You can use language phrases by prefixing with @", nil, { category = "appearance" }) ix.config.Add("vignette", true, "Whether or not the vignette is shown.", nil, { category = "appearance" }) ix.config.Add("scoreboardRecognition", false, "Whether or not recognition is used in the scoreboard.", nil, { category = "characters" }) ix.config.Add("defaultMoney", 0, "The amount of money that players start with.", nil, { category = "characters", data = {min = 0, max = 1000} }) ix.config.Add("allowVoice", false, "Whether or not voice chat is allowed.", function(oldValue, newValue) if (SERVER) then hook.Run("VoiceToggled", newValue) end end, { category = "server" }) ix.config.Add("voiceDistance", 600.0, "How far can the voice be heard.", function(oldValue, newValue) if (SERVER) then hook.Run("VoiceDistanceChanged", newValue) end end, { category = "server", data = {min = 0, max = 5000, decimals = 1} }) ix.config.Add("weaponAlwaysRaised", false, "Whether or not weapons are always raised.", nil, { category = "server" }) ix.config.Add("weaponRaiseTime", 1, "The time it takes for a weapon to raise.", nil, { data = {min = 0.1, max = 60, decimals = 1}, category = "server" }) ix.config.Add("maxHoldWeight", 100, "The maximum weight that a player can carry in their hands.", nil, { data = {min = 1, max = 500}, category = "interaction" }) ix.config.Add("throwForce", 732, "How hard a player can throw the item that they're holding.", nil, { data = {min = 0, max = 8192}, category = "interaction" }) ix.config.Add("allowPush", true, "Whether or not pushing with hands is allowed.", nil, { category = "interaction" }) ix.config.Add("pushOnly", false, "Whether or not punch damage is enabled.", nil, { category = "interaction" }) ix.config.Add("itemPickupTime", 0.5, "How long it takes to pick up and put an item in your inventory.", nil, { data = {min = 0, max = 5, decimals = 1}, category = "interaction" }) ix.config.Add("year", 2015, "The current in-game year.", function(oldValue, newValue) if (SERVER and !ix.date.bSaving) then ix.date.ResolveOffset() ix.date.current:setyear(newValue) ix.date.Send() end end, { data = {min = 1, max = 9999}, category = "date" }) ix.config.Add("month", 1, "The current in-game month.", function(oldValue, newValue) if (SERVER and !ix.date.bSaving) then ix.date.ResolveOffset() ix.date.current:setmonth(newValue) ix.date.Send() end end, { data = {min = 1, max = 12}, category = "date" }) ix.config.Add("day", 1, "The current in-game day.", function(oldValue, newValue) if (SERVER and !ix.date.bSaving) then ix.date.ResolveOffset() ix.date.current:setday(newValue) ix.date.Send() end end, { data = {min = 1, max = 31}, category = "date" }) ix.config.Add("secondsPerMinute", 60, "How many seconds it takes for a minute to pass in-game.", function(oldValue, newValue) if (SERVER and !ix.date.bSaving) then ix.date.UpdateTimescale(newValue) ix.date.Send() end end, { data = {min = 0.01, max = 120}, category = "date" })