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
-
View User Profile
-
Send Message
Posted Jan 17, 2015@KyleUnrau2
Thx m8!
-
View User Profile
-
Send Message
Posted Jan 15, 2015@mycraft1099
Hey dude, I got a game-mode type script for you, tested and edited! You can try it out by pasting it into your commands.yml! It is an advanced version of a toggle along with the basic argument type changing game-mode command If you type /gamemode alone it will toggle your game-mode but if you type something like /gamemode 1 it will switch to creative It has a few different types of args such as (0, 1, 2, a, s, c, Adventure, Creative, Survival) and all functionally work with permissions sounds and custom text that you can customize! http://pastebin.com/zL9iAvjC
-
View User Profile
-
Send Message
Posted Jan 13, 2015@GodsDead
Theres some cool examples at this page... http://dev.bukkit.org/bukkit-plugins/mycommand/pages/configuration-and-example/
You could do something similar to this:
toggle:
command: /gmode
type: RUN_COMMAND
runcmd:
- $Script$%if%%PlayerData%togglemode!=0 #Check if the PlayerVariable "togglemode≠0". If true it runs the commands under it.
- '/gamemode 1'
- - $Script$%PlayerData%togglemode=1 #sets "togglemode" to 1
- $Script$%else% #if not do these commands
- '/gamemode 0'
- $Script$%PlayerData%togglemode=0
#sets "togglemode" to 1
But I dont know how to run the command without setting the PlayerVariable "togglemode" to 0
PS. I dont know if it works but maybe it helps you!
-
View User Profile
-
Send Message
Posted Jan 11, 2015Is there a method to toggle a command? I have a great idea for a really simple command that could even be included in the defaults that would be extremely handy to a lot of admins.
-
View User Profile
-
Send Message
Posted Jan 7, 2015Hey! At first sorry for my bad english : /
I have a problem:
I have made a custom variable with the name "tpmstatus" and i set the value to "0". Now i want to make a custom command that changes the value to "1".
Command:
'setvariable':
command: /setvariable
type: RUN_CONSOLE
runcmd:
- '/mycmd-variables set tpmstatus 1'
But because there's already a value ("0") in "tpmstatus" it runs the command like this:
'setvariable':
command: /setvariable
type: RUN_CONSOLE
runcmd: - '/mycmd-variables set 0 1'
Thanks if someone could help me! PS. Please try it first for yourself and dont write something like: "I think it should work..."
-
View User Profile
-
Send Message
Posted Jan 4, 2015And is there a way to check if a player is online? and if its not not to execute the command,
I have commands with %arg1 ( that argument is the player name )
-
View User Profile
-
Send Message
Posted Jan 2, 2015Can you explain a lil better how Once-Time-Commands work?
runcmd: - $Script$%PlayerData%/oncetime!=used - /horse give Apotheosis_ Whity White - $Script$%PlayerData%/oncetime=used error-message: "You have already used this command"
Doesnt seem to do the trick .. Always says .. You have already used this command, even tho I just make the commands and I have never used them before
-
View User Profile
-
Send Message
Posted Jan 1, 2015Hi, i run a faction server and i have /spawn on a 7second warmup, is there a way to make it so if the player moves it stops the command from being run like booscooldown?
EDIT: Figured out how to do it but is it possible to make to add the "warm-ups have been cancelled" to the language.yml so we can edit the message? also is it possible to make it less sensitive? as soon as you look somewhere cancels it.
-
View User Profile
-
Send Message
Posted Dec 31, 2014When upgrading from 5.1.3 to 5.1.4 do I need to regen any configuration files?
-
View User Profile
-
Send Message
Posted Dec 31, 2014@NoahWL1
Noah,
Lol well, You must have Setup Something wrong on the PermissionEX Plugin for that to happen, Because what you said there doesn't relate to this plugin at all.
-
View User Profile
-
Send Message
Posted Dec 30, 2014I would recommend to EVERYONE to NOT use this plugin, at least until it's fixed. Two people who knew of some sort of exploit came onto my server and somehow were able to give themselves the owner rank through PermissionsEx with this plugin. This may be a mistake though, but please be cautious.
-
View User Profile
-
Send Message
Posted Dec 29, 2014This plugin works great! However, my only request is that now that you can see the heads of players in an inventory it would be nice if we could use a line such as this one in chest GUIs: 0:SKULL_ITEM;SKULLOWNER;Nathangorr:3:/example:Example:Example
-
View User Profile
-
Send Message
Posted Dec 27, 2014Love the idea of this!! I see it has been tested on 1.8 spigot too! is it possible to have a command that teleports players elsewhere after a time limit? e.g. players have a race somewhere and if they don't make it to checkpoints in the time limit they will be teleported out of the race? maybe with a warning of "you have 30 seconds left!" even if none of the above is possible i am still eager to use this for other purposes. :D
-
View User Profile
-
Send Message
Posted Dec 25, 2014Hi, guys
I got an idea, Running an console cmd from the game.
'cmd_byconsole':
type: RUN_CONSOLE
command: /cmd_console
runcmd:
- '/$multiargs'
In-game ex: /cmd_console say Server will be closed in 10 sec
-
View User Profile
-
Send Message
Posted Dec 23, 2014I put what was scored. But I feel like that all the players hear the sound in the chat when a player dies or killed doing this. Like the sound of a KTP wither-spawn. Is it possible to add this option? thank you very much
-
View User Profile
-
Send Message
Posted Dec 22, 2014@CaptainLink_
Thanks for the offer, but nope.
@MrRaik
Enable the extra listener (config.yml) and put this line(s) below the interested event in (playerevents.yml) :
-
View User Profile
-
Send Message
Posted Dec 21, 2014@Ivanpro
Amazing plugin! Don't let anyone let you down! Keep going man, don't let it die. I can make a Spigot page for the plugin as well, and give you FULL credit ?
-
View User Profile
-
Send Message
Posted Dec 21, 2014How that when he dies while the chat hears the sound? For there to we who entant .. I would like the sound of "Wither-spawn" when he dies and when he is killed. Can you give me the configuration?
-
View User Profile
-
Send Message
Posted Dec 21, 2014Hi,
There is already the bug with registered command and permissions... :(
MyCmd 5.1.4, Spigot 1.7.10
-
View User Profile
-
Send Message
Posted Dec 19, 2014On a Cauldron 1.7.10 server I can't get this to work.
Typing /help mycommand in the chat show me all the mycmd- commands, but typing any of the mycmd- commands or just typing /mycmd doesn't show anything. No error or anything, just ignores it.
Also got an error that "language.yml" had invalid characters, converting it to UTF-8 fixed that, but no change ingame. Tried different versions with the sameproblem.
Getting quite angryat it. Not because I can't get it to work but because it doesn't give me any errors, just ignores me and damn if I don't hate being ignored by it :P