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 Oct 16, 2019In reply to ivanfromitaly:
Thanks, problem solved. There was a problem with my hosting, but why I don't know. I changed hosting and everything works fine. Thank you for your answer :)
-
View User Profile
-
Send Message
Posted Oct 11, 2019So i need some help with using $NoReplace
Im trying to set a player as a variable yet the variable just keeps getting replaced by the previous players name, the code is here
- /mycmd-variables set tipplayer $player
how would i use $NoReplace if i dont want to replace tipplayer
-
View User Profile
-
Send Message
Posted Oct 12, 2019In reply to krystilize1:
note: to fix i make 2 tempvars, one that was "tip" and one that was "player", this worked fine, though i would like to know what went wrong...
-
View User Profile
-
Send Message
Posted Oct 10, 2019In the guides it mentions a commands.yml but the plugin didn't come with one. Unless you were referring to the default spigot commands file. I put my commands in the config file and they aren't recognized as commands in-game. Here's a pastebin of my config file with a test command.
https://pastebin.com/BBs9qWJ4
-
View User Profile
-
Send Message
Posted Oct 11, 2019In reply to ZeeKay57:
The command(s) file are stored in /plugin/MyCommand/commands/
by default in that folder you can find a file called examples.yml, take a look.
-
View User Profile
-
Send Message
Posted Oct 11, 2019In reply to ivanfromitaly:
So I do I rename the example.yml or use the example.yml or what?
-
View User Profile
-
Send Message
Posted Oct 12, 2019In reply to ZeeKay57:
How you prefer. Just put the yml files inside the /plugin/MyCommand/commands/ directory.
-
View User Profile
-
Send Message
Posted Oct 6, 2019Would by nice if you can add animals and mobs skins for NPC. Best regards. :)
-
View User Profile
-
Send Message
Posted Oct 4, 2019On my server players get rewarded for voting with 'tokens', a special kind of currency stored in their Playerdata within MyCommand.
Is it possible to create a command that compiles a list of the top 10 players with the most voting tokens?
-
View User Profile
-
Send Message
Posted Oct 10, 2019In reply to Forge_User_90669409:
Nope, you can't create a list from there and sort it by the player with the most tokens. I'll see what i can do, when i have time. Basically i have to create a command who does that for you.
-
View User Profile
-
Send Message
Posted Oct 11, 2019In reply to ivanfromitaly:
You can do this using commands, if you assign every player a tag with the tokens the you can sort the top ten or so with vanilla commands.
-
View User Profile
-
Send Message
Posted Oct 13, 2019In reply to krystilize1:
Don't know, i'm a bit out of the "circle" with those new commands. If there is a way to sort them by those leaderboard tags, good. If you can make an example, is even better.
-
View User Profile
-
Send Message
Posted Sep 20, 2019Why this command doesn't work (Unknown command) https://imgur.com/a/j0dCTbt
-
View User Profile
-
Send Message
Posted Sep 16, 2019hello I would like to know how to block a command with mycommand-
View User Profile
-
Send Message
Posted Sep 15, 2019Hello,
Would you like to tell me how to run command if playerdata 'EXAMPLEPLAYERDATA' not exist? Is there script for this?
-
View User Profile
-
Send Message
Posted Sep 16, 2019In reply to Forge_User_49644732:
If something doesn't exist it should return with "NoData" by default. So, just make an if condition to check if "EXAMPLEPLAYERDATA==NoData", then: ...
-
View User Profile
-
Send Message
Posted Sep 16, 2019In reply to ivanfromitaly:
command: /foo.start.stats.command
type: RUN_COMMAND
execute_mode: EVENT_ONLY
runcmd:
- '$Script$%if%$PlayerData%money%==NoData'
- '$log$NO DATA!'
- '$Script$%PlayerData%money=0'
- '$Script$%if%$PlayerData%money%==0'
- '$log$0!'
- '$Script$%if%$PlayerData%money%>0'
- '$log$0+!'
permission-required: false
If 'money' in playerdata.yml = 0 (read. money: 0) then I see '0' in console.
That mean command is correct but first condition not.
-
View User Profile
-
Send Message
Posted Sep 17, 2019In reply to Forge_User_49644732:
If money isn't in playerdata, it returns NoData as i said. Your script works, you just need to use elseif on the other condition, otherwise they run aswell. If you set money to 0, and then there is the condition "if money == 0" the plugin run that aswell. with elseif instead, only one condition get executed.
-
View User Profile
-
Send Message
Posted Sep 4, 2019I have a problem with SCOREBOARD on mycommand version 5.5.1 which is where SCOREBOARD is not running at all even though I have copied the example on this Page
This My Custom Command SCOREBOARD .yml
ERROR MESSAGE ( CONSOLE )
Sorry For My Bad speaking , I'm From Indonesia
-
View User Profile
-
Send Message
Posted Sep 3, 2019Hi there.
mycmd-itemset Placeholders: $targetentity
use it, the command will be executed twice. why?
itemset:
testlist:
STONE_SWORD:
on_rightclick: $targetentitye
→ <playername>
<playername>