HomeJavaModsHyeconomy
Hyeconomy
Hyeconomy — screenshot 1

image

Features

Server Compatibility

Database Storage

Hyeconomy utilizes MariaDB for database storage. This ensures reliable and efficient data storage for player balances and transactions.

Commands

Player Command

Admin Command

Permissions

Configuration

You can customize various aspects of the plugin, including messages and database settings, by editing the config.yml and messages.yml files in the plugin's folder.

PlaceholderAPI Integration

install placeholderapi

Remember to replace PLAYERNAME with the actual player name you want to query in the second type of placeholder.

Support

If you encounter any issues or have questions, please feel free to open an issue on the GitHub repository.

License

This plugin is open-source and available under the MIT License.

Developer API Latest Release

Information

Apache Maven pom.xml

<repository>
    <id>hyeconomy</id>
    <url>https://repo.hynse.xyz/repository/maven-releases/</url>
</repository>
<dependency>
  <groupId>xyz.hynse</groupId>
  <artifactId>api-hyeconomy</artifactId>
  <version>1.2-SNAPSHOT-1</version>
</dependency>

Gradle Groovy DSL build.gradle

repositories {
    maven { url = "https://repo.hynse.xyz/repository/maven-releases/"}
}
dependencies { 
    compileOnly 'xyz.hynse:api-hyeconomy:1.2-SNAPSHOT-1'
}

Example

import xyz.hynse.hyeconomy.API.HyeconomyAPI;

// when you need to get or set player balances:
HyeconomyAPI hyeconomyAPI = Hyeconomy.getAPI();

// Get a player's balance by UUID
UUID playerUUID = /* UUID of the player */;
int balance = hyeconomyAPI.getPlayerBalance(playerUUID);

// Set a player's balance by UUID
int newBalance = /* The new balance */;
hyeconomyAPI.setPlayerBalance(playerUUID, newBalance);

int amount = /*Amount want to add or subtract*/;
// Add a player's balance by UUID
HyeconomyAPI.addToPlayerBalance(UUID playerUUID, amount)
        
// subtract a player's balance by UUID
HyeconomyAPI.subtractFromPlayerBalance(UUID playerUUID, amount)
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more