Skip to content

Commit 468f060

Browse files
authored
Merge pull request #50 from myth-MC/dev/0.6.8
0.6.8
2 parents db86510 + 8655653 commit 468f060

File tree

11 files changed

+16
-83
lines changed

11 files changed

+16
-83
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.7
1+
0.6.8

api-bukkit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>ovh.mythmc</groupId>
88
<artifactId>banco</artifactId>
9-
<version>0.6.7</version>
9+
<version>0.6.8</version>
1010
</parent>
1111

1212
<artifactId>banco-api-bukkit</artifactId>

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>ovh.mythmc</groupId>
88
<artifactId>banco</artifactId>
9-
<version>0.6.7</version>
9+
<version>0.6.8</version>
1010
</parent>
1111

1212
<artifactId>banco-api</artifactId>

platform-bukkit/pom.xml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>ovh.mythmc</groupId>
88
<artifactId>banco</artifactId>
9-
<version>0.6.7</version>
9+
<version>0.6.8</version>
1010
</parent>
1111

1212
<artifactId>banco-platform-bukkit</artifactId>
@@ -19,50 +19,6 @@
1919

2020
<build>
2121
<finalName>${project.parent.name}-legacy-${project.parent.version}</finalName>
22-
<defaultGoal>clean package</defaultGoal>
23-
<resources>
24-
<resource>
25-
<directory>src/main/resources</directory>
26-
<filtering>true</filtering>
27-
</resource>
28-
</resources>
29-
<plugins>
30-
<plugin>
31-
<groupId>org.apache.maven.plugins</groupId>
32-
<artifactId>maven-shade-plugin</artifactId>
33-
<version>3.6.0</version>
34-
35-
<configuration>
36-
<relocations>
37-
<relocation>
38-
<pattern>de.exlll</pattern>
39-
<shadedPattern>ovh.mythmc.banco.libs.de.exlll</shadedPattern>
40-
</relocation>
41-
<relocation>
42-
<pattern>org.snakeyaml</pattern>
43-
<shadedPattern>ovh.mythmc.banco.libs.org.snakeyaml</shadedPattern>
44-
</relocation>
45-
<relocation>
46-
<pattern>org.bstats</pattern>
47-
<shadedPattern>ovh.mythmc.banco.libs.org.bstats</shadedPattern>
48-
</relocation>
49-
<relocation>
50-
<pattern>net.kyori</pattern>
51-
<shadedPattern>ovh.mythmc.banco.libs.net.kyori</shadedPattern>
52-
</relocation>
53-
</relocations>
54-
</configuration>
55-
56-
<executions>
57-
<execution>
58-
<phase>package</phase>
59-
<goals>
60-
<goal>shade</goal>
61-
</goals>
62-
</execution>
63-
</executions>
64-
</plugin>
65-
</plugins>
6622
</build>
6723

6824
<repositories>
@@ -86,16 +42,11 @@
8642
<scope>provided</scope>
8743
</dependency>
8844

89-
<dependency>
90-
<groupId>net.kyori</groupId>
91-
<artifactId>adventure-api</artifactId>
92-
<version>4.17.0</version>
93-
</dependency>
94-
9545
<dependency>
9646
<groupId>net.kyori</groupId>
9747
<artifactId>adventure-platform-bukkit</artifactId>
9848
<version>4.3.2</version>
49+
<scope>provided</scope>
9950
</dependency>
10051
</dependencies>
10152

platform-bukkit/src/main/java/ovh/mythmc/banco/bukkit/BancoBukkit.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ public void enable() {
7575
if (Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI"))
7676
new BancoPlaceholderExpansion();
7777

78-
vaultImpl = new BancoVaultHook();
79-
vaultImpl.hook(getPlugin());
80-
8178
new BancoHelperImpl(); // BancoHelper.get()
8279

8380
adventure = BukkitAudiences.create(getPlugin());

platform-bukkit/src/main/resources/plugin.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ api-version: 1.20
66
main: ovh.mythmc.banco.bukkit.BancoBukkitPlugin
77
softdepend: [ PlaceholderAPI, social ]
88
loadbefore:
9-
- Essentials
10-
- CMI
11-
- Towny
12-
depend: [ Vault ]
9+
- Vault
10+
11+
libraries:
12+
- net.kyori:adventure-api:4.17.0
13+
- net.kyori:adventure-platform-bukkit:4.3.4
14+
- net.kyori:adventure-text-minimessage:4.17.0
1315

1416
commands:
1517
banco:

platform-common/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>ovh.mythmc</groupId>
88
<artifactId>banco</artifactId>
9-
<version>0.6.7</version>
9+
<version>0.6.8</version>
1010
</parent>
1111

1212
<artifactId>banco-common</artifactId>
@@ -54,7 +54,7 @@
5454
<dependency> <!-- change once 0.3 is released -->
5555
<groupId>com.github.myth-MC.social</groupId>
5656
<artifactId>social-api</artifactId>
57-
<version>c8c2ce2</version>
57+
<version>d4d47ff</version>
5858
<scope>provided</scope>
5959
</dependency>
6060
</dependencies>

platform-common/src/main/java/ovh/mythmc/banco/common/hooks/BancoVaultHook.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ public void error(final String message, final Object... args) {
3939
public void hook(Plugin plugin) {
4040
Bukkit.getServer().getServicesManager().register(net.milkbowl.vault.economy.Economy.class, this, plugin, ServicePriority.Highest);
4141
logger.info("Hooked with Vault " + Bukkit.getPluginManager().getPlugin("Vault").getDescription().getVersion());
42-
/*
43-
try {
44-
Class.forName("net.milkbowl.vault.economy.Economy");
45-
Bukkit.getServer().getServicesManager().register(net.milkbowl.vault.economy.Economy.class, this, plugin, ServicePriority.Highest);
46-
logger.info("Hooked with Vault " + Bukkit.getPluginManager().getPlugin("Vault").getDescription().getVersion());
47-
} catch (ClassNotFoundException ignored) {
48-
logger.error("Vault not found");
49-
} */
5042
}
5143

5244
public void unhook() {

platform-paper/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>ovh.mythmc</groupId>
88
<artifactId>banco</artifactId>
9-
<version>0.6.7</version>
9+
<version>0.6.8</version>
1010
</parent>
1111

1212
<artifactId>banco-platform-paper</artifactId>

platform-paper/src/main/resources/paper-plugin.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ folia-supported: true
1111
dependencies:
1212
server:
1313
Vault:
14-
load: BEFORE
14+
load: AFTER
1515
required: true
1616
join-classpath: true
1717
PlaceholderAPI:
@@ -26,15 +26,6 @@ dependencies:
2626
load: OMIT
2727
required: false
2828
join-classpath: true
29-
Essentials:
30-
load: AFTER
31-
required: false
32-
CMI:
33-
load: AFTER
34-
required: false
35-
Towny:
36-
load: AFTER
37-
required: false
3829

3930
permissions:
4031
banco.user:

0 commit comments

Comments
 (0)