JoinServerCD

插件

· 作者 VorderTeams

这是一个“欢迎界面”:当玩家加入服务器时,他们会看到屏幕中央有一个吸引人的渐变色彩标题,显示为“Minecraft Server”,其下方会显示文本“Welcome, [player's username]”。

0 本站下载 0 关注 更新于 1 个月前

最新 1.9 · 26.3 · Bukkit / Paper

一键开服(送7天)

EN

RU

EN

EN: In simple terms, here is what it does:

This is a "welcome screen": as soon as the player enters the server, he sees in the center of the screen a beautiful title with a gradient - "Minecraft server" - and under it "Welcome [his nickname]." Nick is his own, the playholder %player_name%is automatically set. The configuration also has an ActionBar - which is disabled by default and is enabled with a single truestring.

EN: What it consists of:

Server login (JoinListener) - catches the login event and shows the Title/Subtitle in the player’s client language: to the Russian client - the Russian greeting, English - English (lang/ru.yml and lang/en.yml files). Commands for admins (/jscd): reload - reread a configuration without restarting, test - show to yourself (or any player) exactly the greeting that incoming help see. For regular players, everything is forbidden (AD.JoinSever rights). Text Beauty (ColorUtil + GradientUtil) - gradients gradient:#00BFFF:#8A2BE2text</gradient>, hex colors, classic &-codes. In older versions of Minecraft (1.12.2-1.15), where hex does not exist, colors are automatically adjusted to the nearest - nothing breaks. Compatibility (TitleUtil) - Works on Spigot/Paper from version 1.12.2 to last, all risky calls are wrapped in try/catch so the console doesn’t get errors.

/jscd reload — Reload the configuration /jscd test [player|me] — Show the join greeting (as a joining player sees it) /jscd help — Show this help

AD.JoinSever full access to all teams joinservercd.admin Admin joinservercd.reload only reload joinservercd.* all at once

EN

RUS

RUS: Что он делает простыми словами

Это «встречалка»: как только игрок заходит на сервер, он видит по центру экрана красивый заголовок с градиентом — «Майнкрафт сервер», а под ним «Добро пожаловать [его ник]». Ник — его собственный, плейсхолдер %player_name% подставляется автоматически. В конфиге также есть строка над инвентарем (ActionBar) — по умолчанию выключена, включается одной строчкой true.

RUS: Из чего состоит

Вход на сервер (JoinListener) — ловит событие входа и показывает Title/Subtitle на языке клиента игрока: русскому клиенту — русское приветствие, английскому — английское (файлы lang/ru.yml и lang/en.yml). Команды для админов (/jscd): reload — перечитать конфиг без перезапуска, test — показать себе (или любому игроку) ровно то приветствие, которое видят заходящие, help — справка. Обычным игрокам всё запрещено (права AD.JoinSever). Красота текста (ColorUtil + GradientUtil) — градиенты gradient:#00BFFF:#8A2BE2текст</gradient>, hex-цвета, классические &-коды. На старых версиях Minecraft (1.12.2–1.15), где hex не существует, цвета автоматически подбираются к ближайшим — ничего не ломается. Совместимость (TitleUtil) — через рефлексию работает на Spigot/Paper с 1.12.2 до последних версий, все рискованные вызовы обёрнуты в try/catch, чтобы в консоль не сыпались ошибки.

/jscd reload — Перезагрузить конфигурацию /jscd test [игрок|себе] — Показать приветствие при входе (как его видит игрок) /jscd help — Показать эту справку

AD.JoinSever полный доступ ко всем командам joinservercd.admin' joinservercd.reload reload only joinservercd.* все права/разрешение

RU

Config
# ==========================================================
#  JoinServerCD by Vorder Teams
# ==========================================================
#
#  Main plugin configuration.
#  Основная конфигурация плагина.
#
#  All feature texts live in separate language files:
#  Все тексты вынесены в отдельные языковые файлы:
#    lang/ru.yml — Russian / русский
#    lang/en.yml — English / английский
#  The file is chosen automatically by the player's client
#  language (ru_ru → ru.yml, en_us / en_gb → en.yml).
#  Файл выбирается автоматически по языку клиента игрока
#  (ru_ru → ru.yml, en_us / en_gb → en.yml).
#
#  If a feature is disabled (use-*: false), it still ships with
#  ready-to-use text in the lang files — just set false to true.
#  Если функция отключена (use-*: false), её текст всё равно
#  готов в языковых файлах — достаточно поменять false на true.
#
#  Supported in texts / Поддерживается в текстах:
#    &-codes:     &a &b &c &l &o &r ...      / &-коды
#    Hex colors:  &#RRGGBB or <#RRGGBB>      / hex-цвета
#    Gradients:   <gradient:#FF0000:#00FF00>text</gradient>  / градиенты
#    (below 1.16 hex auto-falls back to the nearest &-color)
#    (ниже 1.16 hex автоматически заменяется ближайшим &-цветом)
#
#  Placeholders / Плейсхолдеры:
#    %player_name%        — player name / ник игрока
#    %player_displayname% — display name / отображаемое имя
#    %online%             — online players / игроков онлайн
#    %max_online%         — max slots / максимум слотов

# ----------------------------------------------------------
#  Settings / Настройки
# ----------------------------------------------------------
settings:
  # Language / Язык:
  #   "auto" — by the player's client language
  #            (по языку клиента игрока),
  #   "ru"   — force Russian for everyone (фиксированно русский),
  #   "en"   — force English for everyone (фиксированно английский).
  language: auto

  use-title: true
  use-subtitle: true
  use-actionbar: false          # Off by default / По умолчанию выключено

  # Title timings in ticks (20 ticks = 1 second)
  # Тайминги Title в тиках (20 тиков = 1 секунда)
  title-fade-in: 10
  title-stay: 60
  title-fade-out: 10

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源