mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-29 22:03:22 +01:00
Updated Basic tutorial (markdown)
parent
68ab5f1ead
commit
ab6563c43f
@ -1,9 +1,9 @@
|
|||||||
This basic tutorial will explain you how to check that HolographicDisplays is enabled (if stricly required) and how to create your first hologram.
|
This basic tutorial will explain you how to check that HolographicDisplays is enabled (if stricly required) and how to create your first hologram.
|
||||||
|
|
||||||
### 1) Always use the latest version<a name="index"></a>
|
## 1) Always use the latest version
|
||||||
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.
|
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
|
## 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 is **enabled**.
|
||||||
|
|
||||||
**Add a soft-dependency to your plugin.yml:**
|
**Add a soft-dependency to your plugin.yml:**
|
||||||
|
Loading…
Reference in New Issue
Block a user