[Release] BadgerEssentials - Customizable Hud | RP-Revive | Ragdoll

BadgerEssentials

NOTE: This script is no longer maintained, there is now a newer version available: BadgerEssentials v2

BadgerEssentials, as the name suggests, is a script with essentials for an RP server. This includes many useful commands, allowing you to control things such as peace, or priority-cooldown. It also includes /revive, with a configurable delay before a player can revive themselves.

Why is it called BadgerEssentials? Although my name on here is mike3D, I go by “Badger” as well. The essentials part of the name is as this script was inspired by Badssentials, by Badger

Full documentation is available on the Github repository for this script.

Screenshot

be2

Commands

/toggle-hud Toggles the hud.

/die Kills the player who executes this command.

/revive [Target Player ID] Revives the player who executes this command or another player, specified by their ID.

/respawn Respawns the player who executes this command.

/pt Toggles peacetime on and off.

/pc <duration> Turns on priority cooldown for a set time in minutes.
/pc-inprogress Turns on “Priority in Progress”.
/pc-onhold Turns on “Priorities on hold”.
/pc-reset Resets priority cooldown status to none.

/setAOP <aop> Sets the aop to whatever arguments are given. Requires permission node BadgerEssentials.Command.SetAOP

/postal <postal> Sets a waypoint to the specified postal.

/announce <Announcement Message> Displays a message to all players on the server. Requires permission node BadgerEssentials.Command.Announce

Configuration

Full documentation available in my Github repository README.md

Permissions:
BadgerEssentials.Command.Announce - Gives access to the /Announce command.
BadgerEssentials.Command.PriorityCooldown - Gives access to priority cooldown commands.
BadgerEssentials.Command.Peacetime - Gives access to /pt
BadgerEssentials.Command.SetAOP - Gives access to /SetAOP.
BadgerEssentials.Bypass.ReviveTimer - Bypasses the timer before you can revive.

Credit

Badger
This guy helped me a lot in making this script.

Download:

Look for Releases. This is the precompiled release ready for use in FiveM. I say this because people have been downloading source code by mistake.

6 Likes

Hi Badger,

Nice release! Looking very good!
Maybe for the next update, make it possible to translate everything or make translation files, because I don’t have any C# knowledge to build my own solution.

Thanks in advance :smiley:

Hi, can you maybe elaborate a bit on what you mean, as I’m not quite sure?

1 Like

Hi, your release is a builded C# script, with a config and postal file, and everything else you can’t edit, because it’s in a .dll file.
So then I have to download the source code and open it in Visual Studio. Then I need some Reference like Citizien.core.dll and things to build it after I changed texts.

In BadgerEssentialsClient.cs you have some texts like:

 bool peacetimeStatus = false;
        string peacetimeText = "~r~disabled";
if (postalEnabled)
                    Draw2DText(postalPos.X, postalPos.Y, "~y~Nearest Postal:~s~ " + nearestPostalCode + " (" + (int)nearestPostalDistance + "m)", postalScale, postalAllignment);
                if (peacetimeEnabled)
                    Draw2DText(peacetimePos.X, peacetimePos.Y, "~y~Peacetime:~s~ " + peacetimeText, peacetimeStatusScale, peacetimeAllignment);
                if (priorityCooldownEnabled)
                    Draw2DText(priorityCooldownPos.X, priorityCooldownPos.Y, "~y~Priority Cooldown:~s~ " + priorityCooldownStatus, priorityCooldownScale, priorityCooldownAllignment);
                if (aopEnabled)
                    Draw2DText(aopPos.X, aopPos.Y, "~y~AOP:~s~ " + currentAOP, aopScale, aopAllignment);

I want some of the texts translated to dutch, so maybe you can make it so people can translate things like disabled, Peacetime, Priotiry Cooldown etc.

Yet another great script release, :heart:.

(v1.3) Added toggle ragdoll with config options to change key and disable the ragdoll script.

1 Like

Is it possible to split the Ace perms for the Priority Cooldown commands? Like having the /pc duration and the /pc-inprogress seperated from the /pc-onhold and /pc-reset?

Having the first two for normal players while the other two are only allowed for staff?

it would certainly be possible to split it up but I don’t understand why normal players would get /pc or /pc-inprogress? Those still change the priority status.

1 Like

Our server is a whitelisted one where the players can start priorities by themselves and when its over they start the counter so that the other people know when they can start next.

Onhold and Reset would be only for staff to use to actually regulate these rules or fix any hickups there

ah, i see

1 Like

I’m just uploading a new update now, it will have more PC perms for each command

1 Like

Hey @Badger342 What is the commands to give people access BadgerEssentials.Command.Announce
BadgerEssentials.Command.PriorityCooldown
BadgerEssentials.Command.Peacetime
BadgerEssentials.Command.SetAOP
BadgerEssentials.Bypass.ReviveTimer
is it .steam:ID at the end?

1 Like

No. 1) this is BadgerEssentials, not Badssentials,
2) the permission your meant to allow is stated in the documentation - WHICH YOU CLEARLY DIDNT READ since your giving false info

1 Like

Actually, no

no Badssentials:announce did not work

1 Like

where is the release link

go to the github repository, on the right hand side, there is an area that says “releases”

1 Like

nothing works dont use it

So basically you comment on a over year old, and outdated script to say it doesn’t work which is false and then comment on the second version of the script, once again saying that it doesn’t work, even though it does…? Seriously, grow up. And no I won’t make a video. I don’t have to, nor do I want to. It really is not my fault that people cannot figure out how to install a drag and drop resource. And ontop of that, I generally do not provide support through the forums. And you replied to the guy who said perms didn’t work. I told him to google an ace perms guide because it would tell him EXACTLY how to do it perfectly, better than I can explain myself. Literally, the top results is all you need when googling an ace perms guide. Why would I waste my time teaching someone how to do ace perms when a guide does it better. Go do something better with your life rather than saying not to use a script and lying saying it doesn’t work.

The command is add_ace group.changeme “BadgerEssentials.Command.Announce” allow

put it in your Permissions.cfg or server.cfg