MeowJoinCommand
MeowJoinCommand 是一个 Minecraft Bukkit 插件,可以在玩家加入时判断其是否拥有权限并执行自定义指令。
支持多语言,默认语言为简体中文。
MeowJoinCommand is a Minecraft Bukkit plugin that allows you to execute custom commands based on whether a player has specific permissions when they join the server.
It supports multiple languages, with Simplified Chinese as the default language.
支持语言列表 / Supported Languages
语言 / Language | 语言代码 / Language code | 支持状态 / Support Status |
---|---|---|
简体中文 / Simplified Chinese | zh_cn | ✅ 支持 / Supported |
繁体中文 / Traditional Chinese | zh_tc | ❌ 不支持 / Not Supported |
英文 / English | en | ✅ 支持 / Supported |
欢迎联系开发者提交其他语言的翻译,您的名字将会被列入感谢列表!
Feel free to contact the developer to submit translations in other languages, and your name will be included in the thanks list!
注意:要更改语言,请参阅配置文件
Note: To change the language, please refer to the configuration file.
配置文件 / Configuration File
此处仅供展示说明,请勿复制使用!请以插件生成的配置文件为准!
This section is for display purposes only! Please do not copy it! Please use the configuration file generated by the plugin!
# 配置文件版本 / Configuration version
version: 1.0
# 是否启用插件 / Whether to enable the plugin
enable_plugin: true
# true 表示启用插件,false 表示禁用插件 / Enable plugin, true / false
# 语言(en或zh_cn) / Language (en or zh_cn)
language: zh_cn
# 默认语言为简体中文 / Default language is Simplified Chinese
# 配置列表 / Configuration list
configlist:
test1: # 配置名称 / Configuration name
enabled: false # 启用此配置 / Enable this configuration
execute: # 执行条件 / Execute conditions
- permission: meowjoincommand.test1
# 权限条件:玩家需要拥有 "meowjoincommand.test1" 权限 / Permission condition: player needs to have "meowjoincommand.test1" permission
- permission: meowjoincommand.test0
# 权限条件:玩家需要拥有 "meowjoincommand.test0" 权限 / Permission condition: player needs to have "meowjoincommand.test0" permission
- money: ">50"
# 金钱条件:玩家金钱大于 50 / Money condition: player money greater than 50
commands: # 满足条件后的执行指令 / Commands to execute when conditions are met
- type: player
# 以玩家身份执行 / Execute as a player
command: say Hello, %player%!
# 玩家执行的指令,%player% 会被替换为玩家名 / Command executed as a player, %player% will be replaced with player name
tick_delay: 5
# 延迟几tick后执行 / Delay in ticks before execution
- type: console
# 以服务器身份执行 / Execute as a server
command: tell %player%, Welcome to the server!
# 服务器执行的指令,%player% 会被替换为玩家名 / Command executed as a server, %player% will be replaced with player name
tick_delay: 5
# 延迟几tick后执行 / Delay in ticks before execution
test2: # 另一个配置 / Another configuration
enabled: false # 启用此配置 / Enable this configuration
execute:
- permission: meowjoincommand.test2 # 玩家需要拥有 "meowjoincommand.test2" 权限 / Permission condition: player needs to have "meowjoincommand.test2" permission
commands:
- type: player
command: say Hello, %player%!
tick_delay: 10
- type: console
command: money give %player% 100
tick_delay: 10
说明 / Explanation
简体中文
- 执行条件:支持
permission
和money
,money
的判断符号支持>=
、>
、<=
、<
、=
。 - 命令类型:支持
player
(以玩家身份执行)和console
(以服务器身份执行)。 - %player%:将在执行指令时被替换为玩家的名字。
- tick_delay:表示延迟多少 tick 后执行指令。在 TPS 为 20 时,一秒可以执行 20 个 tick。
如果存在多个执行条件,所有条件都需要满足才能执行指令。
English
- Execution Conditions: Supports
permission
andmoney
, where the judgment symbols for money are>=
,>
,<=
,<
,=
. - Command Type: Supports
player
(executed as a player) andconsole
(executed as a server). - %player%: Will be automatically replaced with the player's name when executing commands.
- tick_delay: Represents the delay in ticks before executing the command. At a TPS of 20, one second equals 20 ticks.
If there are multiple execution conditions, all conditions must be satisfied before the command is executed.
命令 / Commands
- 重载插件:/meowjoincommand reload
- Reload plugin: /meowjoincommand reload
下载 / Download
本插件为开源项目并免费提供下载使用!
您可以自行编译开发中的源代码或下载 Release 版本使用,出现问题可以提出 Issue!
同时您也可以在爱发电平台上赞助我,并通过加入QQ交流群以获得及时、迅速的技术支持与安装指导!赞助链接:https://afdian.com/a/NachoNeko_/
This plugin is an open-source project and is available for free download and use!
You can compile the source code being developed yourself or download the Release version. If you encounter any issues, feel free to raise an Issue!
You can also support me on the Afdian platform and join the QQ group for timely and efficient technical support and installation guidance. Link (Simplified Chinese only): https://afdian.com/a/NachoNeko_/
赞助价格表 / Pricing Table
-
¥25 元:获取插件技术支持
¥25 CNY: Get technical support for the plugin.
-
¥200 元:获取插件技术支持 + 一次定制功能的机会
¥200 CNY: Get technical support + one opportunity for a custom feature.
兼容性测试 / Compatibility Testing
1.16 | 1.17 | 1.18 | 1.19 | 1.20 | 1.20.1 | 1.21 | |
---|---|---|---|---|---|---|---|
Purpur | ❓ | ❓ | ❓ | ❓ | ✅ | ✅ | ❓ |
Paper | ❓ | ❓ | ❓ | ❓ | ✅ | ✅ | ❓ |
Spigot | ❓ | ❓ | ❓ | ❓ | ✅ | ✅ | ❓ |
Bukkit | ❓ | ❓ | ❓ | ❓ | ✅ | ✅ | ❓ |
欢迎辅助开发者完善兼容性测试列表,您的名字将会被列入感谢列表!
Welcome to assist developers in improving the compatibility testing list, and your name will be included in the thanks list!
致谢 / Acknowledgments
名称 / Name | 贡献 / Contribution |
---|---|
Zhang1233 | 开发 / Development |
This plugin part of the English content is translated by ChatGPT and TONGYI Lingma.
许可 / License
请查看LICENSE
对于本项目的追加内容:
- 允许在商业服务器中使用本插件
- 禁止直接通过本插件及其衍生版本进行盈利(如出售插件本体等)
Please refer to LICENSE (Simplified Chinese only).
For additional content regarding this project:
- Using this plugin on commercial servers is allowed.
- Directly profiting from this plugin and its derivative versions is prohibited (e.g., selling the plugin itself).