John Paul Stokes, 24, from Old City Court in Derry, admitted being concerned in supplying cocaine, pregabalin and cannabis.