Wise Scripts Docs
ShopDiscord
  • 👋Welcome
  • 💻 Scripts
    • 🚙Wise Garage
      • Installation
      • Database
      • Events
      • Example Configs
        • Main
        • Garages
        • Impounds
    • 🖥️Wise Hud
      • Installation
      • Example Configs
        • Main
    • 🦌Wise Hunting
      • Installation
      • Example Configs
        • Main
        • Animals
        • Huntareas
        • Market
    • 🔫Wise Gungame
      • Installation
      • Setup for Ambulancejob
    • 👥Wise Faction
      • Installation
      • Exports
      • Events
      • Setup FFA & Gangwar
      • Example Configs
        • Main
        • FFA
        • Gangwar
        • Robbery
        • Shop
        • Missions
    • 🔔Wise Notify
      • Installation
      • Exports & Triggers
      • ESX Replacements
    • ⚠️Wise Report
      • Installation
    • 🎮Wise Lifeinvader
      • Installation
  • 🏡PROPS
    • 🪨Wise Ore Props Pack
    • ✨Wise Crystal Props Pack
  • 🧟‍♂️PEDS
    • 🎃HALLOWEEN Pumpkin Monster
    • 🎃HALLOWEEN MR Bright
Powered by GitBook
On this page
  1. 💻 Scripts
  2. Wise Faction
  3. Example Configs

Missions

---@alias MissionTypes
---| "KILL"
---| "COLLECT"
---| "DELIVER"

Config.Missions = {
	Active = true, -- Show/Hide Missions Button in Menu
	RefreshList = {
		Time = 60, -- in Minutes
		Size = 6 -- Mission List Size
	},
	List = {
		{
			title = "Kill %s Players in FFA", -- Title of the Mission
			type = "KILL",											-- Mission Type, see: @alias MissionTypes
			goal = 5,														-- The Goal to reach
			listeners = {
				"wise_faction:ffa:mission:kill"	-- The Events to listen to, per Trigger counts +1
			},
			rewards = {													-- Rewards when Mission rewards getting claimed
				xp = 40500,
				money = 4000,
				items = {
					{ label = "Phone", name = "phone", amount = 100},
					{ label = "Bread", name = "bread", amount = 2}
				}
			}
		},
		{
			title = "Kill %s Players in Gangwar",
			type = "KILL",
			goal = 5,
			listeners = {
				"wise_faction:gangwar:mission:kill"
			},
			rewards = {
				xp = 4500,
				money = 200000,
				items = {
					{ label = "Phone", name = "phone", amount = 500}
				}
			}
		},
		{
			title = "Deliver %s Fish",
			type = "DELIVER",
			goal = 5,
			listeners = {
				"wise_faction:mission:deliver:fish"
			},
			rewards = {
				xp = 2500,
				money = 3000,
				items = {
					{ label = "diamond", name = "Diamant", amount = 25}
				}
			}
		},
		{
			title = "Win %s Gangwar",
			type = "COLLECT",
			goal = 5,
			listeners = {
				"wise_faction:mission:gangwar:win"
			},
			rewards = {
				xp = 2500,
				money = 322000,
				items = {
					{ label = "diamond", name = "Diamant", amount = 125}
				}
			}
		}
	},

	LevelMissions = {
		["Level-50"] = {
			{
				title = "Deliver %s Fish",
				type = "DELIVER",
				goal = 20,
				listeners = {
					"wise_faction:mission:deliver:fish"
				},
				rewards = {
					xp = 2500,
					money = 32000,
					items = {}
				}
			},
			{
				title = "Win %s Gangwar",
				type = "COLLECT",
				goal = 15,
				listeners = {
					"wise_faction:mission:gangwar:win"
				},
				rewards = {
					xp = 22500,
					money = 3000,
					items = {
						{ label = "diamond", name = "Diamant", amount = 125}
					}
				}
			}
		},

		["Level-80"] = {
			{
				title = "Kill %s People in FFA",
				type = "KILL",
				goal = 15,
				listeners = {
					"wise_faction:ffa:mission:kill"
				},
				rewards = {
					xp = 2500,
					money = 3000,
					items = {
						{ label = "diamond", name = "Diamant", amount = 25}
					}
				}
			}
		}
	}
}
PreviousShopNextWise Notify

Last updated 1 year ago

👥