跳到正文

Shorthand

作者:madafue

A simple mod to create chat/command aliases.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Shorthand is a fully client-side mod that lets you create text aliases (or “shorthands”) that automatically replace words in your chat or commands before you send them.

It should work on any server, including vanilla!


An issue I’ve always had when I’m playing multiplayer is typing in my friend’s actual name instead of their Minecraft username.

Well, no longer! This mod allows you to set command aliases, meaning you can configure it to use whichever name you prefer!

That’s my use case, anyways. In reality, I’m sure that creative people can find all sorts of uses for this mod, which is why I’m making it public. Note that this is still in development and actively being tested, so there might be unexpected side effects.


Commands

The main command is /shorthand.

/shorthand add <alias> <replacement>

Creates a new alias.

Example: “/shorthand add friend1 MyFriendsUsername_123“

/shorthand remove <alias>

Deletes an alias.

Example: “/shorthand remove friend1“

/shorthand list

Shows all the aliases you’ve created.


How It Works

Once you’ve set an alias, it works automatically in both regular chat and commands. The replacement is case-insensitive and only matches whole words.

Chat Example:
After running “/shorthand add friend1 MyFriendsUsername_123“:

You type: “Hi Friend1, how are you?“

You send: “Hi MyFriendsUsername_123, how are you?“

Command Example:
You type: “/tp friend1“

You send (and execute): “/tp MyFriendsUsername_123“

All your aliases are saved to config/shorthand.json in your Minecraft folder, so they persist every time you play.

常见问题

Shorthand 支持哪些 Minecraft 版本?

Shorthand 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Shorthand 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

madafue 的其他作品

查看全部 →