ShatteredRifts is a plugin that can be used to create timed portals around the world, each going to specific locations. These teleport all entities inside of them, making them useful for getting pets around or for creating interesting RPG locations to explore.
Looking for a development release? You can get it
here. Looking for the latest
full version? You can get it here.
Either way, the file ending in -dist.jar is what you want.
Mac/Linux:
git clone https://github.com/ShatteredSuite/ShatteredRifts.git
cd ShatteredRifts
./gradlew publishToMavenLocal
Windows:
git clone https://github.com/ShatteredSuite/ShatteredRifts.git
cd ShatteredRifts
gradlew.bat publishToMavenLocal
In either case, the jars will be produced in build/libs.
Add the following to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.ShatteredSuite</groupId>
<artifactId>ShatteredRifts</artifactId>
<version>Tag</version>
</dependency>
</dependencies>Next, add a dependency in your plugin.yml:
depend:
- ShatteredRiftsFinally, use any of the features you like!
Add the following to your build.gradle:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.ShatteredSuite:ShatteredRifts:Tag'
}Next, add a dependency in your plugin.yml:
depend:
- ShatteredRiftsFinally, use any of the features you like!
RiftTeleportPlayerEvent is called when a player is telepored from a rift. RiftTeleportEntityEvent
is called when a non-player entity is teleported from a rift.
