-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API #49
Comments
Hello. I will make API classes as soon as possible) |
Hello! Sorry for a longtime pause. I made API classes in dev. version. You can see them in repository now, check out "api" module. Version with API will be released soon. Get access to API you can from "ru.mrbrikster.chatty.Chatty.class" instance: ((Chatty) Bukkit.getPlugin("Chatty")).api() |
The main class (ru.mrbrikster.chatty.Chatty.class) isn't available within the api module, you may want to have a interface for the api method and have the main class implement that, so something like; ((IChatty) Bukkit.getPluginManager().getPlugin("Chatty")).api() could be used, right now the only way is to use reflection or include the main plugin source as well |
It seems that the API is giving no recipients, so messages being sent to Chats via the API are being sent to 0 players |
It gave no recipients with "single world" and local chats when using them with API. |
Hey, looking to hook Chatty into DiscordSRV, I'd need;
The text was updated successfully, but these errors were encountered: