From 61689866387a9f7341a0e2fb0504e4db19ddbaaf Mon Sep 17 00:00:00 2001 From: WalkerOfBacon <50679909+WalkerOfBacon@users.noreply.github.com> Date: Sat, 30 Nov 2024 17:24:47 -0500 Subject: [PATCH 1/3] Update Settings.luau --- Loader/Config/Settings.luau | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Loader/Config/Settings.luau b/Loader/Config/Settings.luau index 04a748438..88b54846d 100644 --- a/Loader/Config/Settings.luau +++ b/Loader/Config/Settings.luau @@ -210,6 +210,16 @@ settings.Aliases = { [":examplealias "] = ":ff | :fling | :fire " --// Order arguments appear in alias string determines their required order in the command message when ran later }; +settings.Cameras = { +--[[ + "Camera Name" would be the name of your camera + { + Name = "Camera Name"; + Position = Vector3.new(0, 0, 0) + } +]] +} + settings.Banned = {} -- List of people banned from the game Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";} settings.Muted = {} -- List of people muted (cannot send chat messages) Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";} settings.Blacklist = {} -- List of people banned from running commands Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";} @@ -406,6 +416,7 @@ descs.Creators = [[ Anyone to be identified as a place owner; Format: {"Username descs.Permissions = [[ Command permissions; Format: {"Command:NewLevel";} ]] descs.Aliases = [[ Command aliases; Format: {[":alias ..."] = ":command ..."} ]] +descs.Cameras = [[ Cameras; Format: {Name = "CamName", Position = Vector3.new(X, Y, Z)} ]] descs.Commands = [[ Custom commands ]] descs.Banned = [[ List of people banned from the game; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]] @@ -523,6 +534,7 @@ order = { " "; "Permissions"; "Aliases"; + "Cameras"; " "; "Commands"; "Banned"; From f5df9dfc78bc643a80c47c7f9dc4beb3b0cac273 Mon Sep 17 00:00:00 2001 From: WalkerOfBacon <50679909+WalkerOfBacon@users.noreply.github.com> Date: Sat, 30 Nov 2024 17:25:31 -0500 Subject: [PATCH 2/3] Update DefaultSettings.luau --- MainModule/Server/Dependencies/DefaultSettings.luau | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MainModule/Server/Dependencies/DefaultSettings.luau b/MainModule/Server/Dependencies/DefaultSettings.luau index c19cbef1d..8bde88b27 100644 --- a/MainModule/Server/Dependencies/DefaultSettings.luau +++ b/MainModule/Server/Dependencies/DefaultSettings.luau @@ -211,6 +211,17 @@ settings.Aliases = { [":examplealias "] = ":ff | :fling | :fire " --// Order arguments appear in alias string determines their required order in the command message when ran later }; +--// Use the below table to define pre-set cameras +settings.Cameras = { +--[[ + "Camera Name" would be the name of your camera + { + Name = "Camera Name"; + Position = Vector3.new(0, 0, 0) + } +]] +} + settings.Banned = {} -- List of people banned from the game Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";} settings.Muted = {} -- List of people muted (cannot send chat messages) Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";} settings.Blacklist = {} -- List of people banned from running commands Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";} @@ -407,6 +418,7 @@ descs.Creators = [[ Anyone to be identified as a place owner; Format: {"Username descs.Permissions = [[ Command permissions; Format: {"Command:NewLevel";} ]] descs.Aliases = [[ Command aliases; Format: {[":alias ..."] = ":command ..."} ]] +descs.Cameras = [[ Cameras; Format: {Name = "CamName", Position = Vector3.new(X, Y, Z)} ]] descs.Commands = [[ Custom commands ]] descs.Banned = [[ List of people banned from the game; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]] @@ -524,6 +536,7 @@ order = { " "; "Permissions"; "Aliases"; + "Cameras"; " "; "Commands"; "Banned"; From d5d4974f6769f8321438a6c6152c8f80f93f2b6f Mon Sep 17 00:00:00 2001 From: WalkerOfBacon <50679909+WalkerOfBacon@users.noreply.github.com> Date: Sat, 30 Nov 2024 17:25:50 -0500 Subject: [PATCH 3/3] Update Variables.luau --- MainModule/Server/Core/Variables.luau | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/MainModule/Server/Core/Variables.luau b/MainModule/Server/Core/Variables.luau index f7243ea00..dc5132804 100644 --- a/MainModule/Server/Core/Variables.luau +++ b/MainModule/Server/Core/Variables.luau @@ -32,6 +32,21 @@ return function(Vargs, GetEnv) Variables.ChatCreateRobloxCommands = Settings.ChatCreateRobloxCommands == nil and Variables.ChatCreateRobloxCommands or Settings.ChatCreateRobloxCommands Variables.DisableRejoinAtMaxPlayers = Settings.DisableRejoinAtMaxPlayers or Variables.DisableRejoinAtMaxPlayers + for _, v in Settings.Cameras or {} do + local cam = service.New("Part", { + Parent = workspace; + Name = `Camera: {v.Name}`; + Position = v.Position; + Anchored = true; + CanCollide = false; + Locked = true; + Size = Vector3.new(1, 1, 1); + Transparency = 1; + }) + + table.insert(Variables.Cameras, {Brick = cam, Name = v.Name}) + end + for _, v in Settings.MusicList or {} do table.insert(Variables.MusicList, v) end for _, v in Settings.InsertList or {} do table.insert(Variables.InsertList, v) end for _, v in Settings.CapeList or {} do table.insert(Variables.Capes, v) end