Badger Docs
  • Welcome to Badger Docs
  • Badger's Website
  • Badger's Discord
  • 20% off hosting | Use Code: TheWolfBadger-4765
  • Fivem General Help
    • Updating Server Binaries
    • ACE Permissions
    • Getting Discord Role IDs
    • Setting up a Discord Webhook
    • Discord identifier not found
    • How to set up a Git Repository for my server
  • Fivem Discord Scripts
    • Introduction
    • BadgerTools
    • DiscordChatRoles
    • DiscordAcePerms
    • DiscordPedPerms
    • DiscordWeaponPerms
    • DiscordVehiclesRestrict
    • DiscordTagIDs
    • PoliceEMSActivity
    • BadgerCopChat
    • DiscordDonatorPerks
    • Badger-911
    • Bad-Scoreboard
    • Bad-DiscordQueue
    • Badger_Discord_API
      • Installation
      • GetRoleIdFromRoleName
      • CheckEqual
      • IsDiscordEmailVerified
      • GetDiscordEmail
      • GetDiscordName
      • GetDiscordAvatar
      • GetDiscordNickname
      • GetDiscordRoles
      • GetGuildIcon
      • GetGuildSplash
      • GetGuildName
      • GetGuildDescription
      • GetGuildMemberCount
      • GetGuildOnlineMemberCount
      • GetGuildRoleList
    • DiscordVehicleRestrictions
  • Fivem Misc. Scripts
    • Introduction
    • BadgerAnims
    • BadgerBankRobbery
    • VehicleTrustSystem
    • PedTrustSystem
    • BadgerVoting
    • BadgerTracer
    • Fivem Keybase Anticheat
    • DiscordReports
    • Badger-Priorities
    • Badssentials
    • BadgerStockMarket
    • Badger-Anticheat
    • Badger_Jailing
    • BadgerFires
    • Multiverse-World-Manager
  • Badger Software
    • Introduction
    • FivemDiscordPerms
    • BadgerTrustSystem+
    • BadgerStaffPanel
    • ResourceEventScrambler
    • CollectiveBot
  • Archived Projects
  • SimpleRoleBot
  • EssentialBot
Powered by GitBook
On this page
  • Badger-Priorities
  • What is it?
  • Badger's Discord Community
  • Commands
  • Permissions
  • Screenshots
  • Configuration
  • Download

Was this helpful?

  1. Fivem Misc. Scripts

Badger-Priorities

PreviousDiscordReportsNextBadssentials

Last updated 4 years ago

Was this helpful?

Badger-Priorities

What is it?

So it's just a priority cooldown script... I know what you're thinking. This is already a thing, it's already made! Well actually I found problems with the ones I found on the Fivem forums, so I decided to make a new one with some extra features. Another feature is that when the cooldowns are on (priority in progress, priorities on hold, or cooldown is above 0), then a message will be displayed to players driving a car 80 MPH or faster. This can be disabled in the configuration file too if you don't want this feature though.

Badger's Discord Community

Commands

/cooldown <time> Sets the amount of time priority cooldown is on (minutes)

/inprogress Sets the priority to in progress. Use this when a priority begins.

/onhold This puts all priorities on hold. It is an alternative to PeaceTime except players are able to attack others.

/resetpcd Changes Priority Cooldown back to 0 Minutes.

Permissions

add_ace group.trialmoderator Badger-Priorities.ResetPCD allow - Allowed to use /resetpcd

add_ace group.trialmoderator Badger-Priorities.InProgress allow - Allowed to use /inprogress

add_ace group.trialmoderator Badger-Priorities.OnHold allow - Allowed to use /onhold

add_ace group.trialmoderator Badger-Priorities.Cooldown allow - Allowed to use /cooldown

add_ace group.trialmoderator Badger-Priorities.Commands allow - Allowed to use all commands in the script

Screenshots

Configuration

Config = {
	prefix = "^7[^1Badger-Priorities^7] ^3",
	Options = {
		EnableSpeedMessage = true,
		EnablePCDMessage = true,
		EnableHoldMessage = true,
		EnableProgressMessage = true,
		EnableCooldownMessage = true,
		AlwaysDisplay = true, -- Always display the priority cooldown text even with 0 mins left?
		CooldownDisplay = "~w~Priority Cooldown: ~r~{MINS} ~w~mins",
		InProgressDisplay = "~w~Priority Cooldown: ~g~Priority in Progress",
		OnHoldDisplay = "~w~Priority Cooldown: ~b~Priorities are on Hold",
		-- TooFastDisplay triggers when a car is going over 80 MPH and priorities are in progress, on hold, or a cooldown is active 
		TooFastDisplay = "~r~NOTICE: ~b~You cannot run from police currently. You are risking staff punishment!",
		resetDisplay = "~r~Cooldown: ~b~None"
	},
	Messages = {
		CooldownMessage = 'A priority was just conducted... The cooldown has been activated. ' -- You can also use {MINS} parameter here
		.. '^1You cannot run from police or cause any priorities (violent RP) until the cooldown has concluded!',
		InProgressMessage = 'There is a priority in progress... ^1You cannot run from police or cause any priorities (violent RP) until priorities are off hold!',
		OnHoldMessage = 'Priorities are now on hold... ^1You cannot run from police or cause any priorities (violent RP) until priorities are off hold!',
		resetMessage = 'Priorities Have Been Reset!'
	}, 
	DisplayLocation = {
		x = .50,
		y = .005
	}
}

Download

Developer Discord
LogoGitHub - JaredScar/Badger-Priorities: A Fivem ScriptGitHub