Compatibility
Minecraft: Java Edition
1.21–1.21.5
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
MeowJoinCommand
MeowJoinCommand 是一个 Minecraft Bukkit 插件,可以在玩家加入时根据权限、金钱和变量条件执行自定义指令。
MeowJoinCommand is a Minecraft Bukkit plugin that executes custom commands when players join based on permissions, money, and variable conditions.
支持语言 / Supported Languages
语言 / Language | 代码 / Code | 状态 / Status |
---|---|---|
简体中文 / Simplified Chinese | zh_hans | ✅ |
繁體中文 / Traditional Chinese | zh_hant | ✅ |
English | en_us | ✅ |
日本語 / Japanese | ja_jp | ✅ |
欢迎提交其他语言翻译,您的名字将被列入致谢名单!
Feel free to submit translations for other languages, and your name will be included in the acknowledgments!
依赖 / Dependencies
- MeowLibs (必需 / Required)
功能特性 / Features
条件判断 / Condition Checks
-
权限条件 / Permission Conditions
# 正向权限检查 / Positive permission check permission: "meowjoincommand.vip" # 反向权限检查 / Negative permission check permission: "!meowjoincommand.banned" # 复合权限检查 / Compound permission check permission: "!meowjoincommand.banned || meowjoincommand.vip"
-
金钱条件 / Money Conditions
# 支持运算符 / Supported operators: >, >=, =, <=, < money: ">100" money: ">=50 || <=20"
-
变量条件 / Variable Conditions
# 支持运算符 / Supported operators: =, != placeholderapi: "%some_placeholder% = value" placeholderapi: "%some_placeholder% != value"
命令执行 / Command Execution
-
执行者类型 / Executor Types
player
: 以玩家身份执行 / Execute as playerconsole
: 以服务器身份执行 / Execute as server
-
变量替换 / Variable Replacement
%player%
: 自动替换为玩家名称 / Automatically replaced with player's name
-
延迟执行 / Delayed Execution
- 顶层
tick_delay
: 延迟检查条件 / Delay condition check - 命令
tick_delay
: 延迟执行命令 / Delay command execution - 在 TPS=20 时,1秒 = 20tick / At TPS=20, 1 second = 20 ticks
- 顶层
配置文件 / Configuration File
# 配置文件版本 / Configuration version
version: 1.3.2
# 插件开关 / Plugin Toggle
# true = 启用插件 / true = enable plugin
# false = 禁用插件 / false = disable plugin
enable_plugin: true
# 语言设置 / Language Settings
# 可选语言 / Available languages:
# zh_hans = 简体中文 / zh_hans = Simplified Chinese
# zh_hant = 繁體中文 / zh_hant = Traditional Chinese
# en_us = English / en_us = English
# ja_jp = 日本語 / ja_jp = Japanese
language: zh_hans
# 配置列表 / Configuration List
configlist:
test1: # 配置名称 / Configuration name
enabled: false # 是否启用此配置 / Enable this configuration
tick_delay: 0 # 延迟多少tick后执行检查 / Delay ticks before checking
execute: # 执行条件 / Execution conditions
- permission: "!meowjoincommand.banned"
# 权限条件:玩家不能拥有 "meowjoincommand.banned" 权限
# Permission condition: Player must NOT have the "meowjoincommand.banned" permission
- permission: "!meowjoincommand.banned1 || !meowjoincommand.banned2"
# 权限条件:玩家不能同时拥有 "meowjoincommand.banned1" 和 "meowjoincommand.banned2" 权限
# Permission condition: Player must NOT have both "meowjoincommand.banned1" AND "meowjoincommand.banned2" permissions
- permission: "!meowjoincommand.banned3 || meowjoincommand.unbanned"
# 权限条件:(玩家不拥有 "meowjoincommand.banned3" 权限)或者(拥有 "meowjoincommand.unbanned" 权限)这两者其中满足一者即算作满足条件
# Permission conditions: (player does not have the "meowjoincommand.banned3" permission) or (has the "meowjoincommand.unbanned" permission) Either of these two conditions is met.
- permission: "!meowjoincommand.banned3 || meowjoincommand.unbanned || meowjoincommand.unbanned1"
# 权限条件:(玩家不拥有 "meowjoincommand.banned3" 权限)或者(拥有 "meowjoincommand.unbanned" 权限)又或者(拥有 "meowjoincommand.unbanned1" 权限)这多种判定条件其中满足一者即算作满足条件
# Permission conditions: (The player does not have the "meowjoincommand.banned3" permission) or (has the "meowjoincommand.unbanned" permission) or (has the "meowjoincommand.unbanned1" permission) If one of these conditions is met, the condition is met.
- permission: meowjoincommand.test1
# 权限条件:玩家必须拥有 "meowjoincommand.test1" 权限
# Permission condition: Player must have the "meowjoincommand.test1" permission
- permission: meowjoincommand.test0
# 权限条件:玩家必须拥有 "meowjoincommand.test0" 权限
# Permission condition: Player must have the "meowjoincommand.test0" permission
- permission: "meowjoincommand.vip0 || meowjoincommand.vip1"
# 权限条件:玩家必须拥有 "meowjoincommand.vip0" 或 "meowjoincommand.vip1" 权限之一
# Permission condition: Player must have either "meowjoincommand.vip0" OR "meowjoincommand.vip1" permission
- money: ">50"
# 金钱条件:玩家余额必须大于 50
# Money condition: Player's balance must be greater than 50
- money: ">51 || <=19 || =30"
# 金钱条件:玩家余额必须满足以下条件之一:
# - 大于 51
# - 小于等于 19
# - 等于 30
# Money condition: Player's balance must meet one of the following:
# - Greater than 51
# - Less than or equal to 19
# - Equal to 30
- placeholderapi: "%some_placeholder% = some_value"
# 占位符条件:%some_placeholder% 的值必须等于 some_value
# Placeholder condition: %some_placeholder% must equal some_value
- placeholderapi: "%some_placeholder% != some_value"
# 占位符条件:%some_placeholder% 的值不能等于 some_value
# Placeholder condition: %some_placeholder% must NOT equal some_value
- placeholderapi: "%some_placeholder% = some_value1 || %some_placeholder% = some_value2 || %some_placeholder% = some_value3"
# 占位符条件:%some_placeholder% 的值必须等于以下之一:
# - some_value1
# - some_value2
# - some_value3
# Placeholder condition: %some_placeholder% must equal one of the following:
# - some_value1
# - some_value2
# - some_value3
commands:
# 满足条件后执行的命令 / Commands to execute when conditions are met
# 这些指令会按照配置顺序从上到下依次执行 / These commands will be executed in order from top to bottom
- type: console
# 命令执行者:服务器控制台
# Command executor: Server console
command: tell %player% Welcome to the server!
# 要执行的命令,%player% 会被替换为玩家名称
# Command to execute, %player% will be replaced with player's name
tick_delay: 5
# 延迟多少tick后执行此命令
# Delay in ticks before executing this command
test2:
enabled: false
tick_delay: 0
execute:
- permission: meowjoincommand.test2
commands:
- type: player
command: say Hello, %player%!
tick_delay: 10
- type: console
command: money give %player% 100
tick_delay: 10
# 配置说明 / Configuration Guide
# 1. 支持的条件类型 / Supported condition types:
# - permission: 权限检查 / Permission check
# - money: 金钱检查 / Money check
# - placeholderapi: 占位符检查 / Placeholder check
#
# 2. 金钱条件支持的运算符 / Money condition operators:
# >= (大于等于) / >= (greater than or equal)
# > (大于) / > (greater than)
# = (等于) / = (equal)
# <= (小于等于) / <= (less than or equal)
# < (小于) / < (less than)
#
# 3. 占位符条件支持的运算符 / Placeholder condition operators:
# = (等于) / = (equal)
# != (不等于) / != (not equal)
#
# 4. 条件组合 / Condition combinations:
# - 使用 || 连接多个条件表示"或"关系
# - 多个条件之间是"与"关系,需要全部满足
# - Use || to connect multiple conditions for "OR" relationship
# - Multiple conditions are in "AND" relationship, all must be satisfied
#
# 5. 命令执行 / Command execution:
# - type: player = 以玩家身份执行 / Execute as player
# - type: console = 以服务器身份执行 / Execute as server
# - %player% 会被自动替换为玩家名称 / %player% will be replaced with player's name
#
# 6. 延迟设置 / Delay settings:
# - 顶层 tick_delay: 延迟多少tick后开始检查条件
# - commands 中的 tick_delay: 延迟多少tick后执行命令
# - 在 TPS=20 时,1秒 = 20tick
# - Top-level tick_delay: Delay in ticks before checking conditions
# - tick_delay in commands: Delay in ticks before executing command
# - When TPS=20, 1 second = 20 ticks
# Configuration file English content is translated by TONGYI Lingma
命令 / Commands
/meowjoincommand reload
- 重载配置 / Reload configuration
下载 / Download
本插件为开源项目,免费提供使用!
This plugin is open-source and free to use!
- 源码 / Source: GitHub
- 赞助 / Support: 爱发电 / Afdian
许可 / License
- 允许在商业服务器中使用 / Allowed on commercial servers
- 禁止直接出售插件 / Prohibited to sell the plugin directly
详细许可信息请查看 LICENSE.md
For detailed license information, please refer to LICENSE.md