An extension for Minestom to create (persistent) holograms.
Get the release and place it in the extension folder of your minestom server.
Command | Permission |
---|---|
/bh create (name) | brickholograms.create |
/bh delete (hologram) | brickholograms.delete |
/bh addline (hologram) (text) | brickholograms.addline |
/bh removeline (hologram) (index) | brickholograms.removeline |
/bh setline (hologram) (index) (text) | brickholograms.setline |
/bh tphere (hologram) | brickholograms.tphere |
/bh setitem (hologram) | brickholograms.setitem |
/bh unsetitem (hologram) | brickholograms.unsetitem |
You can change the database settings in the config.json
.
{
"database": {
"dsn": "jdbc:h2:file:./extensions/BrickHolograms/data/database.h2",
"username": "dbuser",
"password": "dbuser"
}
}
MySQL is supported, use the following format:
"dsn": "jdbc:mysql://<hostname>:<ip>/<database>"
repositories {
maven { url "https://repo.jorisg.com/snapshots" }
}
dependencies {
implementation 'com.guflimc.brick.holograms:minestom-api:+'
}
Check the javadocs