Skip to content

Commit

Permalink
Merge pull request #1 from mineCodesDevelopment/rewrite
Browse files Browse the repository at this point in the history
🥇Rewrited project.
  • Loading branch information
arthurr0 authored Oct 2, 2021
2 parents a607c35 + 79cfe32 commit 05fde43
Show file tree
Hide file tree
Showing 48 changed files with 1,732 additions and 1,435 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<b>mineEconomy</b> - Best economy plugin for you.
<br>
<br>
<br>
<br>
<b>Database types</b>
* mongoDb
* MySQL
<br>

<br>

<b>Placeholders (PlaceholderAPI)</b>
* %mineEconomy_balance%
<br>

<br>

<b>Player command</b>
* <b>/balance\bal\account\money</b> - For check account balance.
* <b>/transfer\pay <*username*> <*value*></b> - Transfer money to other players.
* <b>/ranking</b> - Show top economy players.
<br>

<br>

<b>Administrator commands</b>
* <b>/eco help</b> - Admin commands list.
* <b>/eco check <*username*></b> - Check player balance.
* <b>/eco clear <*username*></b> - Clear player balance.
* <b>/eco set <*username*> <*balance*></b> - setup money on player balance.
* <b>/eco deposit <*username*> <*value*></b> - Deposit money for player balance.
* <b>/eco witdraw <*username*> <*value*></b> - Withdraw money from player balance.
91 changes: 61 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@

<groupId>mineEconomy</groupId>
<artifactId>mineEconomy</artifactId>
<version>2.3.1</version>
<version>2.4.0</version>
<packaging>jar</packaging>

<name>mineEconomy</name>

<description>Economy plugin for CampFire.pl</description>
<description>Economy plugin by mineCodes</description>
<properties>
<java.version>1.8</java.version>
<java.version>8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<url>https://arturek.site</url>
<url>https://minecodes.pl/</url>

<build>
<defaultGoal>clean package</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand All @@ -34,19 +34,27 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<configuration>
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
</dependencyReducedPomLocation>
<relocations>
<relocation>
<pattern>co.aikar.commands</pattern>
<shadedPattern>pl.minecodes.mineeconomy.acf</shadedPattern>
</relocation>
<relocation>
<pattern>co.aikar.locales</pattern>
<shadedPattern>pl.minecodes.mineeconomy.locales</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>de.tr7zw.changeme.nbtapi.</pattern>
<shadedPattern>pl.arturekdev.mineCase.</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
Expand All @@ -61,36 +69,60 @@
</resources>
</build>


<repositories>
<repository>
<id>placeholderapi</id>
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<repository>
<id>papermc-repo</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
<repository>
<id>minecodes-repo</id>
<url>http://panel.minecodes.pl:1303/</url>
<url>https://repo.minecodes.pl/</url>
</repository>
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.io/repository/maven-public/</url>
<id>aikar</id>
<url>https://repo.aikar.co/content/groups/aikar/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.5.5</version>
</dependency>
<dependency>
<groupId>eu.okaeri</groupId>
<artifactId>okaeri-configs-serdes-bukkit</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>eu.okaeri</groupId>
<artifactId>okaeri-configs-yaml-bukkit</artifactId>
<version>3.3.6</version>
</dependency>
<dependency>
<groupId>eu.okaeri</groupId>
<artifactId>okaeri-pluralize</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>eu.okaeri</groupId>
<artifactId>okaeri-injector</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.16.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.tr7zw</groupId>
<artifactId>item-nbt-api</artifactId>
<version>2.6.0</version>
<groupId>co.aikar</groupId>
<artifactId>acf-bukkit</artifactId>
<version>0.5.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.clip</groupId>
Expand All @@ -101,7 +133,7 @@
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>5.0.0</version>
<version>4.0.3</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
Expand All @@ -110,10 +142,9 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>mineDatabase</groupId>
<artifactId>mineDatabase</artifactId>
<version>1.1</version>
<scope>provided</scope>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.12.10</version>
</dependency>
</dependencies>
</project>
91 changes: 0 additions & 91 deletions src/main/java/pl/arturekdev/mineEconomy/EconomyService.java

This file was deleted.

22 changes: 0 additions & 22 deletions src/main/java/pl/arturekdev/mineEconomy/Logger.java

This file was deleted.

This file was deleted.

Loading

0 comments on commit 05fde43

Please sign in to comment.