* Generate addon docs as Jekyll Collections instead of Jekyll Pages Simplifies a lot of Jekyll, makes custom addon layout possible. Signed-off-by: John Cocula <john@cocula.com> * Adds-on (all but bindings) in user menu Signed-off-by: John Cocula <john@cocula.com> * Added openhab-distro submodule Signed-off-by: John Cocula <john@cocula.com> |
||
---|---|---|
.. | ||
readme.md |
readme.md
id | label | title | type | description | since | logo | install |
---|---|---|---|---|---|---|---|
minecraft | Minecraft | Minecraft - Bindings | binding | This binding integrates Minecraft with openHAB through the [spigot plugin](https://github.com/ibaton/bukkit-openhab-plugin/releases/download/1.5/OHMinecraft.jar) ([sources](https://github.com/ibaton/bukkit-openhab-plugin/tree/master)). | 2x | images/addons/minecraft.png | auto |
{% include base.html %}
Minecraft Binding
This binding integrates Minecraft with openHAB through the spigot plugin (sources).
The binding allows reading of server and player data. It furthermore keeps track of redstone power going below signs and links them to Switch items.
Youtube Videos
Discovery
The Minecraft binding automatically finds all Minecraft servers running this plugin on the local network. Servers can be added manually if they are not found automatically.
Channels
Depending on the thing type, different channels are provided:
Server
Channel Type ID | Item Type | Description |
---|---|---|
name | String | Name of Minecraft server |
online | Switch | Online status |
bukkitVersion | String | The bukkit version running on server |
version | String | The Minecraft version running on server |
players | Number | The number of players on server |
maxPlayers | Number | The maximum number of players on server |
Player
Channel Type ID | Item Type | Description |
---|---|---|
playerName | String | The name of the player |
playerOnline | Switch | Is the player connected to the server |
playerLevel | Number | The current level of the player |
playerTotalExperience | Number | The total experience of the player |
playerExperiencePercentage | Number | The percentage of the experience bar filled for next level |
playerHealth | Number | The health of the player |
playerWalkSpeed | Number | The speed of the player |
playerLocation | Location | The player location |
playerGameMode | Number | The players game mode |
Sign
Channel Type ID | Item Type | Description |
---|---|---|
signActive | Switch | Does the sign have powered redstone below it |