作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: paper
标签: management technology utility
A powerful and feature-rich custom commands plugin for Paper/Spigot servers with advanced functionality including nested subcommands, arguments system, player validation, console command execution, clickable links, and Folia Support!
/dc for /discord)/admin player kick, /admin server restart{args} variable in messages and commands/say hello, /kick Steve, /teleport Player 100 64 200player-args)/kick Steve (validates Steve is online){player} - Player name{displayname} - Player display name{world} - Player's world name{x}, {y}, {z} - Player coordinates{online_players} - Number of online players{max_players} - Maximum players{args} - Command arguments(Display Text)[<URL>]&#FF8800)&6, &c, etc.)admin:
permission: "customcommands.admin"
subcommands:
player:
permission: "customcommands.admin.player"
subcommands: # Nested subcommands!
kick:
permission: "customcommands.admin.player.kick"
arguments:
player-args: [0] # First argument = player name
no-arguments: false
commands:
- "kick {args} Kicked by {player}"
ban:
permission: "customcommands.admin.player.ban"
arguments:
player-args: [0]
no-arguments: false
commands:
- "ban {args} Banned by {player}"
Usage:
/admin player kick Steve - Kicks Steve (validates player is online)/admin player ban Steve - Bans Steve (validates player is online)discord:
permission: "customcommands.discord"
alias: ["dc"]
subcommands:
send:
commands:
- "msg {player} &6Discord: &bhttps://discord.gg/example"
invite:
message:
- "&7Click here: (Join Discord)[<https://discord.gg/example>]"
say:
permission: "customcommands.say"
arguments:
whitelist: ["hello", "goodbye", "help"]
whitelist-only: true
no-arguments: true
commands:
- "say {player}: {args}"
Usage:
/say hello - Valid (in whitelist)/say goodbye - Valid (in whitelist)/say test - Invalid (not in whitelist)kick:
permission: "customcommands.kick"
arguments:
player-args: [0] # First argument must be a player name
no-arguments: false
commands:
- "kick {args} Kicked by {player}"
Usage:
/kick Steve - Valid (if Steve is online)/kick InvalidPlayer - Error: "Player InvalidPlayer is not online or does not exist!"example:
type: "Console"
commands:
- "say {player} used the example command!"
- "effect give {player} minecraft:glowing 10 1 true"
- "title {player} title [\"\",{\"text\":\"Example!\",\"color\":\"gold\"}]"
plugins folderplugins/CustomCommands/config.yml/customcommands reload to reload configuration/customcommands - Main command/customcommands reload - Reload configuration/customcommands help - Show help/customcommands support - Show support information/customcommands version - Show version infocustomcommands.* - All permissionscustomcommands.use - Basic usagecustomcommands.reload - Reload configurationcustomcommands.commandname - Use specific commandcustomcommands.commandname.subcommand - Use specific subcommandcustomcommands.commandname.subcommand.nested - Use nested subcommandThe plugin creates detailed configuration files with examples and documentation:
config.yml - Main configuration with command definitionsmessages.yml - All plugin messageslogs/ - Plugin log filespaper-plugin.yml and requires Paper-specific APIsThe configuration files include comprehensive documentation with:
请登录后举报
暂无评论,抢个沙发吧~