Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.bh-ss:bedhome:'
}
dependencies {
implementation("com.github.bh-ss:bedhome:")
}
<dependency>
<groupId>com.github.bh-ss</groupId>
<artifactId>bedhome</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.bh-ss" % "bedhome" % ""
:dependencies [[com.github.bh-ss/bedhome ""]]
Teleport to your bed using /bed. Your bed is saved when you sleep in it.
This plugin is compatible with CraftBukkit 1.7.9, Spigot 1.8, and Spigot-updated CraftBukkit 1.8!
Feel free to make a pull request or open an issue.
Teleport to your bed with /bed!
Lookup other player's beds!
Teleport to other player's beds!
If your player's bed has been destroyed, they can still teleport to it, see its co-ordinates or neither, depending on the config.
One bed per world!
/bed - Teleport to your bed.
/bedhome [reload/help] - Reload the configuration file. or get help.
/bedhome lookup/tele <player> <world> - Get the co-ordinates of or teleport to the specified player's bed. Please note usernames are case-sensitive.
bedhome.bed - Allows players to use /bed
bedhome.admin - Allows players to use all mod commands
bedhome.world - Allows players to /bed to another world (2.2+)
View the BukkitDev page to find this.