Teleport players to a random location on first join and on death
Requirements: Java 21, Gradle (wrapper included)
git clone https://github.com/mytai20100/randomspawn.git
cd randomspawn
./gradlew buildThe compiled jar will be in build/libs/.
To run a local test server:
./gradlew runServer| Permission | Description | Default |
|---|---|---|
randomspawn.admin |
Access to all /rdsw commands |
OP |
| Command | Description |
|---|---|
/rdsw around <radius> |
Teleport yourself to a random spot within the given radius |
/rdsw reload |
Reload the config |
/rdsw info |
Show plugin version, author, and AuthMe version (if installed) |
config.yml
randomspawn:
enabled: true
around: 1000
respawn_timeout: 30
spawn_on_every_login: false
main_world: world
debug: false