En 🇬🇧 WIKI EN
☰ 1. How to configure the type of access to jobs?
From the menu, go to the list of jobs done by right clicking on a job and made your choice:
1. Public=The Job is accessible to everyone.
2. Whitelist=The Job is accessible only to those who are in the Whitelist.
3. Donator=The Job is only available to members who have a status of vip or donor.
4. Closed=The Job is not accessible.
Note: It is a choice are automatically saved and instant and you are free to change them at any time.
In this example we will enable the Whitelist on the job
"Civil Protection Chief" 
☰ 2. Add someone connected in the Whitelist of a job. Method #1
When you open the menu of the Whitelist the first tab is the list of players logged in, made and right-click on a player and you will see the list of jobs, only configured.

☰ 3. Add someone who is not connected to the server in the Whitelist of a job. Method #2
When you open the menu of the Whitelist go to the tab of the jobs configured, and enter the users of the player.

☰ 4. Add someone from the menu_context. Method #3
When you open the menu of the Whitelist the first tab is the list of players logged in, made and right-click on a player and you will see the list of jobs, only configured.

☰ 5. Add someone with a command server without being connected. Method #4
Caution keep the quotation mark:
Command:
Addwhitelist "Your name" "SteamID64" "Name of player" "Full Access"
Addwhitelist "Nordahl Kurger" "76561198033784269" "Chuck Norris" "Civil Protection Chief"
☰ 6. This is what the list Full_Access?
When a player is in the list Full_Access it will have access to all the jobs whitelsité.

☰ 7. I would like to disable the system temporarily without uninstalling the script it is possible?
Yes, Easy.

☰ 8. I have recorded more than 5000 users and I have 250 jobs I would like to find a user in the list to remove it how can I do?
In the search tab enter the users for the user you are looking for.

☰ 9. I would like to Reset all the configuration it is possible?
A simple button. Or by command:
"MetajolistDe"
☰ 10. Where to find the configuration File?
nordahl_whitelsit_job_system_darkrp/lua/autorun/nordahl_whitelistjob_config.lua
☰ 11. How to configure the ranks of donors?
In the file configuration, find the variable:
ULX_DONATOR_RANK={"donator","vip"}
If your ranks vip are renamed then replace its values with yours. Attention to capital letters and spaces, if you put a capital letter it is important.
You can put more ranks: you just need to follow this example: ULX_DONATOR_RANK={"donator","vip","vip2"}
☰ 12. To configure keys F1-F4 to open the menu?
In the file configuration find the variable:
F1_to_Open_WHitelsitjob=0
F2_to_Open_WHitelsitjob=0
F3_to_Open_WHitelsitjob=0
F4_to_Open_WHitelsitjob=0
--0=Disabled, If you want to open the menu with this key, replace the value by=1
☰ 13. How to Hide the Jobs for those who are not in the whitelist in the Menu F4?
Note:
EXAMPLE with a single trade: "Civil Protection"
--2 2 Lines need to be added in jobrelated.lua:
1. Ligne 1: customCheck
2. Ligne 2: CustomCheckFailMsg="You are not in the withelist!",
TEAM_POLICE=DarkRP.createJob("Civil Protection", {
color=Color(25, 25, 170, 255),
model={"models/player/police.mdl", "models/player/police_fem.mdl"},
description=[[The protector of every citizen that lives in the city]],
weapons={"arrest_stick", "door_ram", "weaponchecker"},
command="cp",
max=4,
salary=GAMEMODE.Config.normalsalary * 1.45,
admin=0,
vote=true,
hasLicense=true,
ammo={
]"pistol"]=60,
},
category="Civil Protection",
customCheck=function(ply) if CLIENT then return PlychangeAllowed(ply,"Civil Protection") else return true end end, --Respectez les majuscules et les espaces!!!
CustomCheckFailMsg="You are not in the withelist!",
})
--Why is this not working? If the original name of the job is "Civil Protection" you must follow it in its entirety.
Some wrong example:
--Bad caps:"civil protection"
--Spaces in the wrong place:"CivilProtection" or " Civil Protection " or "Civil Protection "
--The wrong name of the business, example: "Mayor"
⚠️ Error that I see regularly that deserves its place here:
CWhat is Valid in the name of the Job that is "Civil Protection"
Some Example invalid:
"civil protection"
"CivilProtection"
" Civil Protection "
" Civil Protection"
"Civil Protection "
"Civil Protection "
☰ 14. I have 300 jobs on my server. How to add job groups by category name to not put them all one by one?
When you open the menu, click on "Category Job" and insert the categories you are interested in, the effect is immediate.

☰ 15. How do I take a job off the whitelist when it no longer exists on my server?
In a single button, click on the Cross of this job concerned.

☰ 16. How I add ULX rank?
In the file : nordahl_whitelsit_job_system_darkrp/lua/autorun/nordahl_whitelistjob_config.lua
Find the variable : Allow_ULX_GROUP_CAN_ACCESS_PANEL={"superadmin","admin"} -- as you can see admin and superadmin are in the list
To add a new rank do like it -> Allow_ULX_GROUP_CAN_ACCESS_PANEL={"superadmin","admin","newrank"}
☰ 17. When use the API?
The API allows to check if a user is in the whitelist and if a job is blocked from another script, It'is a useful and efficient method when server owner wants to customize its servers by creating npcs that allows changing job and functions like changeTeam who can override the system. It's also useful for creative developers wanting to make scripts compatible with my system
☰ 18. How use the API?
In the file nordahl_sv/api_whitelistjob_sv.lua there are test commands to understand how works the API.
How it looks the API?
API_Whitelistjob_nordahl(ply,job_name,category_name) -- Will return true if the job is whitelisted or false the users will be notified if he is not in category white list job or if he is not donator
if API_Whitelistjob_nordahl( ply , job , nil ) == true then
print ("API_Whitelistjob_nordahl : Accepted")
end
☰ 19. How do I make a job accessible only to donors?
☰ 20. How disable the message "You are not an admin" for normal players when pressing the C button?
In config.lua modify the variable from nordahl_cfg_1402.chat_msg_warn on 0.
By default it is on 1 :
nordahl_cfg_1402.chat_msg_warn = 1
To disable it :
nordahl_cfg_1402.chat_msg_warn = 0
☰ 21. How to export the list of users my Bwhitelist to your whitelist?
With the comand bwhitelist_export_to_nw
☰ 22. How to remove a job from the whitelist by command?
Command format to unwhitelist one steamid64 from all jobs & category's with console (New since 16, February 2016) : Massremovewhitelist "SteamID64"
Command format to unwhitelist one steamid64 from one DarkRP job with console (New since 05, July 2021) : Massremovewhitelist "SteamID64" "Job Name"
Fr 🇫🇷 WIKI FR
☰ 1. Comment configurer le type d'accès à des jobs?
Depuis le menu, allez dans la liste des jobs faite clique droit sur un job et faite votre choix:
1. Public=Le Job est accessible pour tout le monde.
2. Whitelist=Le Job est accessible seulement pour ceux qui sont dans la Whitelist.
3. Donator=Le Job est accessible seulement aux membres qui ont un status de vip ou donateur.
4. Closed=Le Job n'est pas accessible.
Note: c'est choix sont automatiquement sauvegardé et instantané et vous êtes libre de les modifier à tout moment.
Dans cette exemple nous allons activer la Whitelist du job
"Civil Protection Chief"
☰ 2. Ajouter quelqu'un de connecté dans la Whitelist d'un job. Methode #1
Lorsque vous ouvrez le menu de la Whitelist le premier onglet c'est la liste des joueurs connecté, faite clique droit sur un joueur et vous verrez la liste des jobs uniquement configuré.

☰ 3. Ajouter quelqu'un qui n'est pas connecté au serveur dans la Whitelist d'un job. Methode #2
Lorsque vous ouvrez le menu de la Whitelist allez dans l'onglet du jobs configuré et inserrez le steam_id du joueur.

☰ 4. Ajouter quelqu'un depuis le menu_context. Methode #3
Lorsque vous ouvrez le menu de la Whitelist le premier onglet c'est la liste des joueurs connecté, faite clique droit sur un joueur et vous verrez la liste des jobs uniquement configuré.

☰ 5. Ajouter quelqu'un avec une commande serveur sans être connecté. Methode #4
Attention gardez les guillemet:
Command:
Addwhitelist "Your name" "SteamID64" "Name of player" "Full Access"
Addwhitelist "Nordahl Kurger" "76561198033784269" "Chuck Norris" "Civil Protection Chief"
☰ 6. c'est quoi la liste Full_Access?
Lorsqu'un joueur est dans la list Full_Access il aura accès à tous les jobs whitelsité.

☰ 7. Je voudrais désactiver le système temporairement sans désinstaller le script c'est possible?
Oui facile.

☰ 8. j'ai enregistré plus de 5000 utilisateurs et j'ai 250 jobs je voudrais trouver un utilisateur dans la liste pour le supprimer je fais comment?
Dans l'onglet de recherche entrez le steam_id de l'utilisateur que vous recherchez.

☰ 9. Je voudrais Reset toute la configuration c'est possible?
Un simple boutton. Ou par commande:
"MetajolistDe"
☰ 10. Où trouver le fichier de configuration?
nordahl_whitelsit_job_system_darkrp/lua/autorun/nordahl_whitelistjob_config.lua
☰ 11. Comment configurer les rangs donateurs?
Dans le fichiez configuration trouvez la variable:
ULX_DONATOR_RANK={"donator","vip"}
Si vos rangs vip sont renommé alors remplacez ses valeurs par les votres. Attention aux majuscules et aux espacese en trop, si vous avez mis une majuscule cela compte.
Vous pouvez mettre plusieurs ranks: il vous suffit de suivre cette exemple: ULX_DONATOR_RANK={"donator","vip","vip2"}
☰ 12. Configurer les touches F1-F4 pour ouvrir le menu?
Dans le fichiez configuration trouvez la variable:
F1_to_Open_WHitelsitjob=0
F2_to_Open_WHitelsitjob=0
F3_to_Open_WHitelsitjob=0
F4_to_Open_WHitelsitjob=0
--0=Désactivé, Si vous voulez ouvrir le menu avec cette touche remplacez la valeur par=1
☰ 13. Comment Cacher les Jobs pour ceux qui ne sont pas dans la whitelist dans le Menu F4?
Note:
EXEMPLE avec un seul métier: "Civil Protection"
--2 Lignes doivent être ajouté dans jobrelated.lua:
1. Ligne 1: customCheck
2. Ligne 2: CustomCheckFailMsg="You are not in the withelist!",
TEAM_POLICE=DarkRP.createJob("Civil Protection", {
color=Color(25, 25, 170, 255),
model={"models/player/police.mdl", "models/player/police_fem.mdl"},
description=[[The protector of every citizen that lives in the city]],
weapons={"arrest_stick", "door_ram", "weaponchecker"},
command="cp",
max=4,
salary=GAMEMODE.Config.normalsalary * 1.45,
admin=0,
vote=true,
hasLicense=true,
ammo={
]"pistol"]=60,
},
category="Civil Protection",
customCheck=function(ply) if CLIENT then return PlychangeAllowed(ply,"Civil Protection") else return true end end, --Respectez les majuscules et les espaces!!!
CustomCheckFailMsg="You are not in the withelist!",
})
--Pourquoi ça ne marche pas? Si le nom original du métier est "Civil Protection" vous devez le respecter dans sa totalité.
Quelques mauvais exemple:
--Mauvaise majuscules:"civil protection"
--Des espaces aux mauvais endroit:"CivilProtection" or " Civil Protection " or "Civil Protection "
--Le mauvais nom de métier, exemple: "Mayor"
⚠️ Erreur que je vois régulièrement qui mérite sa place ici:
Ce qui est Valide dans le nom du Job c'est "Civil Protection"
Quelques Exemple non valide:
"civil protection"
"CivilProtection"
" Civil Protection "
" Civil Protection"
"Civil Protection "
"Civil Protection "
☰ 14. J'ai 300 jobs sur mon serveur. Comment ajouter les groupes de jobs par le nom de categorie pour ne pas tous les mettre un par un?
Lorsque vous ouvrez le menu cliquez sur "Category Job" et inserez les categories qui vous interessent, l'effet est immédiat.

☰ 15. Comment retirer un job de la whitelist lorsque qu'il n'existe plus sur mon serveur?
En un simple bouton, cliquez sur la croix de ce job concerné.

☰ 16. Comment ajouter un rang ULX?
Dans le fichier : nordahl_whitelsit_job_system_darkrp/lua/autorun/nordahl_whitelistjob_config.lua
Trouvez la variable : Allow_ULX_GROUP_CAN_ACCESS_PANEL={"superadmin","admin"} -- Comme vous pouvez le voir syperadmin et admin est déjà ajouté
Pour ajouter un nouveau rang faite comme ceci -> Allow_ULX_GROUP_CAN_ACCESS_PANEL={"superadmin","admin","newrank"}
☰ 17. Pourquoi utiliser L'API?
L'API permet de vérifier si un utilisateur est dans la whitelist et si un job est bloqué, C'est une méthode utile et efficace lorsque propriétaire de serveur veut customiser ses serveurs en créant des npcs qui permet de changer de job et que les fonctions comme changeTeam Overide le système de base. C'est aussi utile pour les devellopeurs créatif voulant faire des scripts compatible avec mon système
☰ 18. Comment utiliser L'API?
Dans le fichier nordahl_sv/api_whitelistjob_sv.lua il y a les commandes de test pour comprendre comment fonctionne l'API.
Comment se présente l'API?
API_Whitelistjob_nordahl(ply,job_name,category_name) -- Elle retournera un true si le job est bloqué whitelisted or false the users will be notified if he is not in category white list job or if he is not donator
if API_Whitelistjob_nordahl( ply , job , nil ) == true then
print ("API_Whitelistjob_nordahl : Accepted")
end
☰ 19. Comment rendre un Job accessible uniquement aux donateurs?
☰ 20. Comment désactiver le message " Vous n'êtes pas un administrateur " pour les joueurs normaux lorsque vous appuyez sur le bouton C ?
Dans config.lua modifiez la variable nordahl_cfg_1402.chat_msg_warn sur 0.
☰ 21. Comment exporter la liste des utilisateurs de ma Bwhitelist vers votre whitelist?
Avec la command bwhitelist_export_to_nw
☰ 22. Comment supprimer un job de la whitelist par commande?
Format de la commande pour retirer un steamid64 de tous les jobs et catégories avec console (Nouveau depuis le 16 février 2016) : Massremovewhitelist "SteamID64".
Nouveau depuis la version 5.5 (05 juillet 2021)
Format de la commande pour supprimer un steamid64 d'un job DarkR spécifique avec la console : Massremovewhitelist "SteamID64" "Job Name".