Skip to content

Commit

Permalink
Version 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Jan 20, 2022
1 parent f785201 commit a062441
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*.iml
/logs/
/target/
/application.yml
*/dependency-reduced-pom.xml
.gradle/*
build/*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ plugins:
# true = source enabled, false = source disabled
getyarn: true # www.getyarn.io
clypit: true # www.clyp.it
tts: true # tts:Words to speak
tts: true # speak:Words to speak
pornhub: true # should be self-explanatory
reddit: true # should be self-explanatory
ocremix: true # www.ocremix.org
Expand Down
61 changes: 61 additions & 0 deletions application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
server: # REST and WS server
port: 2333
address: 0.0.0.0
lavalink:
server:
password: "youshallnotpass"
sources:
youtube: true
bandcamp: true
soundcloud: true
twitch: true
vimeo: true
http: true
local: false
bufferDurationMs: 400 # The duration of the NAS buffer. Higher values fare better against longer GC pauses
frameBufferDurationMs: 5000 # How many milliseconds of audio to keep buffered
youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
gc-warnings: true
#ratelimit:
#ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks
#excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
#strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
#searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
#retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times

plugins:
dunctebot:
ttsLanguage: "en-AU" # language of the TTS engine
sources:
# true = source enabled, false = source disabled
getyarn: false # www.getyarn.io
clypit: false # www.clyp.it
tts: false # speak:Words to speak
pornhub: true # should be self-explanatory
reddit: true # should be self-explanatory
ocremix: true # www.ocremix.org

metrics:
prometheus:
enabled: false
endpoint: /metrics

sentry:
dsn: ""
environment: ""
# tags:
# some_key: some_value
# another_key: another_value

logging:
file:
max-history: 30
max-size: 1GB
path: ./logs/

level:
root: INFO
lavalink: INFO
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@ application {
mainClass.set("org.springframework.boot.loader.JarLauncher")
}

val pluginVersion = Version(1, 1, 2)
val pluginVersion = Version(1, 1, 3)

group = "com.dunctebot"
version = "$pluginVersion"
val archivesBaseName = "skybot-lavalink-plugin"

repositories {
mavenCentral()
mavenLocal()
maven("https://duncte123.jfrog.io/artifactory/maven")
maven("https://m2.dv8tion.net/releases")
maven("https://jitpack.io")
jcenter() //koe :(
}

dependencies {
implementation("com.dunctebot:sourcemanagers:1.5.9")
implementation("com.dunctebot:sourcemanagers:1.5.10")

compileOnly("dev.arbjerg.lavalink:plugin-api:0.9.0")

Expand Down Expand Up @@ -93,7 +94,7 @@ tasks {
dependsOn(publishToMavenLocal)
}
wrapper {
gradleVersion = "7.1"
gradleVersion = "7.3.3"
distributionType = Wrapper.DistributionType.ALL
}
}
Expand All @@ -108,7 +109,7 @@ val verName = "$pluginVersion${if(preRelease) "_${System.getenv("GITHUB_RUN_NUMB
githubRelease {
token(System.getenv("GITHUB_TOKEN"))
owner("DuncteBot")
repo("lavalink")
repo("skybot-lavalink-plugin")
targetCommitish(System.getenv("RELEASE_TARGET"))
releaseAssets(tasks.shadowJar.get().outputs.files.toList())
tagName(verName)
Expand Down

0 comments on commit a062441

Please sign in to comment.