Skip to content

Commit 04d8a97

Browse files
committed
Initial commit
0 parents  commit 04d8a97

File tree

14 files changed

+568
-0
lines changed

14 files changed

+568
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: henkelmax
7+
8+
---
9+
10+
**Bug description**
11+
A clear and concise description of what the bug is.
12+
13+
**Steps to reproduce the issue**
14+
1. Go to '...'
15+
2. Click on '...'
16+
3. Scroll down to '...'
17+
4. See error
18+
19+
**Expected behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Log files**
23+
Please provide log files of the game session in which the problem occurred.
24+
Don't paste the complete logs into the issue.
25+
You can use [https://gist.github.com/](https://gist.github.com/).
26+
27+
**Versions**
28+
- Minecraft version
29+
- Bukkit version
30+
- Plugin version
31+
32+
**Other mods**
33+
A list of the other plugins that were installed when this problem occurred.
34+
It would be ideal if you could test if this problem persists when no other plugin is installed.
35+
If not, please narrow down the plugin(s) that are causing the problem.
36+
37+
**Screenshots (Optional)**
38+
Screenshots of the issue.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 17
18+
- name: Build
19+
run: |
20+
chmod +x ./gradlew
21+
./gradlew build
22+
- name: Upload release asset
23+
uses: AButler/upload-release-assets@v2.0
24+
with:
25+
files: 'build/libs/*'
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.gradle/
2+
.idea/
3+
build/
4+
run/

build.gradle

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
sourceCompatibility = JavaLanguageVersion.of(java_version as int)
6+
targetCompatibility = JavaLanguageVersion.of(java_version as int)
7+
8+
archivesBaseName = archives_base_name
9+
version = plugin_version
10+
group = maven_group
11+
12+
processResources {
13+
filesMatching("plugin.yml") {
14+
expand "version": plugin_version,
15+
"bukkit_api_version": bukkit_api_version
16+
}
17+
}
18+
19+
dependencies {
20+
implementation 'com.google.code.findbugs:jsr305:3.0.2'
21+
// To use this dependency, you need to compile bukkit by yourself
22+
// See https://www.spigotmc.org/wiki/buildtools/
23+
implementation "org.bukkit:craftbukkit:${bukkit_version}"
24+
// Use this dependency if you don't want to compile bukkit
25+
// implementation "io.papermc.paper:paper-api:${bukkit_version}"
26+
implementation "de.maxhenkel.voicechat:voicechat-api:${voicechat_api_version}"
27+
}
28+
29+
repositories {
30+
mavenCentral()
31+
maven {
32+
name = "henkelmax.public"
33+
url = 'https://maven.maxhenkel.de/repository/public'
34+
}
35+
// You need this maven repository if you want to use the paper dependency
36+
// maven {
37+
// url = uri("https://papermc.io/repo/repository/maven-public/")
38+
// }
39+
mavenLocal()
40+
}

gradle.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
org.gradle.jvmargs=-Xmx2G
2+
3+
java_version=17
4+
5+
bukkit_api_version=1.18
6+
bukkit_version=1.18.2-R0.1-SNAPSHOT
7+
8+
# Target an older API to make it compatible with older versions of the voice chat
9+
# This is the oldest available version of the voice chat API
10+
# If you want to use features that are introduced in later versions you need to use a newer version
11+
voicechat_api_version=2.1.12
12+
13+
plugin_version=1.0.0
14+
maven_group=de.maxhenkel.voicechat_broadcast
15+
archives_base_name=voicechat_broadcast

gradle/wrapper/gradle-wrapper.jar

58.1 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 183 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)