[Suggestion] New features for commands.yml
Closed this issue · 3 comments
KM-Owner commented
I would like to completely remove all GUI/Command plugins and move everything to the zMenu
But I still use the mycommand plugin because the zMenu - commands.yml is missing some functions
1. Creating commands that execute other command to make command more simple for players:
nether:
command: /nether
type: RUN_COMMAND
runcmd:
- '/warp nether'
register: true
permission-required: false
2. Creating commands that send text to the player
discord:
command: /discord
type: TEXT
text:
- ""
- " $hex%#00b5e8%&lD$hex%#18bbec%&lI$hex%#2fc0f0%&lS$hex%#47c6f4%&lC$hex%#5ecbf7%&lO$hex%#76d1fb%&lR$hex%#8dd6ff%&lD"
- " &fPotrzebujesz pomocy lub chcesz być na bieżąco?"
- " &fDołącz na naszego discorda! $hex%#93FEFE%dc.krystalmc.pl"
- ''
register: true
permission-required: false
Maxlego08 commented
Can you give more examples of configuration? As well as other features. And links to other plugins in the same style.
KM-Owner commented
MyCommand documentation: https://dev.bukkit.org/projects/mycommand/pages/configuration-and-example
3. Commands with required arguments:
money_500k:
command: /money:500k
type: RUN_COMMAND
runcmd:
- '/eco give $arg1 500000'
error-message: '&e/money:500k <player name>'
required_args: 1
register: true
permission-required: true
permission-node: monety.use
permission-error: '&cYou don't have permission!'
Maxlego08 commented
For next version !