Skip to content

Commit 9dfad58

Browse files
committed
2.1.1b Update
1 parent 9ea4c2d commit 9dfad58

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

build.gradle

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
def devBuild = false
1313

1414
group = 'com.playernguyen'
15-
version = ('2.1.1b') + ((devBuild) ? "-devbuild": "")
15+
version = ('2.1.1b') + ((devBuild) ? "-devbuild" : "")
1616

1717
compileJava {
1818
sourceCompatibility = '1.8'
@@ -41,21 +41,23 @@ repositories {
4141
maven {
4242
url = uri('http://repo.mvdw-software.be/content/groups/public/')
4343
}
44+
45+
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
46+
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
4447
}
4548

4649
dependencies {
4750
implementation 'com.google.code.gson:gson:2.8.6'
4851
implementation 'com.comphenix.protocol:ProtocolLib-API:4.4.0'
4952
implementation 'org.jetbrains:annotations:19.0.0'
50-
compileOnly 'me.clip:placeholderapi:2.10.4'
51-
compileOnly 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
52-
compileOnly files('lib/BossShopPro.jar')
53-
54-
// Compile and put to jar
53+
implementation 'me.clip:placeholderapi:2.10.4'
54+
implementation 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
55+
compile 'com.github.brcdev-minecraft:shopgui-api:2.1.1'
56+
implementation files('lib/BossShopPro.jar')
57+
implementation files('lib/MVdWPlaceholderAPI.jar')
5558
compile 'com.zaxxer:HikariCP:3.4.5'
5659
compile 'org.slf4j:slf4j-site:2.0.0-alpha1'
57-
implementation 'com.github.brcdev-minecraft:shopgui-api:2.1.1'
58-
implementation 'be.maximvdw:MVdWPlaceholderAPI:2.1.1-SNAPSHOT'
60+
5961
}
6062

6163
publishing {

lib/MVdWPlaceholderAPI.jar

239 KB
Binary file not shown.

src/main/java/me/playernguyen/opteco/OptEco.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void onEnable() {
7575
this.setupAccount();
7676
this.hookPlaceHolderAPI();
7777
this.hookBossShopPro();
78-
this.hookShopGuiPro();
78+
this.hookShopGuiPlus();
7979
this.hookMVdWPlaceholderAPI();
8080
this.announcePlayerPoints();
8181
this.setupMetric();
@@ -95,7 +95,7 @@ private void hookMVdWPlaceholderAPI() {
9595
}
9696
}
9797

98-
private void hookShopGuiPro() {
98+
private void hookShopGuiPlus() {
9999
// Find ShopGuiPlus
100100
Plugin plugin = Bukkit.getPluginManager().getPlugin("ShopGuiPlus");
101101
// Whether found ShopGuiPlus

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ api-version: 1.13
44
description: "The powerful points system plugin of Minecraft Server"
55
main: me.playernguyen.opteco.OptEco
66
author: Player_Nguyen
7-
loadbefore: [ BossShopPro ]
7+
loadbefore: [ BossShopPro, ShopGUIPlus ]
88
softdepend: [ PlaceholderAPI, BossShopPro, MVdWPlaceholderAPI, ShopGUIPlus ]
99
commands:
1010
opteco:

0 commit comments

Comments
 (0)