# Missions

{% code lineNumbers="true" %}
```lua
---@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}
					}
				}
			}
		}
	}
}
```
{% endcode %}
