Перейти к содержимому
Mineforgian

SomeNotify

SomeNotify is a Velocity plugin for sending message to all players connected through the proxy.

Загрузки
56
Подписчики
1
Обновлён
23 февраля 2026 г.
Лицензия
MIT

Опубликован 23 февраля 2026 г.

SomeNotify

SomeNotify is a Velocity plugin for sending one message to all players connected through the proxy.

Features

  • Command /notify <message>
  • Command /notify reload to reload config.yml
  • Broadcast to all online players on all backend servers
  • Configurable message format with MiniMessage
  • Configurable sender display mode: player, custom, console
  • Built-in language support: ru, en

Installation

  1. Download the jar.
  2. Put SomeNotify-1.0.0.jar into your Velocity plugins folder.
  3. Start Velocity once to generate config.
  4. Edit plugins/SomeNotify/config.yml.
  5. Restart Velocity.

Permission

  • somenotify.notify allows using /notify.
  • somenotify.reload allows using /notify reload.

Config (config.yml)

language: "ru"
permission: "somenotify.notify"
reload-permission: "somenotify.reload"

message-format: |
  <gray>[<gold>Notify</gold>]</gray>
  <yellow>{sender}</yellow><gray>:</gray>
  <white>{message}</white>

sender-mode: "player"
custom-sender-name: "Administration"
console-name: "Console"

messages:
  ru:
    usage: "<red>Use /notify <message> or /notify reload</red>"
    no-permission: "<red>No permission.</red>"
    empty-message: "<red>Message cannot be empty.</red>"
    sent: "<green>Message sent ({online} players).</green>"
    reload-success: "<green>Config reloaded successfully.</green>"
    reload-failed: "<red>Config reload failed. Check console.</red>"

  en:
    usage: "<red>Usage: /notify <message> or /notify reload</red>"
    no-permission: "<red>You do not have permission to use this command.</red>"
    empty-message: "<red>Message cannot be empty.</red>"
    sent: "<green>Message sent ({online} players).</green>"
    reload-success: "<green>Config reloaded successfully.</green>"
    reload-failed: "<red>Config reload failed. Check console.</red>"

You can replace texts in messages.ru with any Russian strings you want.

Placeholders

  • {sender} resolved sender name based on sender-mode
  • {message} message from command arguments
  • {online} number of players who received the message

Notes

  • message-format supports MiniMessage tags.
  • language accepts ru or en. Any other value falls back to ru.

Ченджлог

1.0.1Релиз1.21.9, 1.21.10, 1.21.11 · 23 февраля 2026 г.

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project follows Semantic Versioning.

[Unreleased]

Added

  • Added message-template-mode config option to explicitly choose template source:
    • format, lines, auto.

Changed

  • Updated docs and default config to describe explicit template mode selection.

[1.0.1] - 2026-02-23

Added

  • Added /notify reload command to reload config.yml without proxy restart.
  • Added separate reload permission: somenotify.reload (reload-permission in config).
  • Added language selection in config: ru and en.
  • Added localized messages for both languages, including reload result messages.
  • Added flexible message templates:
    • message-format (single/multiline string)
    • message-lines (list of lines, prioritized when non-empty)
  • Added {player} placeholder alias (same value as {sender}).
  • Added README.md with build/install/config documentation.

Changed

  • Improved config loading with safe fallback to built-in defaults on error.
  • Updated default config.yml with new options and examples.
1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 23 февраля 2026 г.

[1.0.0] - 2026-02-23

Added

  • Initial Velocity plugin setup (SomeNotify).
  • Added /notify <message> broadcast command for all online players behind Velocity.
  • Added configurable sender display mode (player, custom, console).
  • Added configurable permission and message texts in config.yml.

Комментарии

Загружаем…