How do i fix these bunch of errors in my intellij, bare in mind i have mac and also when i run the script, the onStart() works, it prints out a command but how i can fix whatever is wrong with this
Join the Runemate slack, go into #development and post this issue there. Someone will likely be able to help you out faster there than here on the forums.