Compare commits
3 Commits
d5de97e110
...
donpayinte
| Author | SHA1 | Date | |
|---|---|---|---|
| 40c5d5772f | |||
| a2119a15ed | |||
| 745f368fb8 |
@@ -44,10 +44,10 @@ jobs:
|
|||||||
- name: Make release
|
- name: Make release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: DonatePay Integration ${{ matrix.java }}-${{ gitea.run_number }}
|
name: DonatePay Integration v${{ gitea.run_number }}
|
||||||
tag_name: donpayintegplug-${{ matrix.java }}-${{ gitea.run_number }}
|
tag_name: donpayintegplug-v${{ gitea.run_number }}
|
||||||
md5sum: true
|
md5sum: true
|
||||||
sha256sum: true
|
sha256sum: true
|
||||||
files: |-
|
files: |-
|
||||||
# *.jar
|
|
||||||
build/libs/**
|
build/libs/**
|
||||||
|
# *.jar
|
||||||
@@ -23,7 +23,7 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("io.papermc.paper:paper-api:1.20-R0.1-SNAPSHOT")
|
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
implementation group: 'org.yaml', name: 'snakeyaml', version: '2.3'
|
implementation group: 'org.yaml', name: 'snakeyaml', version: '2.3'
|
||||||
includedJars group: 'org.yaml', name: 'snakeyaml', version: '2.3'
|
includedJars group: 'org.yaml', name: 'snakeyaml', version: '2.3'
|
||||||
|
|||||||
@@ -22,13 +22,13 @@ public final class DonPayIntegPlug extends JavaPlugin {
|
|||||||
scheduler.runTaskTimer(this, () -> {
|
scheduler.runTaskTimer(this, () -> {
|
||||||
thread.set(new DonateThread(this.getLogger()));
|
thread.set(new DonateThread(this.getLogger()));
|
||||||
thread.get().start();
|
thread.get().start();
|
||||||
}, 1, 20 * ConfigHandler.load().getReqCooldown());
|
}, 1, 20L * ConfigHandler.load().getReqCooldown());
|
||||||
scheduler.runTaskTimer(this, () -> {
|
scheduler.runTaskTimer(this, () -> {
|
||||||
if (!commands.isEmpty()) {
|
if (!commands.isEmpty()) {
|
||||||
this.getServer().dispatchCommand(Bukkit.getConsoleSender(), commands.getFirst());
|
this.getServer().dispatchCommand(Bukkit.getConsoleSender(), commands.getFirst());
|
||||||
commands.removeFirst();
|
commands.removeFirst();
|
||||||
}
|
}
|
||||||
}, 1, 20 * ConfigHandler.load().getCmdCooldown());
|
}, 1, 20L * ConfigHandler.load().getCmdCooldown());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user