[...]\Ark-Server-Plugins\Permissions\Permissions\Public
) in your project properties ("C/C++" -> "General" -> "Additional include directories")
3) Add a reference to the library folder ([...]\Ark-Server-Plugins\Permissions\out_lib
) in your project properties ("Linker" -> "General" -> "Additional library directories").
4) Add the library "Permissions.lib" as additional dependency in your project properties ("Linker" -> "Additional dependencies").
5) Now open your project file (.vcxproj) with a text editor and add <DelayLoadDLLs>Permissions.dll</DelayLoadDLLs>
under every <Link>
sections.
6) Add #include "ArkPermissions.h"
and #pragma comment(lib, "Permissions.lib")
at the beginning of your c++ file.
7) You should now be able to use the Permissions plugin functions (namespace Permissions::
).
Note 1: You probably want to reference ArkApi library and headers for it to work properly (follow the "ArkApi Basic" tutorial that you'll find at the beginning of this channel).
Note 2: This is just how I do it, feel free to dm me if you think this tutorial could be improved. (edited)