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 May 28, 2019In reply to Digital_Beast:
You can store anything per player with /mycmd-playerdata. When you launch
$Script$%Variable%$unique_players_joined+1
add this other line :
Then you can access to it as a placeholder with : "$PlayerData%unique_player_id%" or "$PlayerDataFor%PlayerName%unique_player_id%", there is also a placeholderapi support for playerdata,
-
View User Profile
-
Send Message
Posted May 29, 2019In reply to ivanfromitaly:
Thank you VERY VERY much for your help! Looks exactly like what i was looking for but sometimes it feels i stare at the forest and cant see the trees.
You are truly an amazing dev. !
Have a wonderful day, Cheers!
- Digi
-
View User Profile
-
Send Message
Posted May 25, 2019Hi there
Is there any way to test if a player has a bed location (registred by minecraft) and teleport him to it (and teleport him to another location if not)?Could it be a feature?
Thank you
-
View User Profile
-
Send Message
Posted May 27, 2019In reply to Forge_User_80075269:
I've looked into, but the getBedLocation seems half broken, i need more experimentation, i will find a way.
-
View User Profile
-
Send Message
Posted May 27, 2019In reply to Forge_User_80075269:
I was using the wrong method. Anyway, here you go, if you want try it :
Link Removed: https://www.mediafire.com/file/a8ln7oe7fj5jcfh/MyCommand_v5.5.1dev_may27.zip/file
-
View User Profile
-
Send Message
Posted May 28, 2019In reply to ivanfromitaly:
Thank you to be so quick guy!!
I just tried your script, I'm not sure it works, even if I slept in a bed it returns "not found"
-
View User Profile
-
Send Message
Posted May 28, 2019In reply to Forge_User_80075269:
OKAY I understand, it works. But it does not work if bed is obstructed... It is the weird minecraft behaviour ^^
-
View User Profile
-
Send Message
Posted May 24, 2019My command does not work (plugin used for shop is Quantumshop 1.9-1.14
please help
shop:
command: /shop
type: RUN_COMMAND
runcmd:
- /shop open
permission-required: false
-
View User Profile
-
Send Message
Posted May 25, 2019In reply to Forge_User_27476696:
The command input is the same as the command output, so it creates a loop. I don't know, if the plugin have some aliases built in, you can use them, otherwise i guess, you can add them manually in the Quantumshop plugin.yml file inside the Quantumshop.jar archive. If you want to do that, open plugin.yml and add under the command shop the alias you want. Anyway, anytime the author update the plugin you need to do that again. Try to ask the dev of the plugin if he can add that alias for you.
commands: shop: aliases: [new_command]-
View User Profile
-
Send Message
Posted May 22, 2019Some things does not work in version 1.8.8, example the system of title and subtitle.
-
View User Profile
-
Send Message
Posted May 23, 2019In reply to pretti_:
The core of the plugin and most of his functions works on all the versions i've checked as "working". There is a warning in the plugin start who say exactly this. The best i can do is block the unsupported features with a message, so it doesn't give you an error. Anyway, from what i can remember, the API for the Title in 1.8.8 were half broken, and the best it allowed you to do was the same you can do with /title.
-
View User Profile
-
Send Message
Posted May 19, 2019Is there a way to make a command behave differently based on the perms of the user?
-
View User Profile
-
Send Message
Posted May 19, 2019In reply to tubbyflumpkins:
Creating something like this, yes :
-
View User Profile
-
Send Message
Posted May 12, 2019I would like to make this
TokenMaker:
command: /Token
type: RUN_CONSOLE
runcmd:
- /replaceitem entity $player weapon.mainhand $iteminhand{display:{Lore:["$player Token"]}} $amount_iteminhand
As a command that replaces item in hand with the same item but with custom lore. Problem being that minecraft'S /replaceitem is case-sensitve and the output for $iteminhand is in caps. So it doesn't work
I can just do for a specific item instead, and make the command check for said item with an IF statement. But I just wanted to let you know, as a possible improvement to make it use lower cases, for those pesky case sensitive MC commands
-
View User Profile
-
Send Message
Posted May 13, 2019In reply to jef_is_god:
I see, i've added something that's allow you to do that on a forgotten feature "%TempVariable%"
Try in the 5.5.0 version, example of use :
Anyway, there are already some ways to manipulate the iteminhand like :
-
View User Profile
-
Send Message
Posted May 13, 2019In reply to Ivanpro:
Thanks!
-
View User Profile
-
Send Message
Posted May 2, 2019Another question/idea to add,
Cool down applies no matter if command is successful. For instance if i want a command that check if player has enough exp before running command. If they dont have the xp, then I wouldnt want to apply a cool down, i'd just want to msg them the dont have enough xp for it
So is there a way to apply cool down within an if condition?
-
View User Profile
-
Send Message
Posted May 3, 2019In reply to jef_is_god:
Cooldown's check are made before the "runcmd" part, so, that's what happen. if you use built in cost features, those checks are made before the cooldown. Of course in your case you can't do that, but you can make a workaround to do what you want.
Create the first command where you check the exp :
Then create a second one with the cooldown on it and lock it under the "execute_mode: FROM_ANOTHER_COMMAND"
-
View User Profile
-
Send Message
Posted May 3, 2019In reply to jef_is_god:
As i said, i've implemented a sub-command that's allow you to manage active player cooldown's. If you want to try it, i've uploaded an updated 5.5.0 version with that in it.
Link Removed: https://www.mediafire.com/file/b72j57pfpcgg5z5/MyCommand_v5.5.0_alpha_may_3_2019.zip/file
this site don't really love mediafire, it put's file removed before it lol.
Basically that's how you have to use it :
-
View User Profile
-
Send Message
Posted May 3, 2019In reply to Ivanpro:
that makes sense, thanks!