Skip to content

Commit 25e4867

Browse files
committed
Initial working messages, commands
1 parent cb27e83 commit 25e4867

11 files changed

Lines changed: 737 additions & 0 deletions

File tree

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Compiled class file
2+
*.class
3+
4+
# Log file
5+
*.log
6+
7+
# BlueJ files
8+
*.ctxt
9+
10+
# Mobile Tools for Java (J2ME)
11+
.mtj.tmp/
12+
13+
# Package Files #
14+
*.jar
15+
*.war
16+
*.nar
17+
*.ear
18+
*.zip
19+
*.tar.gz
20+
*.rar
21+
22+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23+
hs_err_pid*
24+
25+
# Gradle
26+
.gradle/
27+
build/
28+
run/
29+
30+
# Visual Studio Code
31+
32+
.settings/
33+
.classpath
34+
.factorypath
35+
.project
36+
.vscode/
37+
38+
# Intellij Idea
39+
40+
.idea/

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# DynamicLoader ( Voxel Earth )
2+
3+
## Building
4+
- Run `./gradlew build`
5+
- Output is in `./build/libs/`
6+
7+
## Installation
8+
- Drop the jar into Velocity plugins folder

build.gradle.kts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
plugins {
2+
java
3+
alias(libs.plugins.runvelocity)
4+
alias(libs.plugins.idea.ext)
5+
alias(libs.plugins.blossom)
6+
}
7+
8+
repositories {
9+
maven("https://repo.papermc.io/repository/maven-public/")
10+
}
11+
12+
dependencies {
13+
compileOnly(libs.velocity)
14+
annotationProcessor(libs.velocity)
15+
}
16+
17+
tasks {
18+
compileJava {
19+
options.encoding = Charsets.UTF_8.name()
20+
options.release.set(21)
21+
}
22+
clean {
23+
// Deletes the directory that is generated by the runVelocity plugin
24+
delete("run")
25+
}
26+
runVelocity {
27+
velocityVersion(libs.versions.velocity.get())
28+
}
29+
}
30+
31+
sourceSets {
32+
main {
33+
blossom {
34+
javaSources {
35+
property("version", project.version.toString())
36+
}
37+
}
38+
}
39+
}
40+
41+
java.toolchain.languageVersion.set(JavaLanguageVersion.of(21))

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
group = voxelearth
2+
version = 1.0.0
3+
description = Assigns players to empty servers dynamically

gradle/libs.versions.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
metadata.format.version = "1.1"
2+
3+
[versions]
4+
5+
# CompileOnly dependencies
6+
velocity = "3.4.0-SNAPSHOT"
7+
8+
# Gradle Plugins
9+
blossom = "2.1.0"
10+
shadow = "9.1.0"
11+
runtask = "3.0.0"
12+
13+
# Utility Libraries
14+
bstats = "3.0.2"
15+
16+
# Plugin Dependencies
17+
miniplaceholders = "3.0.1"
18+
19+
[libraries]
20+
21+
# Compile Only Dependencies
22+
velocity = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocity" }
23+
24+
bstats = { module = "org.bstats:bstats-velocity", version.ref = "bstats" }
25+
26+
miniplaceholders = { group = "io.github.miniplaceholders", name = "miniplaceholders-api", version.ref = "miniplaceholders" }
27+
28+
[plugins]
29+
30+
blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
31+
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
32+
runvelocity = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
33+
idea-ext = { id = "org.jetbrains.gradle.plugin.idea-ext", version = "1.3" }
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

gradlew

Lines changed: 248 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)