BurevestnikDev

Settings files - Buevestnik Quest System

Jul 16th, 2024 (edited)
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.21 KB | Gaming | 0 0
  1. -- --  
  2. -- -- ██████╗░██╗░░░██╗██████╗░███████╗██╗░░░██╗███████╗░██████╗████████╗███╗░░██╗██╗██╗░░██╗
  3. -- -- ██╔══██╗██║░░░██║██╔══██╗██╔════╝██║░░░██║██╔════╝██╔════╝╚══██╔══╝████╗░██║██║██║░██╔╝
  4. -- -- ██████╦╝██║░░░██║██████╔╝█████╗░░╚██╗░██╔╝█████╗░░╚█████╗░░░░██║░░░██╔██╗██║██║█████═╝░
  5. -- -- ██╔══██╗██║░░░██║██╔══██╗██╔══╝░░░╚████╔╝░██╔══╝░░░╚═══██╗░░░██║░░░██║╚████║██║██╔═██╗░
  6. -- -- ██████╦╝╚██████╔╝██║░░██║███████╗░░╚██╔╝░░███████╗██████╔╝░░░██║░░░██║░╚███║██║██║░╚██╗
  7. -- -- ╚═════╝░░╚═════╝░╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚══════╝╚═════╝░░░░╚═╝░░░╚═╝░░╚══╝╚═╝╚═╝░░╚═╝
  8.  
  9. Settings = {}
  10.  
  11. --Defining the framework like esx/qb/standalone. (Custom ones can be added to the bridge file).
  12. Settings.myFramework = 'esx'
  13. --Do you want to use a inventory system?
  14. Settings.useInventory = true
  15. --Inventory definition like ox_inventory/qb-inventory/esx. (Custom ones can be added to the bridge file).
  16. Settings.myInventory = 'ox_inventory'
  17.  
  18. --Target definition like ox_target/native. (Custom ones can be added to the bridge file).
  19. Settings.myTarget = 'ox_target'
  20. Settings.myTargetText = "Interact with the quest"
  21. Settings.myTargetIcon = "fa-solid fa-question"
  22. Settings.myTargetRadius = 1.5
  23. Settings.myTargetRadiusStages = 2.0
  24. Settings.myTargetDebug = false
  25. -- The distance of interaction with the environment
  26. Settings.InteractionDistance = 2.0
  27. --The distance for interaction with the stages of the quest
  28. Settings.DistInteraction = 2.0
  29. --Interaction Button Key (If myTarget == 'native')
  30. Settings.InteractionButtonKey = 38
  31. -- If true, the custom interaction menus are activated. Pay attention to the customInteractionButtonOpen and customInteractionButtonClose functions.
  32. Settings.UseCustomInteractionButton = false
  33. -- The function of opening a custom interaction menu.
  34. -- I recommend checking the first 2 values for nil to avoid errors.
  35. Settings.customInteractionButtonOpen = function(pedData, questData, isQuest) -- pedData - returns the information of the quest ped; Example: pedData["name"]; pedData["position"] | questData - returns information about the quest; Example: pedData["name"]; pedData["position"] | isQuest - returns information about whether it is a quest or an interaction marker
  36.     if isQuest then
  37.         exports.Burevestnik_interaction_button:bur_nui_InteractionButton_open(Settings.BurevestnikInteractionButton, Settings.BurevestnikInteractionButtonText)  -- Use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
  38.     else
  39.         exports.Burevestnik_interaction_button:bur_nui_InteractionButton_open(Settings.BurevestnikInteractionButton, Settings.BurevestnikInteractionButtonText2)  -- Use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
  40.     end
  41. end
  42. -- The function of closing the custom interaction menu.
  43. Settings.customInteractionButtonClose = function()
  44.     exports.Burevestnik_interaction_button:bur_nui_InteractionButton_close() -- Use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
  45. end
  46.  
  47. --Do you want to use a notification system?
  48. Settings.useNotifications = true
  49. --Notification definition like ox_lib/native/custom. (Custom ones can be added to the bridge file).
  50. Settings.myNotifications = 'ox_lib'
  51.  
  52. --Do you want the camera to fly into the sky when creating a lobby/menu?
  53. Settings.useCameraSystemDistance = true
  54. --Do you want to use the lobby system?
  55. Settings.useLobbySystem = true
  56. --Lobby menu colors:
  57. --0 = HUD_COLOUR_PURE_WHITE, 1 = HUD_COLOUR_WHITE, 2 = HUD_COLOUR_BLACK, 3 = HUD_COLOUR_GREY, 4 = HUD_COLOUR_GREYLIGHT, 5 = HUD_COLOUR_GREYDARK, 6 = HUD_COLOUR_RED, 7 = HUD_COLOUR_REDLIGHT, 8 = HUD_COLOUR_REDDARK, 9 = HUD_COLOUR_BLUE, 10 = HUD_COLOUR_BLUELIGHT, 11 = HUD_COLOUR_BLUEDARK, 12 = HUD_COLOUR_YELLOW, 13 = HUD_COLOUR_YELLOWLIGHT, 14 = HUD_COLOUR_YELLOWDARK, 15 = HUD_COLOUR_ORANGE, 16 = HUD_COLOUR_ORANGELIGHT, 17 = HUD_COLOUR_ORANGEDARK, 18 = HUD_COLOUR_GREEN, 19 = HUD_COLOUR_GREENLIGHT, 20 = HUD_COLOUR_GREENDARK, 21 = HUD_COLOUR_PURPLE, 22 = HUD_COLOUR_PURPLELIGHT, 23 = HUD_COLOUR_PURPLEDARK, 24 = HUD_COLOUR_PINK, 25 = HUD_COLOUR_RADAR_HEALTH, 26 = HUD_COLOUR_RADAR_ARMOUR, 27 = HUD_COLOUR_RADAR_DAMAGE, 28 = HUD_COLOUR_NET_PLAYER1, 29 = HUD_COLOUR_NET_PLAYER2, 30 = HUD_COLOUR_NET_PLAYER3, 31 = HUD_COLOUR_NET_PLAYER4, 32 = HUD_COLOUR_NET_PLAYER5, 33 = HUD_COLOUR_NET_PLAYER6, 34 = HUD_COLOUR_NET_PLAYER7, 35 = HUD_COLOUR_NET_PLAYER8, 36 = HUD_COLOUR_NET_PLAYER9, 37 = HUD_COLOUR_NET_PLAYER10, 38 = HUD_COLOUR_NET_PLAYER11, 39 = HUD_COLOUR_NET_PLAYER12, 40 = HUD_COLOUR_NET_PLAYER13, 41 = HUD_COLOUR_NET_PLAYER14, 42 = HUD_COLOUR_NET_PLAYER15, 43 = HUD_COLOUR_NET_PLAYER16, 44 = HUD_COLOUR_NET_PLAYER17, 45 = HUD_COLOUR_NET_PLAYER18, 46 = HUD_COLOUR_NET_PLAYER19, 47 = HUD_COLOUR_NET_PLAYER20, 48 = HUD_COLOUR_NET_PLAYER21, 49 = HUD_COLOUR_NET_PLAYER22,
  58. --50 = HUD_COLOUR_NET_PLAYER23, 51 = HUD_COLOUR_NET_PLAYER24, 52 = HUD_COLOUR_NET_PLAYER25, 53 = HUD_COLOUR_NET_PLAYER26, 54 = HUD_COLOUR_NET_PLAYER27, 55 = HUD_COLOUR_NET_PLAYER28, 56 = HUD_COLOUR_NET_PLAYER29, 57 = HUD_COLOUR_NET_PLAYER30, 58 = HUD_COLOUR_NET_PLAYER31, 59 = HUD_COLOUR_NET_PLAYER32, 60 = HUD_COLOUR_SIMPLEBLIP_DEFAULT, 61 = HUD_COLOUR_MENU_BLUE, 62 = HUD_COLOUR_MENU_GREY_LIGHT, 63 = HUD_COLOUR_MENU_BLUE_EXTRA_DARK, 64 = HUD_COLOUR_MENU_YELLOW, 65 = HUD_COLOUR_MENU_YELLOW_DARK, 66 = HUD_COLOUR_MENU_GREEN, 67 = HUD_COLOUR_MENU_GREY, 68 = HUD_COLOUR_MENU_GREY_DARK, 69 = HUD_COLOUR_MENU_HIGHLIGHT, 70 = HUD_COLOUR_MENU_STANDARD, 71 = HUD_COLOUR_MENU_DIMMED, 72 = HUD_COLOUR_MENU_EXTRA_DIMMED, 73 = HUD_COLOUR_BRIEF_TITLE, 74 = HUD_COLOUR_MID_GREY_MP, 75 = HUD_COLOUR_NET_PLAYER1_DARK, 76 = HUD_COLOUR_NET_PLAYER2_DARK, 77 = HUD_COLOUR_NET_PLAYER3_DARK, 78 = HUD_COLOUR_NET_PLAYER4_DARK, 79 = HUD_COLOUR_NET_PLAYER5_DARK, 80 = HUD_COLOUR_NET_PLAYER6_DARK, 81 = HUD_COLOUR_NET_PLAYER7_DARK, 82 = HUD_COLOUR_NET_PLAYER8_DARK, 83 = HUD_COLOUR_NET_PLAYER9_DARK, 84 = HUD_COLOUR_NET_PLAYER10_DARK, 85 = HUD_COLOUR_NET_PLAYER11_DARK, 86 = HUD_COLOUR_NET_PLAYER12_DARK, 87 = HUD_COLOUR_NET_PLAYER13_DARK, 88 = HUD_COLOUR_NET_PLAYER14_DARK, 89 = HUD_COLOUR_NET_PLAYER15_DARK, 90 = HUD_COLOUR_NET_PLAYER16_DARK, 91 = HUD_COLOUR_NET_PLAYER17_DARK, 92 = HUD_COLOUR_NET_PLAYER18_DARK, 93 = HUD_COLOUR_NET_PLAYER19_DARK, 94 = HUD_COLOUR_NET_PLAYER20_DARK, 95 = HUD_COLOUR_NET_PLAYER21_DARK, 96 = HUD_COLOUR_NET_PLAYER22_DARK, 97 = HUD_COLOUR_NET_PLAYER23_DARK, 98 = HUD_COLOUR_NET_PLAYER24_DARK, 99 = HUD_COLOUR_NET_PLAYER25_DARK,
  59. --100 = HUD_COLOUR_NET_PLAYER26_DARK, 101 = HUD_COLOUR_NET_PLAYER27_DARK, 102 = HUD_COLOUR_NET_PLAYER28_DARK, 103 = HUD_COLOUR_NET_PLAYER29_DARK, 104 = HUD_COLOUR_NET_PLAYER30_DARK, 105 = HUD_COLOUR_NET_PLAYER31_DARK, 106 = HUD_COLOUR_NET_PLAYER32_DARK, 107 = HUD_COLOUR_BRONZE, 108 = HUD_COLOUR_SILVER, 109 = HUD_COLOUR_GOLD, 110 = HUD_COLOUR_PLATINUM, 111 = HUD_COLOUR_GANG1, 112 = HUD_COLOUR_GANG2, 113 = HUD_COLOUR_GANG3, 114 = HUD_COLOUR_GANG4, 115 = HUD_COLOUR_SAME_CREW, 116 = HUD_COLOUR_FREEMODE, 117 = HUD_COLOUR_PAUSE_BG, 118 = HUD_COLOUR_FRIENDLY, 119 = HUD_COLOUR_ENEMY, 120 = HUD_COLOUR_LOCATION, 121 = HUD_COLOUR_PICKUP, 122 = HUD_COLOUR_PAUSE_SINGLEPLAYER, 123 = HUD_COLOUR_FREEMODE_DARK, 124 = HUD_COLOUR_INACTIVE_MISSION, 125 = HUD_COLOUR_DAMAGE, 126 = HUD_COLOUR_PINKLIGHT, 127 = HUD_COLOUR_PM_MITEM_HIGHLIGHT, 128 = HUD_COLOUR_SCRIPT_VARIABLE, 129 = HUD_COLOUR_YOGA, 130 = HUD_COLOUR_TENNIS, 131 = HUD_COLOUR_GOLF, 132 = HUD_COLOUR_SHOOTING_RANGE, 133 = HUD_COLOUR_FLIGHT_SCHOOL, 134 = HUD_COLOUR_NORTH_BLUE, 135 = HUD_COLOUR_SOCIAL_CLUB, 136 = HUD_COLOUR_PLATFORM_BLUE, 137 = HUD_COLOUR_PLATFORM_GREEN, 138 = HUD_COLOUR_PLATFORM_GREY, 139 = HUD_COLOUR_FACEBOOK_BLUE, 140 = HUD_COLOUR_INGAME_BG, 141 = HUD_COLOUR_DARTS, 142 = HUD_COLOUR_WAYPOINT, 143 = HUD_COLOUR_MICHAEL, 144 = HUD_COLOUR_FRANKLIN, 145 = HUD_COLOUR_TREVOR, 146 = HUD_COLOUR_GOLF_P1, 147 = HUD_COLOUR_GOLF_P2, 148 = HUD_COLOUR_GOLF_P3, 149 = HUD_COLOUR_GOLF_P4,
  60. --150 = HUD_COLOUR_WAYPOINTLIGHT, 151 = HUD_COLOUR_WAYPOINTDARK, 152 = HUD_COLOUR_PANEL_LIGHT, 153 = HUD_COLOUR_MICHAEL_DARK, 154 = HUD_COLOUR_FRANKLIN_DARK, 155 = HUD_COLOUR_TREVOR_DARK, 156 = HUD_COLOUR_OBJECTIVE_ROUTE, 157 = HUD_COLOUR_PAUSEMAP_TINT, 158 = HUD_COLOUR_PAUSE_DESELECT, 159 = HUD_COLOUR_PM_WEAPONS_PURCHASABLE, 160 = HUD_COLOUR_PM_WEAPONS_LOCKED, 161 = HUD_COLOUR_END_SCREEN_BG, 162 = HUD_COLOUR_CHOP, 163 = HUD_COLOUR_PAUSEMAP_TINT_HALF, 164 = HUD_COLOUR_NORTH_BLUE_OFFICIAL, 165 = HUD_COLOUR_SCRIPT_VARIABLE_2, 166 = HUD_COLOUR_H, 167 = HUD_COLOUR_HDARK, 168 = HUD_COLOUR_T, 169 = HUD_COLOUR_TDARK, 170 = HUD_COLOUR_HSHARD, 171 = HUD_COLOUR_CONTROLLER_MICHAEL, 172 = HUD_COLOUR_CONTROLLER_FRANKLIN, 173 = HUD_COLOUR_CONTROLLER_TREVOR, 174 = HUD_COLOUR_CONTROLLER_CHOP, 175 = HUD_COLOUR_VIDEO_EDITOR_VIDEO, 176 = HUD_COLOUR_VIDEO_EDITOR_AUDIO, 177 = HUD_COLOUR_VIDEO_EDITOR_TEXT, 178 = HUD_COLOUR_HB_BLUE, 179 = HUD_COLOUR_HB_YELLOW, 180 = HUD_COLOUR_VIDEO_EDITOR_SCORE, 181 = HUD_COLOUR_VIDEO_EDITOR_AUDIO_FADEOUT, 182 = HUD_COLOUR_VIDEO_EDITOR_TEXT_FADEOUT, 183 = HUD_COLOUR_VIDEO_EDITOR_SCORE_FADEOUT, 184 = HUD_COLOUR_HEIST_BACKGROUND, 185 = HUD_COLOUR_VIDEO_EDITOR_AMBIENT, 186 = HUD_COLOUR_VIDEO_EDITOR_AMBIENT_FADEOUT, 187 = HUD_COLOUR_GB, 188 = HUD_COLOUR_G, 189 = HUD_COLOUR_B, 190 = HUD_COLOUR_LOW_FLOW, 191 = HUD_COLOUR_LOW_FLOW_DARK, 192 = HUD_COLOUR_G1, 193 = HUD_COLOUR_G2, 194 = HUD_COLOUR_G3, 195 = HUD_COLOUR_G4, 196 = HUD_COLOUR_G5, 197 = HUD_COLOUR_G6, 198 = HUD_COLOUR_G7, 199 = HUD_COLOUR_G8,
  61. --200 = HUD_COLOUR_G9, 201 = HUD_COLOUR_G10, 202 = HUD_COLOUR_G11, 203 = HUD_COLOUR_G12, 204 = HUD_COLOUR_G13, 205 = HUD_COLOUR_G14, 206 = HUD_COLOUR_G15, 207 = HUD_COLOUR_ADVERSARY, 208 = HUD_COLOUR_DEGEN_RED, 209 = HUD_COLOUR_DEGEN_YELLOW, 210 = HUD_COLOUR_DEGEN_GREEN, 211 = HUD_COLOUR_DEGEN_CYAN, 212 = HUD_COLOUR_DEGEN_BLUE, 213 = HUD_COLOUR_DEGEN_MAGENTA, 214 = HUD_COLOUR_STUNT_1, 215 = HUD_COLOUR_STUNT_2
  62. Settings.LobbyColor1 = 2
  63. Settings.LobbyColor2 = 11
  64. --Turn on the visibility of empty slots?
  65. Settings.useLobbyVisibilityEmptySlots = true
  66. --The number of visible slots (Does not affect the allowed slots in the lobby)
  67. Settings.maxPlayersLobbyVisibilityEmptySlots = 4
  68. --Do you want to use cooldown?
  69. Settings.useQuestCooldown = true
  70. -- Do you want to use the menu UI ? (only if Settings.useLobbySystem = false)
  71. Settings.UIMenu = true
  72. -- Do you want to use the UI of the end?
  73. Settings.UIEnd = true
  74. -- Do you want to see a UI with an active task?
  75. Settings.UIActiveQuestRight = true
  76. -- Do you want to use audio at the start of the quest?
  77. Settings.UseAudioStart = true
  78. Settings.audioNameStart = "HUD_AWARDS" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
  79. Settings.audioRefStart = "COLLECTED" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
  80. -- Do you want to use audio at the start of the quest?
  81. Settings.UseAudioEnd = true
  82. Settings.audioNameEnd = "HUD_AWARDS" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
  83. Settings.audioRefEnd = "TENNIS_POINT_WON" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
  84. -- Freezes the Task Ped in place
  85. Settings.FreezTaskPed = true
  86. -- Includes Godmode for Task Pad
  87. Settings.GodModTaskPed = true
  88. -- Use a level system
  89. Settings.levelSystem = true
  90. Settings.levelSystemLevelDefinitions = false
  91. -- Use command to check the level
  92. Settings.UseCommandChecklevelSystem = true
  93. -- Name of the team to check the level
  94. Settings.CommandChecklevelSystem = "level"
  95. -- Delay in sending/updating database-related events. Recommended 0.2 or 0.5 sec
  96. -- Settings.delayDatabase = 100 * 2 --0.2 sec.
  97. -- This parameter outputs the received information for the player from the server to the client console. Settings.levelSystem and Settings.QuestProgress must be true !
  98. Settings.retrieveDataServerDebug = false
  99. -- This parameter is responsible for whether the animation of the quest NPC will be interrupted at the moment when the player enters the interaction zone (With item animations it will lead to spam) (It may not work correctly on some systems)
  100. Settings.questNPCPaysAttentionToThePlayer = false
  101.  
  102. --Do you want to use the opportunity to cancel the quest?
  103. Settings.UseStopEventQuest = true --Do you want the event to cancel the quest to be active?
  104. Settings.UseStopEventQuestCommand = true --Do you want to use the command to cancel the quest? It will work if Settings.UseStopEventQuest = true
  105. Settings.CommandStopEventQuest = "Burevestnik_quest_stop" --Command to stop the quest. It will work if Settings.UseStopEventQuest = true
  106. Settings.QuestProgress = true --Saving the progress of the quest.
  107. Settings.QuestProgressConvertingSavingDataBeforeRestart = false --If true, it saves information about completed quests only until the resource is restarted.
  108.  
  109. --Translation
  110. Settings.TranslationTime = "~r~Now is not the time!"
  111. Settings.TranslationInteractionButton = "Press ~INPUT_CONTEXT~ to interact with ~o~"
  112. Settings.NoAccess = "You don't have access!"
  113. Settings.NoReqJobOnline = "There is not enough player with the required job to start the quest"
  114. Settings.Reward = "REWARD!" --Will be displayed if Settings.UIEnd = false
  115. Settings.QuestInteractionButton = "Press  ~INPUT_CONTEXT~ to ~g~interact~s~"
  116. Settings.NoItem = "You dont have an item"
  117. Settings.NoLevel = "~r~Your level is too small!"
  118. Settings.NoLevel2 = "~r~Players only with the requested level can start"
  119. Settings.Requiredlevel = "Required level: "
  120. Settings.YourLevel = "Your level: "
  121. Settings.Experience = "Your experience: "
  122. Settings.OnQuest = "You are already on the quest!"
  123. Settings.OnCooldown = "This quest is in cooldown!"
  124. Settings.BurevestnikInteractionButton = "E"
  125. Settings.BurevestnikInteractionButtonText = "Press to interact with the quest"
  126. Settings.BurevestnikInteractionButtonText2 = "Press to interact"
  127. Settings.QuestProgressDone = "~g~You have already passed this quest!"
  128. Settings.LostQuestItem = "~r~The quest comes to an abrupt halt as you have misplaced an essential item!"
  129. Settings.NoItemToStart = "~r~You lack the necessary item to initiate the quest!"
  130. Settings.BeforePlayerBucketSet = "BEFORE PLAYER BUCKET SET: "
  131. Settings.AfterPlayerBucketSet = "AFTER PLAYER BUCKET SET: "
  132. Settings.BeforePlayerBucketReturn = "BEFORE PLAYER BUCKET RETURN: "
  133. Settings.AfterPlayerBucketReturn = "AFTER PLAYER BUCKET RETURN: "
  134. Settings.LobbyQuestLobbyText = "Quest: "
  135. Settings.LobbyQuestLobbyCategory1 = "Options"
  136. Settings.LobbyQuestLobbyCategory2 = "Players"
  137. Settings.LobbyQuestLobbyCategory3 = "Quest details"
  138. Settings.LobbyID = "Lobby ID:"
  139. Settings.LobbyStoryType = "Story type:"
  140. Settings.LobbyMoneyRewards = "Money rewards:"
  141. Settings.LobbyMoneyRewardsSymbol = "~g~$"
  142. Settings.LobbyItemRewards = "Item rewards:"
  143. Settings.LobbyItemRewardsSymbol = "~y~"
  144. Settings.LobbyStartQuest = "Start quest"
  145. Settings.LobbyLeave = "Leave lobby"
  146. Settings.LobbyEmptySlots = "Empty Slot"
  147. Settings.LobbyNameError = "ERROR"
  148. Settings.LobbyInvitePlayer = "Invite player"
  149. Settings.LobbyInviteEnterPlayerId = "Enter the player ID for the invitation"
  150. Settings.LobbyInviteRequestEnter = "Enter 'YES' to accept the invitation to the quest lobby: "
  151. Settings.LobbyInviteRequestKeyWord = "YES" --It should only be in uppercase!
  152.  
  153. Settings.menuUIText1 = "Description:"
  154. Settings.menuUIText2 = "Tasks:"
  155. Settings.menuUIText3 = "Rewards:"
  156. Settings.menuUIText4 = "$"
  157. Settings.menuUIText5 = "ENTER"
  158. Settings.menuUIText6 = "Press to start"
  159. Settings.menuUIText7 = "ESC"
  160. Settings.menuUIText8 = "Press to close"
  161.  
  162. Settings.EndUIText1 = "Congratulate!"
  163. Settings.EndUIText2 = "Task completed"
  164. Settings.EndUIText3 = "ESC"
  165. Settings.EndUIText4 = "Press to continue"
  166.  
  167. --Blip
  168. Settings.UseBlipCategory = false --Use categories for blips. More here: https://docs.fivem.net/natives/?_0x234CDD44D996FD9A
  169. Settings.UseBlipsForAllPed = true
  170. Settings.BlipName = "Tasks" --Blip text
  171. Settings.BlipScale = 0.8 --Blip scale
  172. Settings.BlipColour = 7 --Blip colour
  173. Settings.BlipSprite = 66 --Blip sprite
  174.  
  175. --Marker
  176. Settings.UseMarker = true --Do you want to use a marker ?
  177. Settings.MarkertDist = 5.0
  178. Settings.MarkertType = 0 --Marker type
  179. Settings.MarkertBob = true
  180. Settings.MarkertRotate = false
  181. Settings.MarkertR = 50 --Marker colour R
  182. Settings.MarkertG = 255 --Marker colour G
  183. Settings.MarkertB = 0 --Marker colour B
  184. Settings.MarkertSize = vector3(0.4, 0.4, 0.4) --Marker size
  185.  
  186. --Interaction Marker instead of Ped; This can increase ms at the time of interaction; Use this parameter if there is a parameter in all your quests ["UseSpawnPed"] = false; If you have a marker in the air, lower the z coordinate at the position by 1
  187. Settings.QuestInteractMarkers = false --Do you want to use a marker ?
  188. Settings.QuestInteractMarkerType = 1 --Marker type
  189. Settings.QuestInteractMarkerSizeX = 0.5 --Marker size X
  190. Settings.QuestInteractMarkerSizeY = 0.5 --Marker size Y
  191. Settings.QuestInteractMarkerSizeZ = 0.5 --Marker size Z
  192. Settings.QuestInteractMarkerColourR = 122 --Marker colour R
  193. Settings.QuestInteractMarkerColourG = 195 --Marker colour G
  194. Settings.QuestInteractMarkerColourB = 254 --Marker colour B
  195. Settings.QuestInteractMarkerColourA = 100 --Marker colour A
  196.  
  197. --Setting up the quest text
  198. Settings.TextScale = 0.4 --Text scale
  199. Settings.TextSize = 0.4 --Text size
  200. Settings.TextFont = 0 --Text font (0 - ChaletLondon | 1 - HouseScript | 2 - Monospace | 4 - CharletComprimeColonge | 7 - Pricedown)
  201. Settings.TextColourR = 255 --Text colour R
  202. Settings.TextColourG = 255 --Text colour G
  203. Settings.TextColourB = 255 --Text colour B
  204. Settings.TextColourA = 215 --Text colour A
  205. Settings.TextDropShadowColourDistance = 0 -- Shadow distance in pixels, both horizontal and vertical.
  206. Settings.TextDropShadowColourR = 0 --Text shadow colour R
  207. Settings.TextDropShadowColourG = 0 --Text shadow colour G
  208. Settings.TextDropShadowColourB = 0 --Text shadow colour B
  209. Settings.TextDropShadowColourA = 255 --Text shadow colour A
  210. Settings.TextDropEdgeColourDistance = 1 -- Edge parm (It is better not to change).
  211. Settings.TextDropEdgeColourR = 0 --Text edge colour R
  212. Settings.TextDropEdgeColourG = 0 --Text edge colour R
  213. Settings.TextDropEdgeColourB = 0 --Text edge colour R
  214. Settings.TextDropEdgeColourA = 255 --Text edge colour R
  215.  
  216. --Global Settingsuration of Aggressive Peds
  217. Settings.AggressivePedCount = 0 --Counts the number of aggressive NPCs created (DO NOT CHANGE THIS PARAMETER!)
  218. Settings.AggressivePedNecessaryTarget = true --If true, then without destroying all aggressive peds, you will not be able to move to the next stage in the quest
  219. Settings.AggressivePedUseBlip = true --Do you want to use blips on aggressive peds?
  220. Settings.AggressivePedBlipName = "Enemy" --Blip text
  221. Settings.AggressivePedBlipScale = 0.8 --Blip scale
  222. Settings.AggressivePedBlipColour = 1 --Blip colour
  223. Settings.AggressivePedBlipSprite = 458 --Blip sprite
  224. Settings.AggressiveHelicopterBlipSprite = 422 --Blip sprite
  225. Settings.AggressiveHelicopterBlipColour = 1 --Blip colour
  226. Settings.AggressiveVehicleBlipSprite = 665 --Blip sprite
  227. Settings.AggressiveVehicleBlipColour = 1 --Blip colour
  228. Settings.AggressivePedSpawnRadiusMax = 10.0 --The max spawn radius of the aggressive ped from the specified coordinates
  229. Settings.AggressivePedSpawnRadiusMin = -10.0 --The min spawn radius of the aggressive ped from the specified coordinates
  230.  
  231. --Setting up a destination point
  232. Settings.PurpleQuestWayPointBlip = 0 --Waypoint marker unique id (DO NOT CHANGE THIS PARAMETER!)
  233. Settings.QuestWayPointBlip = 0 --Destination blip unique id (DO NOT CHANGE THIS PARAMETER!)
  234. Settings.QuestWayPointBlipName = "Direction" --Blip text
  235. Settings.QuestWayPointBlipScale = 0.8 --Blip scale
  236. Settings.QuestWayPointBlipColour = 15 --Blip colour
  237. Settings.QuestWayPointBlipSprite = 271 --Blip sprite
  238.  
  239. --This parameter outputs the player's session number to the server console. Settings.SeparateSessionDebug must be true !
  240. Settings.SeparateSessionDebug = false
  241. --Do you want to send the player to a separate session at the beginning of the quest, and return to the main one after the end of the quest?
  242. Settings.SeparateQuestSession = false
  243.  
  244. --Will make the starting ped visible only to the current player.
  245. Settings.SetStartPedLocallyVisible = true
  246.  
  247. --If true and in quest stage player will lost req item then quets will imidiatly stop (You must have enbaled parametr ["reqItemName"] in quest stages)
  248. Settings.StopQuestIfPlayerLostReqItem = false
  249.  
  250. --This is the module responsible for the ability to play custom audio tracks. You must have purchased Sound DLC: https://burevestnik.tebex.io/package/5996112
  251. Settings.UseBurevestnikSoundDLC = false
  252.  
  253. --Use Discord Webhooks to send messages about completing quests.
  254. Settings.UseDiscordWebhooks = false
  255. --Send a webhook when the quest has been completed.
  256. Settings.UseDiscordWebhooksWhenQuestHasBeenCompleted = true
  257. Settings.WebhooksWhenQuestHasBeenCompletedData = { --WebHook data.
  258.     32768, --DECIMAL color.
  259.     "🚀 Burevestnik Quest System", --Bot name.
  260.     "✅ The quest was completed", --WebHook title.
  261.     "The player with the server ID: ", --WebHook description #1.
  262.     " has successfully completed the quest: ", --WebHook description #2.
  263.     "Made by Burevestnik" --WebHook footer.
  264. }
  265. --Send a webhook when the quest has been cancelled.
  266. Settings.UseDiscordWebhooksWhenQuestHasBeenCanceled = true
  267. Settings.WebhooksWhenQuestHasBeenCanceledData = { --WebHook data.
  268.     11674146, --DECIMAL color.
  269.     "🚀 Burevestnik Quest System", --Bot name.
  270.     "❌ The quest has been cancelled", --WebHook title.
  271.     "The player with the server ID: ", --WebHook description #1.
  272.     " cancelled the quest", --WebHook description #2.
  273.     "Made by Burevestnik" --WebHook footer.
  274. }
  275. --Dicord webhook URL
  276. Settings.DiscordWebhooksURL = ''
  277.  
  278. --Do you want to use key issuance?
  279. Settings.vehicleKeyIssuance = false
  280. --The function of issuing keys to the vehicle
  281. Settings.giveKeyFromVehicleToPlayer = function(vehicle)
  282.     local _vehicle = vehicle
  283.     --QBCore
  284.     -- TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', QBCore.Functions.GetPlate(_vehicle))
  285.     -- TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(_vehicle))
  286.     print('You have received the car key: ' .. _vehicle)
  287. end
  288.  
  289. --Do you want to use an additional custom quest check?
  290. Settings.additionalCustomQuestCheck = false
  291. --Text notification for additional custom quest check
  292. Settings.textNotificationAdditionalCustomQuestCheck = 'blocking access during additional verification of quest'
  293. --The function of additional custom verification of the quest.
  294. --important!  The function must strictly return 'true' if it is possible to start and 'false' if not.
  295. --Parameters: questInfo - allows you to get the parameters of the quest condition, like questInfo["questID"]
  296. --taskId - returns the name of the quest, like "Pills"
  297. Settings.customQuestCheckRequirements = function(questInfo, taskId)
  298.     local _questInfo = questInfo
  299.     local _taskId = taskId
  300.     local questCondition = true
  301.    
  302.     return questCondition
  303. end
  304.  
  305. --Global settings of the ["timer"] module
  306. Settings.TimerUseNative = false
  307. Settings.TimerText = "Time remaining: "
  308. Settings.TimerTextMinutes = "min."
  309. Settings.TimerTextSeconds = "sec."
  310. Settings.TimerTextPlural = ""
  311. Settings.TimerTextColon = ":"
  312. Settings.timerEndActions = function()
  313.     TriggerEvent("Burevestnik_quest:stop") --This event will stop the quest
  314. end
  315.  
  316. --This is the module responsible for the ability to launch the pizza delivery DLC. You must have purchased this DLC: https://burevestnik.tebex.io/package/6421978
  317. Settings.UseBurevestnikPizzaRunDLC = false
Add Comment
Please, Sign In to add comment