SimpleGlobalChat 图标

SimpleGlobalChat

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.5
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simpleglobalchat
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: folia paper purpur spigot

标签: management social utility

资源介绍

SimpleGlobalChat

GitHub | Future Links will be placed here

This plugin is NOT associated with SimpleVoiceChat

Plugin for Minecraft Spigot/Paper/Purpur/Folia that enables customizable global/local/private/admin chats, ignore/unignore and spy functions

All images in Gallery were taken from the same server

Main used language in plugin is ru, but you can change it to eng in configuration file

To change content of showed messages check out lang directory and ru or eng yml files

I wrote this plugin according to my needs and added the most useful features in my opinion. If you think that plugin needs some features feel free to suggest!

Features

Help command Use it to see all available commands Command: /chathelp Global chat Messages that start with "!" before message will be sent to all online players, for instance: "!Hello World" Local chat Other messages will be sent to players in radius of n blocks (basic quantity is 50) from sender Private messages Command: /msg Aliases: [m, tell, w, т, м, message, ц, write] Reply Reply to last player with whom private messages were sent Command: /r Aliases: [reply, р, к, куздн] Ignore/Unignore Players can ignore private messages from specific player Command:/ignore Aliases: [ign, шптщку, игнор] Command: /unignore Aliases: [unign, гтшптщку, неигнор] Spy mode Players with permissions can see other players private messages Command: /spy Admin chat It is switchable and only players with simpleglobalchatplugin.adminchat permission can see messages in this mode if enabled Command:/adm-chat Appeal Reqular players can send messages that only admins (players with simpleglobalchatplugin.adminchat permission can see) Command:/appeal Aliases: [фззуфд, обращение] Custom Join/Quit/Death messages Configurable (Read Configuration section bellow) Hex colors support This plugin supports not only minecraft color code §0-f (&0-f too) But hex colors too! (For example: cdaf7)

Configuration

Turn off if you will not use placeholderapi

use-placeholderapi: true

You can change it to eng

language: "ru"

You can turn off or slightly change this settings

events:
  custom-join:
    toggle: true
    message: "§2[+] §f{player} присоединился к серверу"
  custom-quit:
    toggle: true
    message: "§c[-] §f{player} покинул сервер"
  custom-death:
    toggle: true
    message: "§8{death_message}"

Config of chats, you can turn them on/off, and change what will be shown in the messages in different chats

chat:
  global:
    toggle: true
    prefix: "[G]"
    name-color: "§f"
    message-color: "§f"
    placeholder-prefix: "%luckperms_prefix%" #Можно оставить пустым/You can leave it clear
    placeholder-suffix: "%luckperms_suffix%"
    world-prefix:
      enabled: true
      format: "§8[{world}] "  # world — будет заменён на имя мира
    msgformat: "{world-color}{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"

  local:
    toggle: true
    radius: 50
    prefix: "[L]"
    name-color: "§f"
    message-color: "§7"
    placeholder-prefix: "%luckperms_prefix%"
    world-prefix:
      enabled: true
      format: "§8[{world}] "
    msgformat: "§7{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"

  admin:
    toggle: true
    prefix: "[A-Chat]"
    name-color: "§f"
    message-color: "§f"
    placeholder-prefix: "%luckperms_prefix%"
    world-prefix:
      enabled: false
      format: "§8[{world}] "
    msgformat: "§d{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"

  appeal:
    toggle: true
    prefix: "[&#f75eabAPPEAL§8]"
    name-color: "§f"
    message-color: "§f"
    placeholder-prefix: "%luckperms_prefix%"
    world-prefix:
      enabled: false
      format: "§8[{world}] "
    msgformat: "§8{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"


  spy:
    toggle: true
    prefix: "[SPY] [✉]"
    name-color: "§b"
    message-color: "§7"
    receiver-prefix: ""
    receiver-color: "§e"
    placeholder-prefix: "%luckperms_prefix%"
    world-prefix:
      enabled: true
      format: "§8[{world}] "
    msgformat: "§1{prefix} §r{placeholder-prefix}{name-color}{player} §b→ §r{receiver-prefix}{receiver-color}{receiver} §b>> {message-color}{message}"

  private:
    toggle: true
    prefix: "[✉]"
    name-color: "&#7cdaf7"
    receiver-prefix: "%luckperms_prefix%"
    receiver-color: "&#f2e77e"
    message-color: "§f"
    placeholder-prefix: "%luckperms_prefix%"
    world-prefix:
      enabled: false
      format: "§8[{world}] "
    msgformat: "§3{prefix} §r{placeholder-prefix}{name-color}{sender} §b→ §r{receiver-prefix}{receiver-color}{receiver} §b>> {message-color}{message}"

Lang directory
As example eng.yml
Messages that will be shown when using commands

Chat:
  General:
    NotPlayer: "§cOnly players can use this command."
    NoRights: "§cYou do not have permission to use this command."
    PlayerOffline: "§cThe player is offline or you entered an invalid nickname."
    EmptyCommand: "&cPlease provide arguments."

  Private:
    Self: "§cYou can't send private messages to yourself."
    NoReply: "§cThere is no player to reply to."
    Ignoring: "The player is ignoring you. Message not sent."
    SpyMode:
      Enabled: "Spy mode enabled."
      Disabled: "Spy mode disabled."

  Admchat:
    Toggle:
      Enabled: "§6Admin chat mode enabled."
      Disabled: "§6Admin chat mode disabled."

  Appeal:
    NotPlayer: "§cOnly players can use this command."
    Sent: "Your appeal has been sent to the administrators."

  Ignore:
    Self: "§cYou can't ignore yourself."
    Success: "§eYou are now ignoring %player%."
    Unignored: "&6You are no longer ignoring %player%."

  Main:
    Help:
      Title: "Available commands (§e%current%§7/§e%total%§7):"
      InvalidPage: "&cInvalid page: &f%page%"
      PreviousPage: "◀ Prev |"
      NextPage: "Next ▶"
      PageIndicator: "Page %current% of %total%"
      Reloaded: "&aConfiguration reloaded."
      UnknownCommand: "&cUnknown subcommand. Use &e/sgc help&c."

Messages that will be shown when chathelp command is used

commands:
  msg:
    usage: "/msg <player> <message>"
    description: "Send a private message"
  r:
    usage: "/r <message>"
    description: "Reply to the last private message"
  appeal:
    usage: "/appeal <message>"
    description: "Send a message to the admin chat"
  ignore:
    usage: "/ignore <player>"
    description: "Ignore a player"
  unignore:
    usage: "/unignore <player>"
    description: "Stop ignoring a player"
  spy:
    usage: "/spy"
    description: "Toggle spy mode"
  adm-chat:
    usage: "/adm-chat"
    description: "Toggle admin chat mode"
  reload:
    usage: "/sgc reload"
    description: "Reload plugin config"

Bonds with other plugins

You can use channels "global", "admin", "appeal" in DiscordSRV configuration to send messages to different discord channels!

If player have LuckPerms prefix and PlaceholderAPI is installed on server, it can be showed in chat

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Pixelmon: Game Machine Starters

价格:0 墨喵币
下载量:0

查看详情
Burning Block

价格:0 墨喵币
下载量:0

查看详情
CraftingTakesTime

价格:0 墨喵币
下载量:0

查看详情
Easy Vanilla Youtuber

价格:0 墨喵币
下载量:0

查看详情