Magnata - MithCraft Plugins icon

Magnata - MithCraft Plugins -----

A a tycoon system (Player with more money on the server) with configurable rewards and messages.



[​IMG]
The ultimate plugin for saving on Minecraft servers, automatically identifying the richest player and offering a complete system of rewards and recognition.​

✨ Features
  • Automatic identification of the richest player (magnate)
  • Fully configurable reward system
  • Full history with paging
  • 100% customizable messages via messages.yml
  • Native integrations with Vault, LuckPerms and PlaceholderAPI
  • 15+ placeholders for use in other plugins
  • Optimized for Purpur 1.21+ servers

⚙️ Dependencies

Commands
  • /magnata - Show the current magnate
  • /magnata history <página> - Show historical
  • /magnata reload - Reload settings
  • /magnata help - Show Help menu

Permissions
  • magnata.command - Base command access
  • magnata.history - See history
  • magnata.reload - Reload plugin
  • magnata.notify - Receive notifications
  • magnata.help - See help
  • magnata.admin - Full access

Placeholders
Code (Text):
Placeholder          Description
%magnata_name%       Current magnate name
%magnata_uuid%       UUID of the current magnate
%magnata_balance%    Formatted magnate fortune
%magnata_date%       Date that became a magnate
%magnata_count%      Total players in history
 
Link to see all available placeholders.



Code (YAML):
# Main settings of the Magnate plugin
settings
:
  # Sistema de verificação automática
  check_interval
: 300   # Intervalo em segundos para verificar novo magnata (padrão: 5 minutos)
  max_history_size
: 10   # Quantidade máxima de registros no histórico
  debug
: false   # Habilita logs detalhados para desenvolvimento
  help_command
:
    show_permission_restricted
: true   # Se true, só mostra comandos que o jogador tem permissão

  # Paginação do histórico
  pagination
:
    entries_per_page
: 5   # Itens por página
    max_pages
: 5   # Número máximo de páginas disponíveis

# Sistema de recompensas
rewards
:
  # Comandos executados quando um jogador se torna magnata
  on_become
:
   - "eco give %player% 100"   # Concede $100
    - "lp user %player% parent add magnata"   # Adiciona grupo magnata
    - "lp user %magnata_previous_player% parent remove magnata"   # Remove do magnata anterior
 
  # Recompensas periódicas enquanto permanece magnata
  periodic
:
    interval
: 60   # Intervalo em minutos
    commands
:
    # - "eco give %player% 500"  # Concede $500 periodicamente
    # - "effect give %player% strength 30 1"  # Efeito de força

# Configurações de integração
integrations
:
  placeholder_api
: true   # Habilita integração com PlaceholderAPI
  luckperms
: true   # Habilita integração com LuckPerms
  vault
: true   # Habilita integração com Vault/Economy

# Configurações de comandos (Em fase de testes. Recomendo não alterar)
commands
:
  main
: magnata   # Comando principal
  aliases
: [ ]   # Aliases do comando principal (ex: [mg, rico])
 
  # Configurações de subcomandos (Apenas documentação, no momento não editável)
  sub_commands
:
    help
:
      aliases
: [ajuda, ? ]   # Aliases para /magnata help
    history
:
      aliases
: [hist, list, ]   # Aliases para /magnata history
    reload
:
      aliases
: [ ]   # Aliases para /magnata reload

Code (YAML):
# Configurações gerais
settings
:
  use_prefix
: true

formats
:
  prefix
: "&8[&aMagnata&8]&7 "
  date
: "dd/MM/yyyy HH:mm"
  currency
: "$%.2f"

commands
:
  magnata
:
    current
:
      empty
: "{prefix}&7Atualmente não há um magnata definido."
      header
: "{prefix}&8&m-----------&a Magnata Atual &8&m-----------"
      content
:
        - "{prefix}&fJogador
: &a{player}"
        - "{prefix}&fFortuna
: &a{balance}"
        - "{prefix}&fDesde
: &a{date}"
      footer
: "{prefix}&8&m-----------------------------------"
 
    history
:
      header
: "{prefix}&8&m--------&a Histórico (Página {page}/{total}) &8&m--------"
      entry
: "{prefix}&8#{position} &a{player} &7- &f{balance} &8(&7{date}&8)"
      footer
: "{prefix}&8&m------------------------------------"
      empty
: "{prefix}&eNenhum registro histórico encontrado."
 
    reload
:
      success
: "{prefix}&aConfigurações recarregadas com sucesso!"
      failure
: "{prefix}&cFalha ao recarregar. Verifique os logs."

notifications
:
  new_magnata
:
   - ""
    - "{prefix}&a&lNOVO MAGNATA!"
    - "{prefix}&fParabéns a &a{player} &8(&a{balance}&8)"
    - "{prefix}&fAnterior
: &7{previous_player} &8 (&7 {previous_balance }&8 ) "
    - "
"
  no_previous_magnata: "
{prefix }&7 (Nenhum magnata anterior ) "

errors:
  no_permission: "
{prefix }&cVocê não tem permissão para isso! "
  player_not_found: "
{prefix }&cJogador não encontrado! "
  economy_error: "
{prefix }&cSistema econômico indisponível "
  data_error: "
{prefix }&cErro ao processar dados "
  invalid_command: "
{prefix }&cComando inválido. Use &a/magnata help &cpara ajuda. "
  command_failed: "
{prefix }&cFalha ao executar comando. "

help:
  header: "
{prefix }&8&m ---------------&a Ajuda &8&m --------------- "
  content:
    - "
{prefix }&a/magnata &8- &7Mostra o magnata atual "
    - "
{prefix }&a/magnata history &8- &7Histórico de magnatas "
    - "
{prefix }&a/magnata reload &8- &7Recarrega o plugin "
    - "
{prefix }&a/magnata help &8- &7Mostra esta ajuda "
  footer: "
{prefix }&8&m ------------------------------------- "
  empty: "
{prefix }&cNenhum comando de ajuda disponível. "

ranking:
  position_empty: "
{prefix }&7Posição {position } : &cVazia"
  top_line_format
: "{prefix}&8{position}. &a{player} &8- &a{balance}"

[​IMG]

[​IMG]

[​IMG]

[​IMG]
Resource Information
Author:
----------
Total Downloads: 72
First Release: Jul 2, 2025
Last Update: Jul 2, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings