Skip to content

How to use Native Java API of Other Plugins inside JavaScript Pleaceholder? #30

@anar4732

Description

@anar4732

for exepmle. i need to use me.chemmic.main.API.ChatColorAPI.getChatColorCode(Player)

i know ChatColor have PAPI hook but i need to use it in a JS pleaceholder.

i tried to use var chatColorAPIClass = Java.type('me.chemmic.main.API.ChatColorAPI');
but thorws error "class not found" (but plugin installed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions