SimpleSpawnCommand

Для ядра SimpleSpawnCommand 1.0.2

Нет прав для скачивания
Поддерживаемые версии
  1. 1.12
  2. 1.13
  3. 1.14
  4. 1.15
  5. 1.16
  6. 1.17
  7. 1.18
  8. 1.19
  9. 1.20
Ядра и Прокси
  1. Spigot
  2. Paper
Описание: Устанавливайте точку спавна без лишних хлопот
Команды:
  • /spawn (Вы можете изменить название команды в config.yml)

Плагин имеет только один конфигурационный файл:
YAML:
#############################
#     SimpleSpawnCommand    #
#     Made by GameDoctor    #
#           2024            #
#############################

settings:
  # The right to teleport. Set to "-" if the right is not required
  permission: "-"
  # The right to teleport other players to spawn using the command /spawn <nickname>. Set to "-" if the right is not required
  permTeleportOther: "spawn.admin"
  # The right to change the spawn point using the /spawn set command. Set to "-" if the right is not required
  permSetSpawn: "spawn.admin"
  # The location is spawned. It is possible manually, it is possible by the command /spawn set
  location:
    world: "world"
    x: 1
    y: 1
    z: 1
    yaw: 1
    pitch: 1
  # If true, the player will be teleported to spawn every time he enters
  teleportOnJoin: false
  # If true, the player will be teleported to spawn at the first login to the server
  teleportOnFirstJoin: true

command: # Command Settings
  # Whether to register a command
  register: true
  # The name of the main command
  name: "spawn"
  # Alternatives to this command. You can remove it
  aliases:
    - "tospawn"

messages:
  teleported:
    chat:
      enable: true
      lines:
        - "&aYou were teleported to spawn"
    title:
      enable: true
      line1: "&7Welcome to spawn,"
      line2: "&c%player%"
      fadeIn: 20 # 1 sec
      stay: 60 # 3 sec
      fadeOut: 20 # 1 sec
    actionBar:
      enable: false
      message: "&7Welcome to spawn, &c%player%"
    sound: # Take the names of the sounds from the site https://www.spigotmc.org/wiki/cc-sounds-list
      enable: false
      name: "ENTITY_PLAYER_LEVELUP"
  cmdNoPerm:
    chat:
      enable: true
      lines:
        - "&cYou don't have enough rights"
    sound:
      enable: false
      name: "ENTITY_ITEM_BREAK"
  spawnSet:
    chat:
      enable: true
      lines:
        - "&aYou have successfully set a new spawn point"
  teleportOther:
    chat:
      enable: true
      lines:
        - "&aYou have successfully teleported the %target% player to spawn"
  teleportOtherNotFound:
    chat:
      enable: true
      lines:
        - "&cPlayer %target% not found"
YAML:
#############################
#     SimpleSpawnCommand    #
#     Made by GameDoctor    #
#           2024            #
#############################

settings:
  # Право на телепортирование. Установите на "-", если право не требуется
  permission: "-"
  # Право телепортировать других игроков на спавн с помощью команды /spawn <ник>. Установите на "-", если право не требуется
  permTeleportOther: "spawn.admin"
  # Право на изменение точки спавна с помощью команды /spawn set. Установите на "-", если право не требуется
  permSetSpawn: "spawn.admin"
  # Локация спавна. Можно вручную, можно по команде /spawn set
  location:
    world: "world"
    x: 1
    y: 1
    z: 1
    yaw: 1
    pitch: 1
  # Если true - При входе игрок будет каждый раз телепортирован на спавн
  teleportOnJoin: false
  # Если true - Игрок будет телепортирован на спавн при первом входе на сервер
  teleportOnFirstJoin: true

command: # Настройки команды
  # Регистрировать ли команду
  register: true
  # Название главной команды
  name: "spawn"
  # Альтернативы этой команде. Можно убрать
  aliases:
    - "tospawn"

messages:
  teleported:
    chat:
      enable: true
      lines:
        - "&aВы были телепортированы на спавн"
    title:
      enable: true
      line1: "&7Добро пожаловать на спавн,"
      line2: "&c%player%"
      fadeIn: 20 # 1 sec
      stay: 60 # 3 sec
      fadeOut: 20 # 1 sec
    actionBar:
      enable: false
      message: "&7Добро пожаловать на спавн, &c%player%"
    sound: # Берите названия звуков с сайта https://www.spigotmc.org/wiki/cc-sounds-list
      enable: false
      name: "ENTITY_PLAYER_LEVELUP"
  cmdNoPerm:
    chat:
      enable: true
      lines:
        - "&cУ вас недостаточно прав"
    sound:
      enable: false
      name: "ENTITY_ITEM_BREAK"
  spawnSet:
    chat:
      enable: true
      lines:
        - "&aВы успешно установили новую точку спавна"
  teleportOther:
    chat:
      enable: true
      lines:
        - "&aВы успешно телепортировали игрока %target% на спавн"
  teleportOtherNotFound:
    chat:
      enable: true
      lines:
        - "&cИгрок %target% не найден"

Демонстрация:
D0A1D0BAD180D0B8D0BDD188D0BED182-08-03-20242021_51_10.jpg
The HEX color format in the plugin is similar to the one used in the infamous Essentials plugin. For the convenience of generating HEX text gradients, there is a website https://spigot.kosfarix.ru/hex

But keep in mind that variables (%player%, %color%, and so on) cannot be converted to this format.
Формат HEX цветов в плагине похож на тот, что используется в небезызвестном плагине Essentials. Для удобства генерации HEX градиентов текста существует сайт https://spigot.kosfarix.ru/hex

Но имейте в виду, что переменные (%player%, %color% и так далее) нельзя переводить в этот формат.


Пожертвование: Если вам понравился мой плагин, вы можете поддержать меня, пожертвовав некоторую сумму сюда: КЛИК

Примечание: Если вы хотите, чтобы в плагин был добавлен дополнительный функционал, просто напишите об этом в обсуждении

Обратите внимание: Стандартная конфигурация плагина на Английском языке, так как изначально предназначалась для иностранного форума

Установка:
Скачайте, поместите его в папку plugins и перезагрузите свой сервер
Команды и права
  • /spawn (Вы можете изменить название команды в config.yml)
Автор
GameDoctor
Скачивания
9
Просмотры
699
Первый выпуск
Обновление
Оценка
0.00 звёзд 0 оценок

Другие ресурсы пользователя GameDoctor

Поделиться ресурсом

Последние обновления

  1. Метрика

    Обновление системы сбора данных
Назад
Сверху Снизу