查看: 1788|回复: 1

[业界新闻] 【Minecraft】Dinnerbone:我想到了改进聊天系统的好主意!

[复制链接]
梦石
0
星屑
281
在线时间
2089 小时
注册时间
2011-7-28
回帖
1068
发表于 2013-9-10 18:10:10 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
本帖最后由 不会脚本 于 2013-9-13 18:20 编辑
本帖转自MCbbs论坛

Nathan Adams ‏@Dinnerbone
我刚刚想到了一个绝佳的改进Minecraft聊天系统的好主意!我在考虑是否实现它。(I just realized how to add something very awesome into Minecraft's chat system. Consider it done.)

这项改进对地图作者,mod作者,玩家和服务器管理员都很有用。简单来说它对所有mc玩家都很有用 (It's useful to map makers, modders, players and server admins. Basically, everybody.)

MasterEjay ‏@MasterEjzz
Dinnerbone告诉我这是个什么主意吧!我保证只发在reddit上!(@Dinnerbone Tell me! I promise I will only post it on reddit!)

Nathan Adams ‏@Dinnerbone
好吧。想象一下你点击聊天框中的某些部分,然后这会导致一些事情发生,比如运行一段随机指令。(@MasterEjzz Okay. Imagine if you clicked on something in the chat and it did something silly like execute an arbitrary command.)

基本上来说就是像这样的一个东西:https://gist.github.com/Dinnerbone/6488256(Basically it's this: https://gist.github.com/Dinnerbone/6488256)

(除了运行指令)也有可能会有其他效果,比如打开网页;截图也是可以点击的。(There are other actions, like open a url. Screenshot links are clickable now, also.)

这项特性对于使用指令和多人游戏都很有用,比如你可以点击玩家名字来进行私聊。之类的(If you use any commands or with other people it's useful to you too (click name to pm, for example))
[color=Red][b]我没有签名[/b][/color]
梦石
0
星屑
660
在线时间
1286 小时
注册时间
2011-6-14
回帖
3949
发表于 2013-9-10 18:40:34 | 显示全部楼层
satgo:取消按钮哪里去了(笑)……而且这个命令太长了,根本塞不到137里(命令方块)。。(Where's cancel button... But this line of command is toooooooooooo long, can't put it into block 137...)

点评

嘛,比如私聊一些的功能吧,插件要被吞了  发表于 2013-9-10 20:31
呵呵呵呵呵呵呵呵呵呵呵,这只是一个功能而不是一个命令方块里面可以执行的代码,因为有限制命令方块的长度所以做一些随机什么的略麻烦  发表于 2013-9-10 20:29
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部