Плагин Информационный JPlayerAnnounce [1.0]

JPlayerAnnounce
Краткое описание:
Simple plugin for player announcements: broadcast, buy/sale
1
38
  • Теги
    jfb
  • Для версий
    1. 1.16.✘
    2. 1.17.✘
    3. 1.18.✘
    4. 1.19.✘
    5. 1.20.✘
    6. 1.21.✘
    Java
    1. Java 16
    2. Java 17
    3. Java 21
    Исходный код
    https://github.com/jFrostyBoy/JPlayerAnnounce

    📢 JPlayerAnnounce​

    Simple plugin for player announcements: broadcast, buy/sale
    Customize sound, text and cooldowns for each announcement commands


    📝 Requirements​

    • Server core: Paper
    • Version: 1.16.5 - 1.21.10
    • Java: 16-21

    📜 Commands​

    • /broadcast [message] | /bc [message]
      • Description: Send a broadcast message to all players
      • Permission: jplayerannounce.broadcast
    • /buy [message]
      • Description: Send a buy announcement
      • Permission: jlivestream.buy
    • /sale [message]
      • Description: Send a sale announcement
      • Permission: jlivestream.sale
    • /jpareload
      • Description: Reload the plugin configuration
      • Permission: jplayerannoune.reload

    ⚙ Configuration​

    Full customization and operation of the plugin is configured in the configuration file (config.yml).

    config.yml:
    #    ░░░░░██╗██████╗░██╗░░░░░░█████╗░██╗░░░██╗███████╗██████╗░░█████╗░███╗░░██╗███╗░░██╗░█████╗░██╗░░░██╗███╗░░██╗███████╗
    #    ░░░░░██║██╔══██╗██║░░░░░██╔══██╗╚██╗░██╔╝██╔════╝██╔══██╗██╔══██╗████╗░██║████╗░██║██╔══██╗██║░░░██║████╗░██║██╔════╝
    #    ░░░░░██║██████╔╝██║░░░░░███████║░╚████╔╝░█████╗░░██████╔╝███████║██╔██╗██║██╔██╗██║██║░░██║██║░░░██║██╔██╗██║█████╗░░
    #    ██╗░░██║██╔═══╝░██║░░░░░██╔══██║░░╚██╔╝░░██╔══╝░░██╔══██╗██╔══██║██║╚████║██║╚████║██║░░██║██║░░░██║██║╚████║██╔══╝░░
    #    ╚█████╔╝██║░░░░░███████╗██║░░██║░░░██║░░░███████╗██║░░██║██║░░██║██║░╚███║██║░╚███║╚█████╔╝╚██████╔╝██║░╚███║███████╗
    #    ░╚════╝░╚═╝░░░░░╚══════╝╚═╝░░╚═╝░░░╚═╝░░░╚══════╝╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚══╝╚═╝░░╚══╝░╚════╝░░╚═════╝░╚═╝░░╚══╝╚══════╝
    
    # Prefix for all messages
    # Change or leave empty to disable the prefix
    prefix: "&b[JPA] "
    
    broadcast:
      # Usage message for the broadcast command
      usage: "&fUsage: &c/broadcast <message> &for &c/bc <message>"
      # Cooldown time in seconds
      cooldown: 300
      # Message displayed when a player is on cooldown
      cooldown-message: "&cYou must wait %cooldown% seconds before using this command again."
      # Sound to play when a broadcast is made
      sound:
        name: "ENTITY_PLAYER_LEVELUP"
        volume: 1.0
        pitch: 2.0
      # Message format for broadcasts
      format:
        - " "
        - "  &b[Broadcast] &fby &b%player%"
        - "  &fHe said: &b%message%"
        - " "
    buy:
      # Usage message for the buy command
      usage: "&fUsage: &c/buy <message>"
      # Cooldown time in seconds
      cooldown: 180
      # Message displayed when a player is on cooldown
      cooldown-message: "&cYou must wait %cooldown% seconds before using this command again."
      # Sound to play when a buy announcement is made
      sound:
        name: "ENTITY_VILLAGER_YES"
        volume: 1.0
        pitch: 1.0
      # Message format for buy announcements
      format:
          - " "
          - "  &a[Buy Announcement] &fby &a%player%"
          - "  &fHe said: &a%message%"
          - " "
    
    sale:
      # Usage message for the sale command
      usage: "&fUsage: &c/sale <message>"
      # Cooldown time in seconds
      cooldown: 60
      # Message displayed when a player is on cooldown
      cooldown-message: "&cYou must wait %cooldown% seconds before using this command again."
      # Sound to play when a sale announcement is made
      sound:
        name: "BLOCK_ANVIL_PLACE"
        volume: 1.0
        pitch: 2.0
      # Message format for sale announcements
      format:
        - " "
        - "  &e[Sale Announcement] &fby &e%player%"
        - "  &fHe said: &e%message%"
        - " "
    
    # The basic messages for the plugin
    messages:
      only-players: "&cThis command can only be executed by players."
      no-permission: "&cYou do not have permission to execute this command."
      reload: "&aConfiguration reloaded successfully."
    • 511819118-85b398ac-3fe7-424d-a625-35fa5b9f1a25.png
      511819118-85b398ac-3fe7-424d-a625-35fa5b9f1a25.png
      446,2 КБ · Просмотры: 8

    Автор

    jFrostyBoy

    Еще ресурсы от jFrostyBoy

    JLiveStream | Stream notification
    JLiveStream | Stream notification
    Первый самописный плагин
    BKLSymbolTitles | Символьные донат-титулы в DeluxeMenus
    BKLSymbolTitles | Символьные донат-титулы в DeluxeMenus
    Предназначалось для титульных кейсов
    BKLReferralSystem | Реферальная система в DeluxeMenus
    BKLReferralSystem | Реферальная система в DeluxeMenus
    Реферальная система с наградами/топами/обменником
    SLuckPermsAddon
    SLuckPermsAddon
    Групповое редактирование прав игроков
    BKLPlayerInteract | Меню управления игроком
    BKLPlayerInteract | Меню управления игроком
    Лайтовенький конфиг-шаблон
    BKLTranslations | EcoEnchants [v12.25.0]
    BKLTranslations | EcoEnchants [v12.25.0]
    Перевод плагинов с помощью AI
    BKLTranslations | ccShop [1.4.3]
    BKLTranslations | ccShop [1.4.3]
    Перевод плагинов с помощью AI
    BKLTabModel | Tablist + Scoreboard
    BKLTabModel | Tablist + Scoreboard
    Простенький макет готового оформления TAB
    BKLResourcePack | Социальные сети
    BKLResourcePack | Социальные сети
    Иконки для вашего сервера
    BKLTranslations | EpicEnchants [3.5.1]
    BKLTranslations | EpicEnchants [3.5.1]
    Перевод плагинов с помощью AI
    LiDropRadius | Радиус дропа после смерти
    LiDropRadius | Радиус дропа после смерти
    Вайбкодер накодил с помощью AI
    BKLTranslations | DeluxeMobCoins [1.12]
    BKLTranslations | DeluxeMobCoins [1.12]
    Перевод плагинов с помощью AI
    ВерхНиз