MyCommand
MyCommand
Donations
If you like this plugin, and want to offer me a coffee, consider to click the button on the top right corner of the navbar to donate! Thank you :D
Make your own, customized Minecraft commands
Features:
- Make new commands!. (Also registered command)
- Run others command in new one
- Perform several commands in one
- Delayed commands with custom pause, warmups and cooldowns
- Make Shortcut/alias commands or override commands.
- Run commands with any item , block, signs or even (villager) NPC's.
- Various functions for costumize commands, like placeholders, scripts (if-else) and more.
- Console support
- Economy support (Require Vault)
- All features are highly customizable
- No command limits with multiple file support
- Customizable IconMenu (ChestGUI), ActionBar, BossBar, Hover/ClickableText, Title and Scoreboard commands.
- Allow the execution of commands in various circumstances (per world, by worldguard regions and more.
- Custom players database where you can store anything you want to personalize even more your commands. SQL database supported.
- BungeeCord feature, Scheduler, Join/Quit/Death events, PHP/GET request ...
- ... And much, much more..!
Configuration and examples (Documentation)
Commands & permissions
Video Tutorial :
(French) Getting Started (TEXT and ALIAS commands) by Texier (MyCommand 5.5.0)
(English) by Koz4Christ. (MyCommand 5.1.8)
If you have to report an error in the chat, or just a command section, use pastebin or a similar website. Help with YML code error : http://yaml-online-parser.appspot.com/
This plugin uses bStats Metrics - MyCommand stats page
Hey there, I am currently trying to make a block command with the MyCommand plugin. I have everything set up as I want it to be set up except that there is one function that I am not being able to figure out yet. Is there any way that I can make the block command a one-time use? So that when I click it once, it gives the reward and tells the player, Congratz... but if the player tries to use the same one it replies by saying you already claimed this block and it won't give the reward. Any ideas?
In reply to maxemilian360:
one_time_command:
command: /onetime
type: RUN_COMMAND
runcmd:
- "$Script$%if%$PlayerData%one_time_command%!=used"
- "$text$&aExecuting the command here..."
- "$Script$%PlayerData%one_time_command=used"
- "$Script$%else%"
- "$text$&6You've already used this command."
Tell me how to make this one-time command while meeting the requirements
adbsa:
command: /MjJencosesad
type: RUN_CONSOLE
runcmd:
- $Script$%elseif%%vault_eco_balance_fixed%<45000
- $text$ &7(&c$&7) &cУ вас недостаточно средств! Либо у вас нету прав сейчас!
- $Script$%else%
- eco take $player 45000
- lp user $player parent add 4lok
permission-required: true
permission-node: re
permission-error: '&cНету купленой 3 локации!'
In reply to jencos_e:
you can't use %elseif% if there is not %if% before it
and you have to add slash before the command
Hi! the log command doesn't seem to work with console, which I need it to, is there any way at all to execute a mycmd command that logs things to a text file from the console?
hi! I am trying to override a stupid plugin's system that overrides all other teleportation. to fix this I would need to run 2 commands say, 1 second apart. I have tried the command below to no avail as it only runs the command once
Hi! When using the live_chat type of command, can I store their answer as $arg1 ? I want to make a prompt where someone can use the live_chat type but their answer is stored as a variable.
For example I want a command for players to select a chatroom with this, so they can do /chatrooms
and the command will say 'what chatroom would you like to join?
and then their answer will be taken as $arg1 and I can runcmd '/channel $arg1join'
Also does your plugin have any utility to convert a nickname, more specifically an essentials one into a player's real name?
In reply to KantoKairyu:
You should be able to use $arg1 ecc normally in the runcmd part.
About the nickname, i guess if you use $player it returns always the original player name, and not the nickname made with another plugin. If you need a specific nickname, you can look at PlaceholderAPi placeholders.
Hey! Great plugin!
May I ask how you go about addind placeholders to playerdata? I want the playerdata files to have their essentials' nickname, is this possible?
Also how do I go about adding a temporary variable to a custom command if it isn't pertaining to a user's playerdata, is that even possible?
Lastly how would I go about making a custom command that would take a player nickname as $arg1 and then using parsnear or another placeholder, convert that name into a real player name and then execute a command as though that were the real $arg1 to begin with?
Can somebody help me with Lists? None of these Commands works properly. It just sometimes returns true and nobody knows why.
- $Script$%PlayerData%array1.contains=string2
- $Script$%if%$PlayerData%list1%.contains=$multiargs
Hey there, any way to set the blockset function on entities like the placed end crystal?
In reply to maxemilian360:
maybe you can use scriptentityplus
Is there a possibility to choose a specific String out of a List?
Like here, but not Random. I want to choose the first one for example, so COBBLESTONE:
$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%
how I can make that when people do /battum a boat appears on them ?
is it possible for the iconmenu to add a cost for clicking on 1 of the items. For example I have an item which you can click to upgrade your stats. Is there a way to add a cost?
Is there a possibility to add the 'text_style: CENTERED' on bungeecord? Currently a text with that variable is not centered
Is there a way to make the npcs look like a security guard?
I have set up NPCs for my server - but only OP players can click and use them? How can I let everyone use them?
In reply to miniminnow:
wouldnt that be the npc plugin's problem and not the mycommand plugins' fault? because mycommand makes an alias to shorten a command and a lot of other stuff. :) just wondering
In reply to dragoni_penguin:
I'm pretty sure the command was /mycmd-npcs which made me think it was part of mycommand.
However, it could maybe be worldguard preventing interaction somehow? I have turned interaction to 'Allow' but I will have a deeper look through all them.