Updated Basic tutorial (markdown)

filoghost 2014-07-26 07:34:02 -07:00
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:**