mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-22 10:25:41 +01:00
Updated Basic tutorial (markdown)
parent
ce8469c0c1
commit
c4bfd07885
@ -4,9 +4,9 @@ This basic tutorial will explain you how to check that HolographicDisplays is en
|
||||
First of all, use the latest version of HolographicDisplays while coding and ask your plugin's users to do the same. The API is constantly being expanded, and some methods could be missing in previous versions.
|
||||
|
||||
## 2) Check if HolographicDisplays is enabled
|
||||
To use the API, you have to check if the plugin is installed and enabled. You can use the following code in your plugin.yml and in your onEnable() to check that the plugin is installed and is **enabled**.
|
||||
To use the API, you have to check if the plugin is installed and enabled. You can use the following code in your plugin.yml and in your onEnable() to check that the plugin is installed and **enabled**.
|
||||
|
||||
**Add a soft-dependency to your plugin.yml:**
|
||||
Add a soft-dependency to your plugin.yml:
|
||||
```
|
||||
softdepend: [HolographicDisplays]
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user