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 17, 2016@DarlingDonkey
You can find API like this https://www.spigotmc.org/resources/wgregionevents-continued.15946/ , so, maybe there is already an plugin who execute command on this events. Check this plugin : http://dev.bukkit.org/bukkit-plugins/worldguard-custom-flags/
@Doktorwhoe
Why do you need that? Anyway, yes, i can add it.
-
View User Profile
-
Send Message
Posted May 17, 2016Hey man, I really love your plugin! I would just like to ask if you cloud make a thing in the language file where you can edit the "check the console for output" message! <3
-
View User Profile
-
Send Message
Posted May 16, 2016@Ivanpro
I swear to god all my accounts are broken... Thanks so much and I love forward to seeing where it goes.
Any idea how ActionZones did it?
-
View User Profile
-
Send Message
Posted May 16, 2016@flyinggoatcheese
This require a constant check on player position, and this can slow down the server. I don't know how works WG, anyway, im not going to add something like this.
For the second request, you can already do this with RUN_COMMAND_TASK and $Script$%while%. But yes, you need to trigger the command when the player enter in that zone.
-
View User Profile
-
Send Message
Posted May 16, 2016Any plans to add command zones?
For example command(s) could run every time you enter or/and leave a zone.
Secondly you could also have command(s) run every x seconds while the player is inside the zone. Maybe it could work with the worldedit wand.
-
View User Profile
-
Send Message
Posted May 15, 2016Iv'e done something to do a quiz here it is(only works on newest Version!):
German:
quiz:
command: /quiz
type: BROADCAST-TEXT
text:
- '&c+&4------------------------&c+'
- ' '
- '&bEin Quiz wurde von &6$player &bgestartet'
- '&bDie Frage lautet:&6&l&n$multiargs?'
- ' '
- '&bWer die Frage zuerst &6richtig &bbeantwortet bekommt &650 Euro'
- ' '
- '&c+&4------------------------&c+'
permission-required: true
permission-node: quiz.ask
permission-error: '&cDu darfst kein Quiz starten!'
done:
command: /richtig
type: BROADCAST-TEXT
text:
- '&c+&4------------------------&c+'
- ' '
- '&6$arg1 &bhat die Frage richtig beantwortet!'
- '&bDie Antwort war:&6$arg2 !'
- ' '
- '&c+&4------------------------&c+'
permission-required: true
permission-node: quiz.answer
permission-error: '&cDu kannst den Gewinner nicht preisgeben!'
English:
quiz:
command: /quiz
type: BROADCAST-TEXT
text:
- '&c+&4------------------------&c+'
- ' '
- '&bA quiz was started by: &6$player'
- '&bThe question is:&6&l&n$multiargs?'
- ' '
- '&bWho answers the question correctly first gets &650 Dollars'
- ' '
- '&c+&4------------------------&c+'
permission-required: true
permission-node: quiz.ask
permission-error: '&cYou may not start a quiz!'
done:
command: /correct
type: BROADCAST-TEXT
text:
- '&c+&4------------------------&c+'
- ' '
- '&6$arg1 &banswered correctly!'
- '&bThe answer was:&6$arg2 !'
- ' '
- '&c+&4------------------------&c+'
permission-required: true
permission-node: quiz.answer
permission-error: '&cyou may not tell the winner!'
Wie funktionier es:
benutze /quiz [Frage] um eine Frage zu stellen!
benutze /richtig quiz [Gewinner] [richtige Antwort] um das Quiz zu beenden!
Permissions
quiz.ask = /quiz
quiz.answer = /richtig
How does it work?
Use /quiz [question] to start the Quiz
Use /correct quiz [Winner] [correct asnwer] to end the Quiz
Permissions:
quiz.ask = /quiz
quiz.answer = /correct
If there are any mistakes correct them.
-
View User Profile
-
Send Message
Posted May 15, 2016@UndeadJ3T
just add - /11 under runcmd? Or... you can simply use $broadcasttext$ in runcmd.
-
View User Profile
-
Send Message
Posted May 14, 2016Yo, is it possible to make this
run_by_console: command: /anmäl type: RUN_CONSOLE runcmd: - /mail send UndeadJ3T &c$player Har Anmält $arg1 (Datum; $todaydate) (Tid; $arg2) Anledning; $multiargs &9(&bIP; &a$getaddress&9) - /tell $player (Tid $arg2) Du har anmält $arg1 för $multiargs. UndeadJ3T tar hand om det så snart som möjligt, Tack! - /tell UndeadJ3T (Tid $arg2) &4$player Har anmält $arg1 för $multiargs. - /tell $arg1 &cDu har blivit anmäld av $arg1.' register: true error-message: '&4[&6*&4] &a/Anmäl (Spelare) (Tid för händelsen) (Anledning)' permission-required: false
run this
broadcast_report: command: /11 type: BROADCAST_TEXT text: - '&6 Hello online players!' broadcast_message_permission_node: delishcraft.misc.see.report.message
i dont get it to work :S
-
View User Profile
-
Send Message
Posted May 11, 2016@KyBLKuBA
Already added. If you want try it, i have uploaded an dev version. You can find the download link in the description.
-
View User Profile
-
Send Message
Posted May 10, 2016@Ivanpro: add option $Script$%PlayerData% for other players...
for example: $Script$%PlayerDataOther$arg1%money to view other player data... :) (player name will be in $arg1)
-
View User Profile
-
Send Message
Posted May 9, 2016@GodsDead Nope. The only thing you can do for now is this :
But editing the permissions in a running server it's not very "performant"
-
View User Profile
-
Send Message
Posted May 9, 2016@Ivanpro
Could I just create a new command in mycommand for /back like /backMyCMD and then create a /back alias with a cooldown and warmup?
-
View User Profile
-
Send Message
Posted May 9, 2016@GodsDead
Works only with the commands created with mycommand. For have both on other plugin commands, i need to create a specific type for it, so for now you can't.
Anyway, for custom command, just put cooldown and warmup under the command.
-
View User Profile
-
Send Message
Posted May 9, 2016Hello @Ivanpro I noticed you fixed a bug to allow us to use Cooldowns and warmups on the same command now! from 5.2.6! Can you show me an example of how I can do this please?
-
View User Profile
-
Send Message
Posted May 9, 2016@flyinggoatman
There is arleady $randomplayer.
You can keep the same player name using the playerdatas or with "TempVariable", but this last need more works (Example, don't work in scripts line).
@EnDoSiA I see, what i can do here.
-
View User Profile
-
Send Message
Posted May 8, 2016Is there a way to have the server pick a random player from the pool of players online. Like this.
Other "$" that could be used could be "$rplayer, $rondomp, $srplayer, $same_random_player and im sure you can think of more."
If this is already a feature then awesome!
Also I'd recommend you add a site to use like pastebin and hastebin for uses to use when pasting logs and configs.
-
View User Profile
-
Send Message
Posted May 8, 2016@Layania
You can't type when you're moving so I'm unsure what you mean?
You could try the command...
And have it run every over command so the player can't move while it's using it. Also you could look into $scripts but I'm not sure how they fully work yet. Hope this helps!
-
View User Profile
-
Send Message
Posted May 8, 2016@Ivanpro
And is there any way to make it go? Because I use the command series that I mentioned I am lower than in other plugins command, as "$Script$%PlayerData%" consola does not support this command does not work in other plugins that's too bad
-
View User Profile
-
Send Message
Posted May 8, 2016Thanks for this usefull plugin !
Need some help, if someone can :)
I want make command usable only when player don't move :)
-
View User Profile
-
Send Message
Posted May 8, 2016@EnDoSiA
The playerdata "scripts" are player-based. The console can't take the place of the "player sender" in this circumstance, so this scripts can't work.