A plugin that solves all your economy problems! A custom economy that doesn't need Vault or other plugins!
Repository:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Dependency:
<dependency>
<groupId>com.github.NotMarra</groupId>
<artifactId>NotCredits</artifactId>
<version>v2.0</version>
</dependency>
Repository:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Dependency:
dependencies {
implementation 'com.github.NotMarra:NotCredits:v2.0'
}
Sets the balance for a player identified by their unique UUID.
- Parameters:
uuid: Unique identifier for the player.amount: The amount to set as the player's new balance.
Gets the balance for a player identified by their unique UUID.
-
Parameters:
uuid: Unique identifier for the player.
-
Returns:
- The balance of the player.
Sets the balance for a player identified by their name.
- Parameters:
name: The name of the player.amount: The amount to set as the player's new balance.
Gets the balance for a player identified by their name.
-
Parameters:
name: The name of the player.
-
Returns:
- The balance of the player.
Retrieves the balance of a player based on their position in the balance ranking.
-
Parameters:
order: The rank position of the player (e.g., 1 for the top player).
-
Returns:
- The balance of the player.
Retrieves the name of the player based on their position in the balance ranking.
-
Parameters:
order: The rank position of the player (e.g., 1 for the top player).
-
Returns:
- The name of the player.
Retrieves a list of players and their balances starting from a specified rank position.
-
Parameters:
position: The starting rank position.amount: The number of players to retrieve.
-
Returns:
- A list of maps containing player names and their balances (
List<Map<String, Double>>).
- A list of maps containing player names and their balances (