Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@
**Plugin page**: [https://www.spigotmc.org/resources/75164/](https://www.spigotmc.org/resources/75164/)

## About
View Distance Tweaks is a Spigot plugin that allows for dynamic per-world simulation distance and view distance.
View Distance Tweaks is a Spigot plugin that allows for dynamic per-world simulation distance and view distance. Now with
support for Minecraft 1.20.4 with PaperMC!

## Building

1. Install dependency NabConfiguration to maven local
```bash
git clone https://github.com/froobynooby/nab-configuration
cd nab-configuration
./gradlew clean install
```
2. Clone ViewDistanceTweaks and build
1. Clone ViewDistanceTweaks and build
```bash
git clone https://github.com/froobynooby/ViewDistanceTweaks
cd ViewDistanceTweaks
./gradlew clean build
./gradlew clean shadowJar
```
2. Find jar in `build/libs/ViewDistanceTweaks-x.x.x.jar`

## Setup

3. Find jar in `ViewDistanceTweaks/build/libs`
Place the .jar file into your plugins folder, then run the server, you will need to change the config file to set enabled
to true.
28 changes: 14 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'com.github.johnrengelman.shadow' version '8.0.0'
id 'java'
}

group 'com.froobworld'
version '1.5.7'
jar.enabled = false;
version '1.6.0'
jar.enabled = false

sourceCompatibility = 1.8
sourceCompatibility = 17

repositories {
mavenLocal();
mavenCentral()
maven {
url "https://hub.spigotmc.org/nexus/content/repositories/snapshots"
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots"
}
maven {
url "https://oss.sonatype.org/content/groups/public/"
url = "https://oss.sonatype.org/content/groups/public/"
}
maven {
url "https://papermc.io/repo/repository/maven-public/"
url = "https://papermc.io/repo/repository/maven-public/"
}
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.10.9'
compileOnly 'io.netty:netty-all:4.1.74.Final'
compile 'org.jooq:joor-java-8:0.9.14'
compile 'com.froobworld:nab-configuration:1.0.2'
compile 'org.bstats:bstats-bukkit:3.0.0'
testImplementation "org.junit.jupiter:junit-jupiter:5.9.3"
implementation "io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT"
implementation 'me.clip:placeholderapi:2.10.9'
implementation 'io.netty:netty-all:4.1.95.Final'

implementation 'org.jooq:joor-java-8:0.9.14'
implementation 'org.bstats:bstats-bukkit:3.0.2'
}

processResources {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading