Title: How to access/depend on other Plugins · Issue #27 · astorks/ScriptableMC-Engine · GitHub
Open Graph Title: How to access/depend on other Plugins · Issue #27 · astorks/ScriptableMC-Engine
X Title: How to access/depend on other Plugins · Issue #27 · astorks/ScriptableMC-Engine
Description: So I've started using SMC recently and wanted to depend on some functionality of some other plugins, in this specific case LuckPerms. I'm not quite sure how I would retrieve an instance of it, their wiki shows 3 ways on how to do it, tha...
Open Graph Description: So I've started using SMC recently and wanted to depend on some functionality of some other plugins, in this specific case LuckPerms. I'm not quite sure how I would retrieve an instance of it, thei...
X Description: So I've started using SMC recently and wanted to depend on some functionality of some other plugins, in this specific case LuckPerms. I'm not quite sure how I would retrieve an instance of ...
Opengraph URL: https://github.com/astorks/ScriptableMC-Engine/issues/27
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to access/depend on other Plugins","articleBody":"So I've started using SMC recently and wanted to depend on some functionality of some other plugins, in this specific case [LuckPerms](https://luckperms.net/).\r\n\r\nI'm not quite sure how I would retrieve an instance of it, [their wiki shows 3 ways](https://luckperms.net/wiki/Developer-API#obtaining-an-instance-of-the-api) on how to do it, that said I searched for the `getProvider` method (inside the available methods from the TypeScript example lib) found a few, but they weren't of any help.\r\n\r\n So my questing is, how would I depend on other plugins? Do I have to convert the plugins Java source code to TypeScript interfaces and classes and maybe more or are there easier ways?\r\n\r\nThanks in advance","author":{"url":"https://github.com/Lubjan","@type":"Person","name":"Lubjan"},"datePublished":"2021-03-21T14:26:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/27/ScriptableMC-Engine/issues/27"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:42286612-a4be-b63c-f342-20a3d42ff2a6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAFE:597AB:394CA2:4DA413:698F610D |
| html-safe-nonce | 4de7cdab929b37f7769e8917ac7e5a0c55e9dfa7e153ba51bdfac9dfc07d3826 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUZFOjU5N0FCOjM5NENBMjo0REE0MTM6Njk4RjYxMEQiLCJ2aXNpdG9yX2lkIjoiNjQ3MDA4Nzg5MjA4OTY1OTY2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 087d41d54afd3fe432f1748e1ec7849afda14e0f8f20605395c83d5622c0f97d |
| hovercard-subject-tag | issue:837092339 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/astorks/ScriptableMC-Engine/27/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a52793ccf33409b4c4547e450aaecfeab41c5c06c5b5d42da06c25a9bc9baefb/astorks/ScriptableMC-Engine/issues/27 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a52793ccf33409b4c4547e450aaecfeab41c5c06c5b5d42da06c25a9bc9baefb/astorks/ScriptableMC-Engine/issues/27 |
| og:image:alt | So I've started using SMC recently and wanted to depend on some functionality of some other plugins, in this specific case LuckPerms. I'm not quite sure how I would retrieve an instance of it, thei... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lubjan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ab1c9acb90dba91d5e994ebfb6bfb1130e0e0e6aca329cdbbd934d636e22ab6 |
| turbo-cache-control | no-preview |
| go-import | github.com/astorks/ScriptableMC-Engine git https://github.com/astorks/ScriptableMC-Engine.git |
| octolytics-dimension-user_id | 2802031 |
| octolytics-dimension-user_login | astorks |
| octolytics-dimension-repository_id | 235275504 |
| octolytics-dimension-repository_nwo | astorks/ScriptableMC-Engine |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 235275504 |
| octolytics-dimension-repository_network_root_nwo | astorks/ScriptableMC-Engine |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 04a785903b8c8db66e4594aee5b2e56cf7232706 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width