How can i include an API in my plugin? For example if i want to use the function xyz from plugin abc? And get the return value of course
I'd recommend taking a look at some of the existing API-type plugins for examples. There are a few threads on how to call other plugins as well. EmailAPI, PushAPI, DeadPlayerList, BuildingOwers, Entity Owners, FriendsAPI, etc.