搜索历史
清空
暂无搜索历史
论坛热搜
1
【MC整合包发布】乌托邦探险之旅3.2
热
3
[1.6.4]上古老物 冒险者传说 by WhiteSword
新
5
[转载]洛心斗罗-福利|公会据点战|武魂||抽奖|最终版
2
[1.12.2]Jenny — 有趣的模拟女友模组|珍妮模组
热
4
幻虚斗罗V1.5[炫酷魂环][高级魂技][全模型贴图覆盖][超吸金]
6
[1.7.10] [HQM] [Mercury landing]水星迫降——在未知的世界中挣扎
登陆 注册 QQ登陆
快捷导航
查看: 39|回复: 0

[模组分享] SimpleChat (fork) (SimpleChat (fork))-MOD模组

[复制链接]

5017

主题

60

回帖

1万

积分

龙❁妻

Rank: 8Rank: 8

经验
10298 EP
金粒
5181 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 19:17:26 | 显示全部楼层 |阅读模式
SimpleChat (fork) (SimpleChat (fork))Github |相关wiki |源站链接支持: fabricA simple chat mod for your server, with integration with LuckPerms and FTB Teams.

Features

- FTB Teams integration _(tested 2001.1.4)_

- LuckPerms integration _(tested 5.4.25)_

- Global, world and local chat (you can turn it off)

- Color chat (you can turn it off)

- Reloading the configuration with the command

- Support [PlacehoderAPI](链接) (From 1.19.4)

- Added support color tags _(Example)_  (From 1.19.4)

- For developers: Player chat event

Configuration

The configuration is located in `/config/simplechat.json`.

| Name | Description | Type |

|-|-|-|

| enable_chat_mod | Enables (true) or disables (false) chat handling by the mod. | boolean |

| enable_global_chat | Enables (true) or disables (false) the global chat. | boolean |

| enable_world_chat | Enables (true) or disables (false) the world chat. | boolean |

| enable_chat_colors | Enables (true) or disables (false) the use of color codes in the chat. | boolean |

| local_chat_format | Defines the appearance of the local chat. | String |

...

(此处省略了部分内容)

...

API

If you are a developer, you can use an event called when a player writes something to the chat.

Look [`me.vetustus.server.simplechat.api.event.PlayerChatCallback`](src/main/java/me/vetustus/server/simplechat/api/event/PlayerChatCallback.java).

To control the behavior, use the [ChatMessage](src/main/java/me/vetustus/server/simplechat/api/event/PlayerChatCallback.java#L47) subclass, which can be used to cancel sending a message or change it.

_Example:_

java

/**

* Prohibits players from writing messages by canceling an event.

*/

PlayerChatCallback.EVENT.register((player, message) -> {

  PlayerChatCallback.ChatMessage chatMessage = new PlayerChatCallback.ChatMessage(player, message);

  chatMessage.setCancelled(true);

  return chatMessage;

});

License

The MIT license is used.

截图:



来自Modrinth所有游戏版本1.20.11.201.19.41.19.31.19.21.18.21.19所有类型fabric1.9.3simplechat-1.9.3.jar下载1.9.3#Release- Fixed FTBTeams integration- Added new option \"no_players_nearby_message\"- Updated dependency versions展开版本: 1.9.3支持游戏: 1.20.1类型:FabricRelease下载次数: 1,2761.9.1simplechat-1.9.1.jar下载1.9.1#Release- Added support [PlacehoderAPI](https://placeholders.pb4.eu/user/general/)- Added support color tags- Update mod icon展开版本: 1.9.1支持游戏: 1.20.1类型:FabricRelease下载次数: 2101.9.0simplechat-1.9.0.jar下载1.9.0#Release- Added support [PlacehoderAPI](https://placeholders.pb4.eu/user/general/)- Added support color tags- Update mod icon展开版本: 1.9.0支持游戏: 1.20类型:FabricRelease下载次数: 1031.8.2simplechat-1.8.2.jar下载1.8.2#Release- Added support [PlacehoderAPI](https://placeholders.pb4.eu/user/general/)- Added support color tags- Update mod icon展开版本: 1.8.2支持游戏: 1.19.4类型:FabricRelease下载次数: 871.8.1simplechat-1.8.1.jar下载1.8.1#BetaNo changelog was specified.展开版本: 1.8.1支持游戏: 1.19.4类型:FabricBeta下载次数: 1061.7.1simplechat-1.7.1.jar下载1.7.1#Beta- Fix file- Fix local chat range- Fix local chat dimension展开版本: 1.7.1支持游戏: 1.19.3类型:FabricBeta下载次数: 761.6.1simplechat-1.6.1.jar下载1.6.1#Beta- Fix file- Fix local chat range- Fix local chat dimension展开版本: 1.6.1支持游戏: 1.19.2类型:FabricBeta下载次数: 1841.4.6simplechat-1.4.6.jar下载1.4.6#Release- Fix file- Fix local chat range- Fix local chat dimension展开版本: 1.4.6支持游戏: 1.18.2类型:FabricRelease下载次数: 1121.5.1simplechat-1.5.1.jar下载1.5.1#Release- Fix file- Fix local chat range- Fix local chat dimension展开版本: 1.5.1支持游戏: 1.19类型:FabricRelease下载次数: 78全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

游客,如果您要查看本帖隐藏内容请回复
SimpleChat
楼主 2025-8-10 19:17:26 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

我的世界(Minecraft)小僵尸论坛

新会员

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2025-9-26 02:52 , Processed in 0.234502 second(s), 53 queries .

快速回复 返回顶部 返回列表