必须依赖插件
资源详细介绍
可选依赖

关于 IQChat
IQChat 是一款全面的系统,可用于管理服务器上的聊天功能。
这个插件自 2019 年以来就一直表现出色,至今仍是一种独特的聊天系统插件。
其功能丰富且设计精美,拥有大量的插件支持,这些插件能够与之无缝协作!
新功能!支持渐变效果:
现在可以在各种元素中使用渐变效果:前缀颜色、昵称颜色、消息颜色,以及额外的标签颜色(如 Clans/XLevel/XPrison 等插件所提供的功能)。
可以设置禁言 黑名单词 自动发言 (全服通知)
如何在配置中使用渐变效果?
让我们来看一个为昵称设置颜色的例子:
"List and customization of colors for a nickname": [ { "Permission": "iqchat.default", "Argument": "#FF0000, #FF3300, #FF6600, #FF9900, #FFCC00, #FFFF00, #CCFF00, #99FF00, #66FF00, #33FF00", "Block the player's ability to select this parameter in the plugin menu (true - yes/false - no)": false }, ],
对于消息颜色以及其他设置来说,这种处理方式也是类似的,此时会将 HEX 格式的颜色值作为“参数”来指定。
以设置前缀为例:你可以为每个字母分配不同的颜色,从而创造出渐变效果。
"List of prefixes and their settings": [ { "Permission": "iqchat.vip", "Argument": "<color=#FF0000>[<color=#FF3300>V<color=#FF6600>I<color=#FF9900>P<color=#FFCC00>]</color></color></color></color></color>", "Block the player's ability to select this parameter in the plugin menu (true - yes/false - no)": false }, ]
最大限度地实现多语言交流!
聊天是游戏体验中非常重要的一部分,它让玩家能够互相交流、发送消息或聚集在一起。不过,还是有一些玩家不会使用服务器目标受众的主要语言进行交流。我的插件就能解决这个问题!
通过 IQChat,你的玩家可以使用他们熟悉的语言进行交流。所有消息都会被翻译成其他玩家的母语!这将为你的服务器带来更多的可能性,同时聊天界面也会因为新的颜色和更活跃的氛围而变得更加生动有趣!
为了实现这一点,还需要使用一个额外的插件——TranslationAPI。
该插件内置了自动聊天消息功能、自动回复机制,以及针对玩家登录和登出的通知功能——所有这些功能都支持多种语言。
你可以在插件配置中自定义消息内容及其翻译方式!
玩家自定义设置:
玩家可以根据自己的权限来设置和修改他们的前缀、昵称颜色以及消息颜色。
此外,系统还支持氏族插件的功能,这些插件可以在聊天界面中显示氏族标识。
所有这些功能都可以通过配置设置进行自定义和调整。
该插件还支持来自 IQRankSystem 系统的等级系统。
允许非特权玩家自行调整消息的显示样式、昵称的字体大小以及默认前缀的长度,从而完全掌控聊天界面的外观!
现代中性用户界面设计:
整个用户界面设计都采用中性风格,能够与其他插件完美融合。尽管是中性风格,但该界面设计却非常实用,且十分引人注目。
您拥有灵活性,可以替换图片,并根据自己的喜好定制用户界面。我提供的插件中包含了所有图片文件,这样您就可以自由地根据需求来调整用户界面了!
静音系统 – 聊天或语音屏蔽:
该插件提供了手动和自动聊天拦截功能。
你和你的管理员可以通过用户界面或命令来追踪违规者,并阻止他们进行聊天或发声!
该插件内置的自动屏蔽功能可以在设置中进行配置,从而避免频繁的干扰。你只需指定一个“禁止词”,然后该插件会立即采取行动,针对违规者执行聊天静默,并注明执行的时间和原因!
针对“禁止词汇”的自动静音功能
反垃圾邮件系统:
为玩家提供了内置的防垃圾邮件保护功能,你可以根据自己的需求进行配置。
有两种保护机制:一种是每秒发送 N 条消息;另一种是对于重复的消息实行自动静音处理。
不需要的文本控制器:
该插件内置了一个昵称控制器,可以帮助你从玩家的昵称中移除不需要的文字或链接。
内置的聊天消息管理功能,可以移除或隐藏不需要的文字内容以及广告信息。
该插件还具备一种功能,可以通过游戏内的 F1 键来隐藏关于服务器管理员赠送或接收物品的消息。
自动消息:
该插件配备了完善的自动消息系统,可以为玩家发送各种通知!
你可以配置以多种语言显示的广告或服务器信息,并指定发送频率。这些消息可以随机发送,也可以按顺序依次发送!
加入服务器后会收到通知。
你可以配置在玩家加入服务器后发送给他们的消息。这样,你就可以向他们传达一些信息,或者宣布新的功能。
玩家加入/离开的通知。
连接后,你可以选择在聊天界面中显示有玩家加入服务器的信息,同时还可以显示该玩家的所属国家。
当一名玩家离开时,你可以显示该玩家退出的原因。
服务器助手。
该插件配备了自动回复功能,当玩家使用了特定关键词时,会向玩家发送一封包含相关信息的文本通知。
自动回复示例:
私有消息系统:
玩家可以相互交流,进行私聊。该插件支持使用”/pm”和”/r”命令来发送玩家之间的消息。玩家可以忽略某个不想要的玩家,这样他们就再也看不到该玩家的私信了。
伐木作业:
具备丰富的日志记录功能,这些功能可以单独启用。
所有日志都会通过 WebHooks 发送到您的 Discord 频道中。
支持的插件:
目前,该插件已经拥有大量的兼容插件,这些插件可以协同工作!
支持的插件包括整个 IQ 插件系列、XLevels、Clans、TranslationAPI、XPrison、Friends 等许多其他插件。
这使你能够在服务器上创建一种统一的消息和通知格式。
如果您是开发者,希望将您的插件与我的插件进行集成,请查看 API 部分。
如果有任何问题,请随时直接联系我。
引用来自水星的消息:
我想说,在 2019 年我发布这个插件的时候,那些使用它的人或者只是看到它后觉得它很棒的人,都提出了改进建议,并分享了他们的想法。这些建议中的大部分已经被采纳了。这个插件总共经历了 75 次更新,其中还包括了 3 次重大的更新,这些更新对用户界面和功能进行了彻底的改进。
这一整个过程将这款插件从一个简单的聊天插件提升为一个功能强大的系统。现在,你可以完全自定义聊天系统的各项设置,从而彻底掌控服务器上聊天内容的表现形式!
前缀的权限、昵称的颜色以及消息的显示方式都在配置文件中手动进行了设置!
Permissions to set your nickname color in chat - iqchat.cnick Permissions to set your chat message color - iqchat.cmsg Permission to rename oneself in the chat - iqchat.renameuse Permission to use chat mute controls - iqchat.muteuse Permission for immunity to anti-spam is configured in the config - iqchat.antispamabuse Permission to create notifications - iqchat.alertuse Permission to hide oneself from the player list (/)online - iqchat.onlinehide Permission to hide the notification of a player connecting to the server - iqchat.hideconnection Permission to hide the notification of a player disconnecting from the server - iqchat.hidedisconnection Permission for the "Mute All Chat" and "Mute All Voice" buttons - iqchat.adminmuted
注意:为了便于理解,这里使用了方括号来表示示例内容;但在输入命令时则不应使用方括号!
/chat - open the chat control and settings menu (the chat mute control button is also located there; don't forget to grant permissions for it to appear) /cnick [HexColor (Single color or list separated by commas)] - allows you to set your own nickname color (permission required) /cmsg [HexColor (Single color or list separated by commas)] - allows you to set your own color for chat messages (permission required) /pm [Nickname] [Message] - send a player a message in private chat /r [Message] - send a message to a player participating in private chat with you /rename [New Nickname] [New SteamID (optional field, ID must exist, it will also affect opening the profile through chat and avatar)] - change your nickname, permission required, configurable in the configuration /rename.reset - resets the saved information about renaming the player (it is required to specify the Steam Api Key in the configuration) /alert [Message] - send a notification to the server, to all players /alertui [Message] - send a UI notification to all players /ignore [Nickname] - add or remove a player from the ignore list, also available in the UI interface /hmute [Nickname/STEAMID] [Reason] [Time] - set a hidden chat mute for the player for your reason (only you and the muted player will see it) /hunmute [Nickname/STEAMID] - secretly remove the chat mute /mute [Nickname/STEAMID] [Reason] [Time] - set a chat mute for the player for your reason /mutevoice [Nickname/STEAMID] [Reason] [Time] - sets a voice chat mute for the player for your specified reason /unmute [Nickname/STEAMID] - remove the chat mute /unmutevoice [Nickname/STEAMID] - remove the voice mute /unmutevoice Steam64ID - remove the voice chat mute /online - display the list of players in the chat
📖 其他内容
API:
Object OnChatAlertDisconnected(BasePlayer player, String reason)- when returning null - displays a notification about the player's disconnection, otherwise - no notification. Returns the player and the reason for disconnection Object OnChatAlertConnected(BasePlayer player) - when returning null - displays a notification about the player's connection, otherwise - no notification. Returns the player void OnPlayerMuted(BasePlayer Target, BasePlayer Moderator, Int32 MuteTime, String Reason) /// - called after a player is muted void OnModeratorSendBadWords(BasePlayer Moderator, String Message) /// - called when a player with moderation rights uses a forbidden word void OnPlayerSendBadWords(BasePlayer player, String Message) /// - called when a player uses a forbidden word string API_GET_NICK_COLOR(ulong ID) ///- returns the nickname color (HEX) string API_GET_CHAT_COLOR(ulong ID) ///- returns the chat message color (HEX) string API_GET_PREFIX(ulong ID) ///- returns the player's prefix bool API_CHECK_VOICE_CHAT(ulong ID) ///- returns true/false, indicating whether the voice chat is muted bool API_CHECK_MUTE_CHAT(ulong ID) ///- returns true/false, indicating whether the chat is muted string API_GET_DEFAULT_PREFIX() ///- returns the default prefix string API_GET_DEFAULT_COLOR_NICK() ///- returns the default nickname color string API_GET_DEFAULT_COLOR_CHAT() ///- returns the default chat message color void API_SEND_PLAYER(BasePlayer player, string PlayerFormat, string Message, string Avatar, Chat.ChatChannel channel = Chat.ChatChannel.Global) ///- sends a message to a player with all formatting options void API_SEND_PLAYER_PM(BasePlayer player, string DisplayName, string userID, string Message) ///- sends a private message to a player from another player with the specified nickname void API_SEND_PLAYER_CONNECTED(string DisplayName, string country, string userID) ///- sends a "player connected" message to the global chat with the specified nickname, country, and ID; userID is used for the avatar void API_SEND_PLAYER_DISCONNECTED(string DisplayName, string reason, string userID) ///- sends a "player disconnected" message to the global chat with the specified reason, country, and ID; userID is used for the avatar void API_ALERT(string Message, Chat.ChatChannel channel = Chat.ChatChannel.Global, string CustomPrefix = "", string CustomAvatar = "") ///- sends an alert message from the plugin with all settings, allowing for a custom prefix and avatar by Steam64ID void API_ALERT_PLAYER(BasePlayer player, string Message, string CustomPrefix = "", string CustomAvatar = "") ///- sends an alert message to a single player from the system (with all chat settings). If CustomPrefix is not set, the default from the plugin configuration will be used; CustomAvatar sets your avatar by the specified Steam64ID, if left blank, the avatar from the configuration will be used void API_ALERT_PLAYER_UI(BasePlayer player, string Message) ///- sends a UI notification to the player with your message bool API_CHECK_MUTE_CHAT(ulong ID) ///- returns true/false with the status of the player's chat mute bool API_CHECK_VOICE_CHAT(ulong ID) ///- returns true/false with the status of the player's voice chat mute bool API_IS_IGNORED(ulong UserHas, ulong User) ///- returns true/false indicating whether one player is ignored by another int API_GET_DEFAULT_SIZE_MESSAGE() /// - returns the default message size from the configuration int API_GET_DEFAULT_SIZE_NICK() /// - returns the default nickname size from the configuration String OnChatReferenceTags(BasePlayer player) /// Called when adding additional tags to the nickname, returning a string will set it as the tag before the nickname /// Example usage: /// String OnChatReferenceTags(BasePlayer player) => "[{data[player].levelPlayer} lvl]";

.png.98e16ab332eb1cb9f144db77861d59e7.png)












暂无评论内容