▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/S-Economy
S-Economy

S-Economy

S-Economy - лёгкий и простой плагин экономики для Minecraft на основе Vault. Позволяет управлять балансами игроков, настраивать валюту, команды и сообщения. Подходит для серверов любого размера.

Оцените первым
1.9K
5

S-Economy - лёгкий плагин экономики для Майнкрафт, который использует Vault в качестве бэкенда. Если на твоём сервере нужна внутриигровая валюта, а устанавливать тяжёлые плагины не хочется - это отличный вариант. S-Economy предлагает базовый функционал: баланс, переводы, управление с помощью админских команд и полностью настраиваемые сообщения.

Плагин совместим с любым сервером Minecraft, где установлен Vault. Установка на хостинг вроде BungeeHost (https://bungee.host) занимает минуту: кинул jar в папку plugins, перезагрузил сервер - и можно настраивать.

Особенности

  • Настраиваемые сообщения через MiniMessage - можно сделать красивые цвета, градиенты и даже свои переводы
  • Встроенный апдейт-чекер: при входе админа или старте сервера проверяет, вышла ли новая версия
  • Гибкая настройка команд через commands.yml: можно отключить ненужные или добавить алиасы
  • Полностью настраиваемая экономика: символ валюты, стартовый баланс, формат отображения, дробная часть, локаль
  • Перезагрузка плагина без остановки сервера - команда /s-economy reload
  • В разработке ещё фичи, но и текущего функционала хватает для большинства серверов

Команды

Основная команда плагина

  • /s-economy about - информация о плагине
  • /s-economy reload - перезагрузить конфиги и языковые файлы

Баланс

  • /balance - свой баланс
  • /balance <player> - баланс другого игрока
  • /balancetop - топ-10 игроков по балансу

Управление экономикой (только для админов)

  • /economy give <player> <amount> - выдать деньги
  • /economy take <player> <amount> - забрать деньги
  • /economy set <player> <amount> - установить баланс
  • /economy reset <player> - сбросить баланс до стартового
  • /economy check <player> - проверить баланс

Переводы

  • /pay <player> <amount> - перевести деньги игроку
  • /pay * <amount> - перевести всем онлайн-игрокам

Права (Permissions)

  • sEconomy.admin - доступ ко всем командам
  • sEconomy.command.balance.self - /balance для себя
  • sEconomy.command.balance.other - баланс других
  • sEconomy.command.eco.give / take / set / reset / check - соответствующие команды экономии
  • sEconomy.command.pay - переводы
  • sEconomy.command.pay.all - перевод всем
  • sEconomy.command.balancetop - топ-10
  • sEconomy.exempt.balancetop - исключить игрока из топа

Настройка

Всё управляется конфигурационными файлами. Основные параметры:

config.yml - язык, префикс, настройки валюты (название, символ, формат, стартовый баланс, дробные цифры), лимиты на pay, авто-дополнения сумм.

commands.yml - можно отключить любую команду или изменить её алиасы.

english.yml / german.yml - языковые файлы с сообщениями. Можно создать свой файл для другого языка.

Просмотр config.yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html

file-version: 1

# The prefix before every message
prefix: "<#ECC868><b>S-Economy</b> <dark_gray>⚡ <gray>"

# The messages file to use
langFile: 'english'

# Settings for the update checker
updateChecker:
  # Send a message to the console when a new version is available
  consoleMessage: true
  # Send a message to the player when a new version is available
  # This requires the permission 'sEconomy.admin' or to be an OP
  playerMessage: true

# All settings about economy
economy:
  # The name of the economy
  economyName:
    singular: "Coin"
    plural: "Coins"
  # The starting balance of new players
  startingBalance: 5000.0
  # The currency symbol
  currencySymbol: "$"
  # The format of the balance
  format: "%currencySymbol%%amount%"
  # Displayed decimals
  fractionalDigits: 2
  # The format of the balances
  decimalFormat:
    # Here you can define the format of the balance
    format: "#,###.##"
    # Here you can define the decimal separator
    # Samples:
    # 'EN' -> '1,000.00'
    # 'DE'  -> '1.000,00'
    # 'FR'  -> '1 000,00'
    locale: 'EN'

# Settings for the commands
commands:
  economy:
    # The amount completions for the /economy command
    amountCompletions: [10, 50, 100]
  pay:
    # The amount completions for the /pay command
    amountCompletions: [10, 50, 100]
    # The minimum amount of money to pay
    minAmount: 5.0
Просмотр commands.yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html

file-version: 1

# Settings for /balance
balance:
  # Should the command be enabled?
  enabled: true
  # What aliases should be used for this command?
  aliases:
    - bal
    - balance
    - money
    - coins

# Settings for /economy
economy:
  enabled: true
  aliases:
    - econ
    - eco

# Settings for /pay
pay:
  enabled: true
  # '[]' means no aliases
  aliases: []

# Settings for /balancetop
balancetop:
  enabled: true
  aliases:
  - baltop
  - moneytop
  - coinstop
Просмотр english.yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html

file-version: 1

# General messages
general:
  noPlayer: "<gray>You <red>must be a player<gray> to execute this command!"
  noPerms: "<gray>You <red>do not have permission<gray> to execute this command!"
  playerNotFound: "<gray>The given player <red>could not be found<gray>!"

# Other messages
other:
  updateChecker: "<gray>An <yellow>update <gray>is available! You are using version <red>v%current-version%<gray>, the latest version is <green>%latest-version%<gray>!"

# Command messages
commands:
  # Messages for the /s-economy command (main plugin command)
  s-economy:
    usage: "<gray>Please use <red>/s-economy <about/reload><gray>!"
    about: "<gray>S-Economy v%version% <dark_gray>- <gray>%author%"
    reload:
      reloading: "<yellow>Reloading <gray>S-Economy..."
      reloaded: "<green>Successfully reloaded <gray>S-Economy! <dark_gray>(%time%ms)"
      error: "<gray>An <red>error occurred <gray>while reloading S-Economy! Check the console for details."
  balance:
    usage: "<gray>Please use <red>/balance <player><gray>!"
    self: "<gray>Your balance is <yellow>%balance%<gray>!"
    other: "<gray>The balance of <white>%player% <gray>is <yellow>%balance%<gray>!"
  economy:
    usage: "<gray>Please use <red>/economy <give/take/set/reset/check> <player> <?amount><gray>!"
    noAmount: "<gray>The given amount is <red>invalid<gray>!"
    give:
      usage: "<gray>Please use <red>/economy give <player> <amount><gray>!"
      success: "<gray>You have given <white>%player% <yellow>%balance%<gray>!"
      all: <gray>You have given <white>all players <yellow>%balance%<gray>!
    take:
      usage: "<gray>Please use <red>/economy take <player> <amount><gray>!"
      success: "<gray>You have taken <white>%player% <yellow>%balance%<gray>!"
      all: <gray>You have taken <white>from all players <yellow>%balance%<gray>!
    set:
      usage: "<gray>Please use <red>/economy set <player> <amount><gray>!"
      success: "<gray>You have set the balance of <white>%player% <gray>to <yellow>%balance%<gray>!"
      all: <gray>You have set the balance of <white>all players <gray>to <yellow>%balance%<gray>!
    reset:
      usage: "<gray>Please use <red>/economy reset <player><gray>!"
      success: "<gray>You have reset the balance of <white>%player%<gray>!"
      all: <gray>You have reset the balance of <white>all players<gray>!
    check:
      usage: "<gray>Please use <red>/economy check <player><gray>!"
      success: "<gray>The balance of <white>%player% <gray>is <yellow>%balance%<gray>!"
      allFailed: <gray>You <red>cannot check the balance of all players at once<gray>! Please specify a player.
  pay:
    usage: "<gray>Please use <red>/pay <player/*> <amount><gray>!"
    noAmount: "<gray>The given amount is <red>invalid<gray>!"
    notEnoughMoney: "<gray>You <red>do not have enough money<gray>!"
    selfPay: "<gray>You <red>cannot pay yourself<gray>!"
    success:
      player: "<gray>You have paid <white>%player% <yellow>%balance%<gray>!"
      target: "<gray>You have received <yellow>%balance%<gray> from <white>%player%<gray>!"
      all: "<gray>You have paid <white>all players <yellow>%balance%<gray>!"
Просмотр german.yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html

file-version: 1

# Generelle Nachrichten
general:
  noPlayer: "<gray>Dies können <red>nur Spieler<gray> ausführen!"
  noPerms: "<gray>Du hast <red>keine Berechtigung<gray> für diesen Befehl!"
  playerNotFound: "<gray>Der angegebene Spieler <red>konnte nicht gefunden<gray> werden!"

# Other messages
other:
  updateChecker: "<gray>Es ist ein <yellow>Update verfügbar<gray>! Die momentane Version ist die <red>v%current-version%<gray>, die neuste Version ist die <green>%latest-version%<gray>!"

# Befehlsnachrichten
commands:
  # Nachrichten für den /s-economy Befehl (Hauptbefehl des Plugins)
  s-economy:
    usage: "<gray>Bitte nutze <red>/s-economy <about/reload><gray>!"
    about: "<gray>S-Economy v%version% <dark_gray>- <gray>%author%"
    reload:
      reloading: "<gray>S-Economy <yellow>wird neugeladen<gray>..."
      reloaded: "<gray>S-Economy wurde <green>erfolgreich neugeladen<gray>! <dark_gray>(%time%ms)"
      error: "<red>Fehler beim Neuladen <gray>von S-Economy! Überprüfe die Konsole für Details."
  balance:
    usage: "<gray>Bitte nutze <red>/balance <Spieler><gray>!"
    self: "<gray>Dein Kontostand beträgt <yellow>%balance%<gray>!"
    other: "<gray>Der Kontostand von <white>%player% <gray>beträgt <yellow>%balance%<gray>!"
  economy:
    usage: "<gray>Bitte nutze <red>/economy <give/take/set/reset/check> <Spieler> <?Betrag><gray>!"
    noAmount: "<gray>Der angegebene Betrag ist <red>ungültig<gray>!"
    give:
      usage: "<gray>Bitte nutze <red>/economy give <Spieler> <Betrag><gray>!"
      success: "<gray>Du hast <white>%player% <yellow>%balance%<gray> gegeben!"
    take:
      usage: "<gray>Bitte nutze <red>/economy take <Spieler> <Betrag><gray>!"
      success: "<gray>Du hast <white>%player% <yellow>%balance%<gray> abgezogen!"
    set:
      usage: "<gray>Bitte nutze <red>/economy set <Spieler> <Betrag><gray>!"
      success: "<gray>Du hast den Kontostand von <white>%player% <gray>auf <yellow>%balance%<gray> gesetzt!"
    reset:
      usage: "<gray>Bitte nutze <red>/economy reset <Spieler><gray>!"
      success: "<gray>Du hast den Kontostand von <white>%player%<gray> zurückgesetzt!"
    check:
      usage: "<gray>Bitte nutze <red>/economy check <Spieler><gray>!"
      success: "<gray>Der Kontostand von <white>%player% <gray>beträgt <yellow>%balance%<gray>!"
  pay:
    usage: "<gray>Bitte nutze <red>/pay <Spieler/*> <Betrag><gray>!"
    noAmount: "<gray>Der angegebene Betrag ist <red>ungültig<gray>!"
    notEnoughMoney: "<gray>Du hast <red>nicht genügend Geld<gray>!"
    selfPay: "<gray>Du kannst <red>dir selbst kein Geld geben<gray>!"
    success:
      player: "<gray>Du hast <white>%player% <yellow>%balance%<gray> gegeben!"
      target: "<gray>Du hast <yellow>%balance%<gray> von <white>%player%<gray> erhalten!"
      all: "<gray>Du hast <white>allen Spielern <yellow>%balance%<gray> gegeben!"

S-Economy - хороший выбор, если не хочется заморачиваться с тяжеловесными плагинами. Быстро настраивается, легко кастомизируется, а благодаря Vault работает с любыми другими плагинами, которые используют его API. Скачайте S-Economy и добавьте экономику на свой сервер Minecraft.

Часто задаваемые вопросы

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

Minecraft: Java Edition

26.2.x26.1.x1.21.x

Платформы

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

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:1 год назад
Обновлён:2 месяца назад
Главная