using Robust.Shared.Configuration; namespace Content.Shared._White; /* * PUT YOUR CUSTOM VARS HERE * DO IT OR I WILL KILL YOU * with love, by hailrakes */ [CVarDefs] public sealed class WhiteCVars { /* * Bullet trails */ public static readonly CVarDef ShowTrails = CVarDef.Create("white.show_trails", true, CVar.CLIENTONLY | CVar.ARCHIVE); /* * Bullet trails */ public static readonly CVarDef EnableLightsGlowing = CVarDef.Create("white.enable_lights_glowing", true, CVar.CLIENTONLY | CVar.ARCHIVE); /* * Offer Indicator */ public static readonly CVarDef OfferModeIndicatorsPointShow = CVarDef.Create("white.offer_mode_indicators_point_show", true, CVar.ARCHIVE | CVar.CLIENTONLY); /* * Wiki rules */ public static readonly CVarDef RulesWiki = CVarDef.Create("white.wiki_rules", "https://wiki.ss14.su/rules", CVar.SERVER | CVar.REPLICATED); /* * Slang */ public static readonly CVarDef ChatSlangFilter = CVarDef.Create("ic.slang_filter", true, CVar.SERVER | CVar.REPLICATED | CVar.ARCHIVE); /* * Antispam */ public static readonly CVarDef ChatAntispam = CVarDef.Create("ic.antispam", true, CVar.SERVER | CVar.REPLICATED | CVar.ARCHIVE); public static readonly CVarDef AntispamMinLength = CVarDef.Create("ic.antispam_min_length", 7, CVar.SERVERONLY); public static readonly CVarDef AntispamIntervalSeconds = CVarDef.Create("ic.antispam_interval_seconds", 60d, CVar.SERVERONLY); /* * Sponsors */ public static readonly CVarDef SponsorsApiUrl = CVarDef.Create("sponsor.api_url", "", CVar.SERVERONLY); /* * Queue */ public static readonly CVarDef QueueEnabled = CVarDef.Create("queue.enabled", false, CVar.SERVERONLY); /* * RoundNotifications */ /// /// URL of the Discord webhook which will send round status notifications. /// public static readonly CVarDef DiscordRoundWebhook = CVarDef.Create("discord.round_webhook", string.Empty, CVar.SERVERONLY); /// /// Discord ID of role which will be pinged on new round start message. /// public static readonly CVarDef DiscordRoundRoleId = CVarDef.Create("discord.round_roleid", string.Empty, CVar.SERVERONLY); /// /// Send notifications only about a new round begins. /// public static readonly CVarDef DiscordRoundStartOnly = CVarDef.Create("discord.round_start_only", false, CVar.SERVERONLY); /* * Sockets */ public static readonly CVarDef UtkaSocketKey = CVarDef.Create("utka.socket_key", "ass", CVar.SERVERONLY | CVar.CONFIDENTIAL); /** * TTS (Text-To-Speech) */ /// /// Is TTS enabled /// public static readonly CVarDef TtsEnabled = CVarDef.Create("tts.enabled", true, CVar.SERVERONLY); /// /// URL of the TTS server API. /// public static readonly CVarDef TtsApiUrl = CVarDef.Create("tts.api_url", "", CVar.SERVERONLY); /// /// TTS Volume /// public static readonly CVarDef TtsVolume = CVarDef.Create("tts.volume", 0f, CVar.CLIENTONLY | CVar.ARCHIVE); /// /// TTS Cache /// public static readonly CVarDef TtsMaxCacheSize = CVarDef.Create("tts.max_cash_size", 200, CVar.SERVERONLY | CVar.ARCHIVE); /* * Stalin */ public static readonly CVarDef StalinSalt = CVarDef.Create("stalin.salt", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL | CVar.ARCHIVE); public static readonly CVarDef StalinApiUrl = CVarDef.Create("stalin.api_url", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL | CVar.ARCHIVE); public static readonly CVarDef StalinAuthUrl = CVarDef.Create("stalin.auth_url", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL | CVar.ARCHIVE); public static readonly CVarDef StalinEnabled = CVarDef.Create("stalin.enabled", false, CVar.SERVERONLY | CVar.ARCHIVE); public static readonly CVarDef StalinDiscordMinimumAge = CVarDef.Create("stalin.minimal_discord_age_minutes", 604800.0f, CVar.SERVERONLY | CVar.ARCHIVE); /* * NonPeaceful Round End */ public static readonly CVarDef NonPeacefulRoundEndEnabled = CVarDef.Create("white.non_peaceful_round_end_enabled", true, CVar.SERVERONLY | CVar.ARCHIVE); /* * Disabling calling shuttle by admin button */ public static readonly CVarDef EmergencyShuttleCallEnabled = CVarDef.Create("shuttle.emergency_shuttle_call", true, CVar.SERVER | CVar.REPLICATED | CVar.ARCHIVE); /* * Xenophobia */ public static readonly CVarDef FanaticXenophobiaEnabled = CVarDef.Create("white.fanatic_xenophobia", false, CVar.SERVERONLY | CVar.ARCHIVE); /* * MeatyOre */ public static readonly CVarDef MeatyOrePanelEnabled = CVarDef.Create("white.meatyore_panel_enabled", true, CVar.REPLICATED | CVar.SERVER | CVar.ARCHIVE); public static readonly CVarDef MeatyOreDefaultBalance = CVarDef.Create("white.meatyore_default_balance", 15, CVar.SERVER | CVar.ARCHIVE); /* * Ghost Respawn */ public static readonly CVarDef GhostRespawnTime = CVarDef.Create("ghost.respawn_time", 15f, CVar.SERVERONLY); public static readonly CVarDef GhostRespawnMaxPlayers = CVarDef.Create("ghost.respawn_max_players", 40, CVar.SERVERONLY); /* * Bwoink */ public static readonly CVarDef BwoinkVolume = CVarDef.Create("white.admin.bwoinkVolume", 0f, CVar.CLIENTONLY | CVar.ARCHIVE); /* * Jukebox */ public static readonly CVarDef MaxJukeboxSongSizeInMb = CVarDef.Create("white.max_jukebox_song_size", 3.5f, CVar.SERVER | CVar.REPLICATED | CVar.ARCHIVE); public static readonly CVarDef JukeboxVolume = CVarDef.Create("white.jukebox_volume", 0f, CVar.CLIENTONLY | CVar.ARCHIVE); /* * Chat */ public static readonly CVarDef SeparatedChatSize = CVarDef.Create("white.chat_size_separated", "0.6;0", CVar.CLIENTONLY | CVar.ARCHIVE); public static readonly CVarDef DefaultChatSize = CVarDef.Create("white.chat_size_default", "300;-500", CVar.CLIENTONLY | CVar.ARCHIVE); /* * OnlyInOhio */ public static readonly CVarDef OnlyInOhio = CVarDef.Create("white.ohio_api_link", "", CVar.SERVERONLY | CVar.ARCHIVE | CVar.CONFIDENTIAL); /* * Mark dead chat messages as admin */ public static readonly CVarDef DeadChatAdmin = CVarDef.Create("white.admin.deadChatAdmin", false, CVar.CLIENT | CVar.REPLICATED | CVar.ARCHIVE); /* * End of round stats */ /// /// The amount of blood lost required to trigger the BloodLost end of round stat. /// /// /// Setting this to 0 will disable the BloodLost end of round stat. /// public static readonly CVarDef BloodLostThreshold = CVarDef.Create("eorstats.bloodlost_threshold", 100f, CVar.SERVERONLY); /// /// The amount of time required to trigger the CuffedTime end of round stat, in minutes. /// /// /// Setting this to 0 will disable the CuffedTime end of round stat. /// public static readonly CVarDef CuffedTimeThreshold = CVarDef.Create("eorstats.cuffedtime_threshold", 5, CVar.SERVERONLY); /// /// The amount of sounds required to trigger the EmitSound end of round stat. /// /// /// Setting this to 0 will disable the EmitSound end of round stat. /// public static readonly CVarDef EmitSoundThreshold = CVarDef.Create("eorstats.emitsound_threshold", 10, CVar.SERVERONLY); /// /// The amount of instruments required to trigger the InstrumentPlayed end of round stat, in minutes. /// /// /// Setting this to 0 will disable the InstrumentPlayed end of round stat. /// public static readonly CVarDef InstrumentPlayedThreshold = CVarDef.Create("eorstats.instrumentplayed_threshold", 4, CVar.SERVERONLY); /// /// The amount of shots fired required to trigger the ShotsFired end of round stat. /// /// /// Setting this to 0 will disable the ShotsFired end of round stat. /// public static readonly CVarDef ShotsFiredThreshold = CVarDef.Create("eorstats.shotsfired_threshold", 40, CVar.SERVERONLY); /// /// Should a stat be displayed specifically when no shots were fired? /// public static readonly CVarDef ShotsFiredDisplayNone = CVarDef.Create("eorstats.shotsfired_displaynone", true, CVar.SERVERONLY); /// /// The amount of times slipped required to trigger the SlippedCount end of round stat. /// /// /// Setting this to 0 will disable the SlippedCount end of round stat. /// public static readonly CVarDef SlippedCountThreshold = CVarDef.Create("eorstats.slippedcount_threshold", 30, CVar.SERVERONLY); /// /// Should a stat be displayed specifically when nobody was done? /// public static readonly CVarDef SlippedCountDisplayNone = CVarDef.Create("eorstats.slippedcount_displaynone", true, CVar.SERVERONLY); /// /// Should the top slipper be displayed in the end of round stats? /// public static readonly CVarDef SlippedCountTopSlipper = CVarDef.Create("eorstats.slippedcount_topslipper", true, CVar.SERVERONLY); public static readonly CVarDef ServerCulture = CVarDef.Create("white.culture", "ru-RU", CVar.REPLICATED | CVar.SERVER); /// /// Should load a ERT map? /// public static readonly CVarDef LoadErtMap = CVarDef.Create("white.ert_load", true, CVar.SERVERONLY); public static readonly CVarDef LogChatActions = CVarDef.Create("white.log_to_chat", true, CVar.CLIENT | CVar.ARCHIVE | CVar.REPLICATED); /// /// Determines whether automatic get up is required /// public static readonly CVarDef AutoGetUp = CVarDef.Create("white.auto_get_up", true, CVar.CLIENT | CVar.ARCHIVE | CVar.REPLICATED); /// /// Determines whether telescope functions by holing a button or via toggle /// public static readonly CVarDef HoldLookUp = CVarDef.Create("white.hold_look_up", false, CVar.CLIENT | CVar.ARCHIVE); /* * Aspects */ public static readonly CVarDef IsAspectsEnabled = CVarDef.Create("aspects.enabled", true, CVar.SERVERONLY); public static readonly CVarDef AspectChance = CVarDef.Create("aspects.chance", 0.33d, CVar.SERVERONLY); /* * Damage */ // Applies Projectile and Melee damage. public static readonly CVarDef DamageModifier = CVarDef.Create("damage.modifier", 1.0f, CVar.REPLICATED); // Applies ALL damage, EVEN walls and etc. public static readonly CVarDef DamageGetModifier = CVarDef.Create("damage.get_modifier", 1.0f, CVar.REPLICATED); public static readonly CVarDef AutoKickVpnUsers = CVarDef.Create("white.auto_kick_vpn_users", false, CVar.SERVERONLY); public static readonly CVarDef SalusApiLink = CVarDef.Create("white.salus_api_link", "http://localhost:7100/vpnchecker?address=", CVar.SERVERONLY | CVar.CONFIDENTIAL); /* * Reputation */ public static readonly CVarDef ReputationEnabled = CVarDef.Create("white.reputation_enabled", true, CVar.SERVERONLY); public static readonly CVarDef SlipPowerModifier = CVarDef.Create("white.slip_power_modifier", 1.0f, CVar.REPLICATED); /* * Antag grant */ public static readonly CVarDef EnableGrantAntag = CVarDef.Create("white.antag_grant_enabled", true, CVar.SERVERONLY); /* * Cult */ public static readonly CVarDef CultMinPlayers = CVarDef.Create("white.cult_min_players", 15, CVar.SERVERONLY | CVar.ARCHIVE); public static readonly CVarDef CultMaxStartingPlayers = CVarDef.Create("white.cult_max_starting_players", 4, CVar.SERVERONLY | CVar.ARCHIVE); public static readonly CVarDef CultMinStartingPlayers = CVarDef.Create("white.cult_min_starting_players", 2, CVar.SERVERONLY | CVar.ARCHIVE); /* * Panda Socket */ public static readonly CVarDef PandaStatusBind = CVarDef.Create("white.panda_status_bind", "", CVar.SERVERONLY | CVar.ARCHIVE); public static readonly CVarDef PandaStatusMaxConnections = CVarDef.Create("white.panda_status_max_connections", 100, CVar.SERVERONLY); public static readonly CVarDef PandaToken = CVarDef.Create("white.panda_token", "ass", CVar.SERVERONLY | CVar.CONFIDENTIAL); public static readonly CVarDef UtkaClientBind = CVarDef.Create("white.utka_client_bind", "", CVar.SERVERONLY); /* * PlayTime Tracker */ public static readonly CVarDef TimeTrackerApiUrl = CVarDef.Create("white.time_tracker_api", "https://ss14.su/api/jobs/", CVar.SERVERONLY | CVar.CONFIDENTIAL | CVar.ARCHIVE); public static readonly CVarDef TimeTrackerApiKey = CVarDef.Create("white.time_tracker_key", "", CVar.SERVERONLY | CVar.CONFIDENTIAL | CVar.ARCHIVE); /* * Random Artifacts */ public static readonly CVarDef EnableRandomArtifacts = CVarDef.Create("white.random_artifacts_enabled", true, CVar.SERVERONLY); public static readonly CVarDef ItemToArtifactRatio = CVarDef.Create("white.random_artifacts_ratio", 0.5f, CVar.SERVERONLY); /* * Map voting */ public static readonly CVarDef MapVotingEnabled = CVarDef.Create("white.map_voting_enabled", false, CVar.SERVERONLY); /* * Game voting */ public static readonly CVarDef GameVotingEnabled = CVarDef.Create("white.game_voting_enabled", false, CVar.SERVERONLY); }