▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Econix

Econix

Lightweight Economy Provider for Minecraft Server and Developer

260
0
Update for this plugin incoming!!

Econix - Lightweight Economy Provider

What is Econix

Econix is an economy provider to have a simple handling with multiple currencies and to address them with a simple developer api. Econix is very simple and easy to integrate as well as to use as an own plugin.

What does Econix offer

  • Developer API - an interface to access Econix
  • In-game command - for each currency you have a command with which you can manage the currency.
  • Infinite currencies - you can register infinite currencies and also register some via API.
  • Item Export - You can export the currency as an item and trade it this way

  • [SOON] Trade System - To trade with other players
  • [SOON] Bank Feature - A bank feature will be added as needed to give players a safe place for their money
  • [SOON] Pay, Transactions, etc. - More commands and cool features will follow.

Permissions

  • crystopia.commands.econix.<currenxyId>- Access to the / Command
  • crystopia.commands.econix.econix - Access to the main /econix Command

Hooks

  • Placeholder API - You can display the current balance with placeholder
  • Vault - The plugin supports Vault and can release a currency for vault

Commands

  • /<currency> - Manage your currency with commands like set, give, remove, item, etc.
  • /econix - Manage the plugin and reload the data

Developer API

You can import our plugin via Maven or Gradle

<version> is the latest version here on modrinth

Zugriff auf die API Instance

class Main : JavaPlugin() {

    private var econix: EconixAPI? = null

    override fun onEnable() {
        // Econix Hook
        if (server.pluginManager.getPlugin("Econix")?.isEnabled == true) {
            logger.info("Hooking into Econix")
            econix = Econix.getAPI()
        } else {
            logger.warning("No Econix version Found!")
            server.pluginManager.disablePlugin(this)
        }
    }

    fun getEconix(): EconixAPI? {
        return econix
    }
}

public class Main extends JavaPlugin {

    private EconixAPI econix;

    @Override
    public void onEnable() {
        // Hook into Econix API
        if (Bukkit.getServer().getPluginManager().getPlugin("Econix") != null && Bukkit.getServer().getPluginManager().getPlugin("Econix").isEnabled()) {
            getLogger().info("Hooking into Econix");
            econix = Econix.getAPI();
        } else {
            getLogger().warning("No Econix version Found!");
            Bukkit.getServer().getPluginManager().disablePlugin(this);
        }
    }

    public EconixAPI getEconix() {
        return econix;
    }
}

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:GPL-3.0-or-later
Опубликован:1 год назад
Обновлён:1 год назад
Главная