Adding jobs is complicated, boring and slow ? Now with this addon it's just boring !

And now you can let your admins do the boring work !

Scriptfodder thread, where you can ask question, shitpost and discuss

Server owner ? Admins want to add jobs but you won't let them get the FTP access ? This addon is for you, it does not require any FTP access.

Youtube video vvv

Youtube video ^^^

No knowledge about Lua required (But you can code in lua, you can still use the ezCompiler in game for the custom check)
No FTP access required to edit/add jobs, everything is done ingame and applied at the map change/server restart

Now Supports job levels, armor and health !.

ezGuide will tell you the potentials errors you did while creating a job and explain you how to fix it.
ezCompiler will not let you send incorrect Lua to your server if you choosed to add lua in the optional fields.
ezJobs creator will search for playermodels not added to gmod using Lua, and will not slow down your server
ezJobs creator allow multiple people to work on jobs at the same time, and changes will be applied only at the server restart, so the player's experience can't be annoyed by a configuration mistake.

Be sure you have the last version of DarkRP and a decent monitor resolution, i'm bored of shitty excuses.

Installation / how to use it (READ IT, FOR REAL)

Be sure you're using the last github version

I : Drop the folder ezjobs in the addon folder
II : If you want to allow peoples others than superadmin to edit jobs, edit the function in

ezJobs/lua/autorun/sh_ezjobs.lua

To use it just type this command in your console

ezjob

If you don't have the rights to use it, it will autoclose.

How to replace default jobs

go in darkrpmodification/lua/darkrp_config/disabled_defaults.lua

you should have this somewhere :


Turn everything from false to true.

be sure you're using the very last version

If you want to recreate the same jobs, here are the keycodes : DarkRP/gamemode/config/jobrelated.lua

But don't use the same command as the originals because it won't work.

Also you may need to define which jobs are in the police and the default job.

Using this part of code


    GAMEMODE.DefaultTeam = TEAM_SUPERMAN

    GAMEMODE.CivilProtection = {
        [TEAM_SUPERMAN] = true,
        [TEAM_JESUS] = true,
        [TEAM_POTATO] = true,
    }

Since there may be in it jobs created with ezjobs,
you need to put the code i just showed you in there ->
addons/ezjobs/lua/darkrp_modules/_ezjobs/sh_init.lua

Just replace the vars with the one you created ... or the ones you will create.

If you want to create shipments/weapons for ezjobs jobs, put the code at the same place.

you should have something like :

How to use customcheck

in the customcheck field, the player var is "ply"

you can do something like

     return table.HasValue({"superadmin","admin", "vip", "vip+"}, ply:GetNWString("usergroup"))

How to make it owner only

addons/ezjobs/lua/autorun/sh_ezjobs.lua

Help i can't use the job i created

let me guess ... you didn't set a correct limit

FAQ

So i can just drop it into the addon folder and it will do the job ?

Yes

How to use it ?
Watch the video

Can you add X feature ?
Open a ticket, just to be sure i don't forget what you sent me.
This is not steam early access.

Can you fix X bug ?
Sure, just make a ticket, tell me how to reproduce the bug and it will be fixed.

Can you remove the DRM ?
100% sure you will never need to change anything in the DRM, so no.

I added a job but it's not showing, wtf
It will show at the next restart

Support

I'm always happy to help my customers, on my first addon, 100% satisfaction is my target, on my first addon i added features, and i will do the same there, if requested.

I only help people who use the ticket system, don't add me on steam; and if it's required I will add you on steam.

If you can't pay using paypal, you can buy it with 3 csgo keys

Other things

I said it before in the description, only the last version of the DarkRP is supported, getting the one from github is a good idea.

It is NOT compatible with Crap-Head's addons because he does not know how to create jobs the right way, he's using a shitty timer.Simple to create jobs which is 100% dumb, i showed him how to fix it but he does not care and won't fix it.

API/Hooks

If you want to make your addon compatible with it, like some kind of whitelist system that need all the jobs to be created before initializing, you can do this :

if ezJobs then
    hook.Add("ezJobsLoaded", "init your addon name", function()
        --[[
        wait 1 sec because some jobs can be created on the
        hook execution this is used by people fixing shitty
        addons like the tow truck addon
        ]]
        timer.Simple(1, function() 
            InitYourAddon()
        end)
    end)
else
    InitYourAddon()
end

If you can't init your addon with one function (could be an include() ), you're an idiot and should stop releasing addons.

Same if you create jobs with timer.Simple, you should be jailed for that and stop releasing addons.

Thanks

Lunaversity 🔥 for the script idea

Richard for the advices on the UI.

Hall of shame

Check out my other dank script

I would like to express my sincere apologies to all the jobs creators of
SF's job section who are now homeless and will have to survive eating
rats. The next winter is not going to be gentle with you, so you
better go back in your natural habitat : The Sewer.

I hope you will be fine and you don't hate me too much

-your friend, Lapin

this script uses securegmod, not working on local/selfhosted(on your computer) server

  860 sales
  381 comments

Buyer Rating:

4.82 average based on 55 reviews.

Views 35982
Added 1 year ago
Updated 1 month ago
Price $5.70
Languages English
Tags darkrp, job, roleplay