ShiftFCmd
快速在服务器菜单中通过 Shift + F 打开

简介
ShiftFCmd 是一款简单实用的 Minecraft 服务器插件。
它允许玩家在按下 Shift + F 时快速执行预先配置好的命令。
适用于打开菜单、使用常用功能或处理简单但频繁的操作。
快速开始:
本示例以“zMenu”菜单插件作为演示。
在实际使用中,请将命令部分替换为你服务器上用于打开菜单的命令。
首次安装:
- 下载最新版本的 ShiftFCmd
- 将其放入服务器的
plugins 文件夹中
- 重启服务器(请使用
stop 然后启动,不要使用 reload)
- 运行命令
sfcmd command player zm open basic_inventory
- 完成
从旧版本更新:
- 下载最新版本的 ShiftFCmd
- 将其放入服务器的
plugins 文件夹中
- 删除旧的 ShiftFCmd 插件
- 重启服务器(请使用
stop 然后启动,不要使用 reload)
- 完成(配置文件将自动更新)
功能特性
- 按下
Shift + F 执行一条或多条命令
- 支持以
console(控制台)或 player(玩家)身份运行命令
- 大多数配置选项可通过命令修改——无需直接编辑配置文件
- 支持英文、简体中文和繁体中文
- 内置自动检查更新功能
- 自动更新配置文件——从旧版本升级时无需手动替换配置文件
- 命令拥有独立的权限节点,便于与 LuckPerms 等权限插件配合使用
命令
| 命令 |
权限 |
描述 |
/sfcmd reload |
sfcmd.reload |
重新加载语言文件和配置文件 |
/sfcmd update |
sfcmd.update |
手动检查插件更新 |
/sfcmd language <en/zh/zh_TW> |
sfcmd.language |
切换插件语言 |
/sfcmd command <player/console> <command> |
sfcmd.command |
设置命令执行者和命令内容 |
/sfcmd switchhand |
sfcmd.switchhand |
切换是否保留副手交换动作 |
权限
| 权限节点 |
默认值 |
描述 |
sfcmd.admin |
OP |
授予所有管理相关权限 |
sfcmd.reload |
OP |
允许使用 /sfcmd reload |
sfcmd.update |
OP |
允许使用 /sfcmd update |
sfcmd.update.notify |
OP |
允许接收更新通知 |
sfcmd.language |
OP |
允许使用 /sfcmd language |
sfcmd.command |
OP |
允许使用 /sfcmd command |
sfcmd.switchhand |
OP |
允许使用 /sfcmd switchhand |
注意:
sfcmd.admin 自动包含 sfcmd.reload、sfcmd.update、sfcmd.update.notify、sfcmd.language、sfcmd.command 和 sfcmd.switchhand
- 管理员可以使用 LuckPerms 等权限管理插件将这些权限分配给特定玩家
注意事项
该插件通过监听玩家的潜行和副手交换动作来检测 Shift + F。
如果玩家更改了客户端按键绑定,触发方式也会相应改变,可能不再是默认的 Shift + F。
bStats
ShiftFCmd
Open server menu in a flash with Shift + F

Introduction
ShiftFCmd is a simple, practical Minecraft server plugin.
It allows players to quickly execute pre-configured commands when pressing Shift + F.
Suitable for opening menus, using common features, or handling simple but frequent interactions.
Quick Start:
This example uses the "zMenu" menu plugin as a demonstration.
In actual use, please replace the command part with the command players use to open menus on your server.
First-time setup:
- Download the latest version of ShiftFCmd
- Place it in the server's
plugins folder
- Restart the server (use
stop then start, do not use reload)
- Run the command
sfcmd command player zm open basic_inventory
- Done
Updating from an older version:
- Download the latest version of ShiftFCmd
- Place it in the server's
plugins folder
- Delete the old ShiftFCmd plugin
- Restart the server (use
stop then start, do not use reload)
- Done (configuration files will be updated automatically)
Features
- Execute one or more commands by pressing
Shift + F
- Supports running commands as either
console or player
- Most configuration options can be modified via commands — no need to edit config files directly
- Supports English, Simplified Chinese, and Traditional Chinese
- Built-in automatic update checking
- Automatic configuration file updates — no need to manually replace config files when upgrading from an older version
- Separate permission nodes for commands, making it easy to use with permission plugins such as LuckPerms
Commands
| Command |
Permission |
Description |
/sfcmd reload |
sfcmd.reload |
Reload language files and configuration files |
/sfcmd update |
sfcmd.update |
Manually check for plugin updates |
/sfcmd language <en/zh/zh_TW> |
sfcmd.language |
Switch the plugin language |
/sfcmd command <player/console> <command> |
sfcmd.command |
Set the command executor and command content |
/sfcmd switchhand |
sfcmd.switchhand |
Toggle whether the offhand swap action is preserved |
Permissions
| Permission Node |
Default |
Description |
sfcmd.admin |
OP |
Grants all management-related permissions |
sfcmd.reload |
OP |
Allows use of /sfcmd reload |
sfcmd.update |
OP |
Allows use of /sfcmd update |
sfcmd.update.notify |
OP |
Allows receiving update notifications |
sfcmd.language |
OP |
Allows use of /sfcmd language |
sfcmd.command |
OP |
Allows use of /sfcmd command |
sfcmd.switchhand |
OP |
Allows use of /sfcmd switchhand |
Notes:
sfcmd.admin automatically includes sfcmd.reload, sfcmd.update, sfcmd.update.notify, sfcmd.language, sfcmd.command, and sfcmd.switchhand
- Administrators can use permission management plugins such as LuckPerms to assign these permissions to specific players
Notes
This plugin detects Shift + F by listening for player sneaking and offhand-swap actions.
If a player changes their client key bindings, the trigger will change accordingly and may no longer be the default Shift + F.
bStats
评论 0
登录后参与评分
还没有评论,来抢沙发吧