Skip to content

Commit

Permalink
Removed direct payment integrations and added integration with WooCom…
Browse files Browse the repository at this point in the history
…merce
  • Loading branch information
FabioZumbi12 committed Jul 22, 2024
1 parent 1e96e90 commit 2a82559
Show file tree
Hide file tree
Showing 12 changed files with 206 additions and 534 deletions.
6 changes: 3 additions & 3 deletions PixelVip-Bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
<parent>
<groupId>br.net.fabiozumbi12.pixelvip</groupId>
<artifactId>PixelVip</artifactId>
<version>3.0.5</version>
<version>3.1.0</version>
</parent>
<artifactId>PixelVip-Bungee</artifactId>

<dependencies>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.19-R0.1-SNAPSHOT</version>
<version>1.20-R0.1-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.19-R0.1-SNAPSHOT</version>
<version>1.20-R0.1-SNAPSHOT</version>
<type>javadoc</type>
<scope>provided</scope>
</dependency>
Expand Down
23 changes: 19 additions & 4 deletions PixelVip-Spigot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>br.net.fabiozumbi12.pixelvip</groupId>
<artifactId>PixelVip</artifactId>
<version>3.0.5</version>
<version>3.1.0</version>
</parent>
<artifactId>PixelVip-Spigot</artifactId>

Expand Down Expand Up @@ -60,10 +60,16 @@
<dependency>
<groupId>com.mercadopago</groupId>
<artifactId>sdk-java</artifactId>
<version>2.1.4</version>
<version>2.1.24</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.icoderman</groupId>
<artifactId>wc-api-java</artifactId>
<version>1.4</version>
</dependency>

</dependencies>


Expand All @@ -74,7 +80,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -86,9 +92,18 @@
<includes>
<include>br.net.fabiozumbi12.pixelvip:PixelVip-Bungee</include>
<include>br.net.fabiozumbi12.pixelvip:PixelVip-Spigot</include>

<include>com.fasterxml.jackson.core:jackson-core</include>
<include>com.fasterxml.jackson.core:jackson-databind</include>
<include>com.fasterxml.jackson.core:jackson-annotations</include>
<include>com.icoderman:wc-api-java</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>br.net.fabiozumbi12.pixelvip.com.fasterxml.jackson</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>br.net.fabiozumbi12.pixelvip:*</artifact>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ public String expiresOn(Long millis) {

public void ExecuteCmd(String cmd, Player player) {
if (cmd == null || cmd.isEmpty()) return;
if (player != null) cmd = cmd.replace("{p}", player.getName());
if (player != null) cmd = cmd
.replace("{p}", player.getName())
.replace("{player}", player.getName());

plugin.addLog("Running Command - \"" + cmd + "\"");
String finalCmd = cmd;
Expand Down

This file was deleted.

Loading

0 comments on commit 2a82559

Please sign in to comment.