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 Jul 3, 2016@Ivanpro
Thank you very much for your help!! :)
3 little things about that:
- $ponline.contains is case sensitive, could you add an option?
- Could you add something like $ponline.notcontains=$arg1 ? (maybe could be useful)
- How can i send a message to player to say "someone teleport to you"? I tried something, but didn't work (display username of player who seen message)
And different:
About executefor, i tried to add a giveall command to give money for each player online. When i execute this command, each player online has "permission denied". What's the goal of this command ? Is it executed like if each player execute the command?
-
View User Profile
-
Send Message
Posted Jul 3, 2016@EnDoSiA
I have this on my todo list. No ETA anyway.
@JohOply
Use "required_args: 1" for block the command enterily if no arguments is typed.
For check if one player is online, you can use this "$ponline.contains=$arg1"
About the reset, the most efficent way, for now is only this :
Just one thing. If you use the <= without anything saved in the playerdata, you can see one StackTrace Error (Not supposed to be there). Fixed next release.
-
View User Profile
-
Send Message
Posted Jul 2, 2016Hi
How can i remove/empty a variable from the playerdata file for all players? In my case, i want allow players to use a commands twice a day. So i want to reset the variable every day :)
Also, is there any way to check if a player is online? To do something like:
I want allow 5 goto each day for instance, and increase amount of usages only if teleportation successful, so if player is really online :)
(Currently I think there is a little bug, because amount of usage increase only if the $arg1 isn't empty, but $text$ appear even if there isn't argument.)
-
View User Profile
-
Send Message
Posted Jul 2, 2016Can you please add $_POST to the CALL_URL ?
-
View User Profile
-
Send Message
Posted Jul 2, 2016here I leave photos of the problem friendPhotos...
-
View User Profile
-
Send Message
Posted Jul 2, 2016'llaved': command: /tralala123 type: RUN_COMMAND runcmd: - '/crate givekey $player CSGOKey 1' cooldown: 43200 <======= server to reset the countdown start again and gives you the item : / permission-required: false
-
View User Profile
-
Send Message
Posted Jul 2, 2016your plugin is very good but has a little problem when the server restarts see the plugin also resets the cooldown of commands and is annoying You can do the cooldown of commands is saved to the server when the cooldown follow any command as it restarts as I was saved when you create a command with 1000 seconds cooldown stop or restart the server will save the cooldown ?.
-
View User Profile
-
Send Message
Posted Jul 2, 2016@Mat1azkenblock43
Yeah, that's a problem. I have added an permission "mycommand.placeholders.playerdatafor.<variable_name>" . in the next release. (by default now, users can't see any data of playerdatafor). For example, for allow one user to see another player credit, give him "mycommand.placeholders.playerdatafor.credits".
(I don't think it's a problem if an user can see his variables), so it's useless add an permission also for the normal "playerdata".
Use the dev version if you want it now.
@Ikeetjeop For the "Next" command, just use playerdata. (like the "limited command example here" )
-
View User Profile
-
Send Message
Posted Jul 2, 2016can u add next command?
Minewood:
command: /next
type: RUN_CONSOLE
register: true
runcmd:
- '$Script$%if%$Next%1%==1'
- '/msg $player You use tis command 1x''
- '$Script$%if%$Next%2%==1'
- '/msg $player You use tis command 2x''
itemcost: 'WOOD_PICKAXE:1'
Run: /next
You use tis command 1x
Run already: /next
You use tis command 2x
-
View User Profile
-
Send Message
Posted Jul 2, 2016I have a little suggestion!
The users can use $PlayerDataFor%Example%Password in any command of MyCommand, this is a big problem to me, because I have many command made by MyCommand... /msg, /me, /skull, /lottery, etc. My suggestion is than you need a permission to use $PlayerData or any variable $
I try make a "censor in commands" but this not found because $PlayerData replace the text, this only can solved by you! Thanks
-
View User Profile
-
Send Message
Posted Jul 2, 2016@Ikeetjeop
In this way is an 50/50. $randomnumber%2% can be 1 or 2. Increase the randomnumber for decrease changes of success.
-
View User Profile
-
Send Message
Posted Jul 1, 2016Can u maken a %chance for command example:
'Example':
command: /chance
type: RUNASOPERATOR
runcmd:
- '%chache50 /give $player dirt'
- '%chache50 /give $player redsone'
etc... pleas <3
-
View User Profile
-
Send Message
Posted Jul 1, 2016@Ikeetjeop
Create an separate command and call it from the iconmenu.
-
View User Profile
-
Send Message
Posted Jun 30, 2016-
View User Profile
-
Send Message
Posted Jun 30, 2016@Ivanpro
Thank you, this plugin is really magic :p
Is there any wiki to find answer without ask questions to you? I like ask question, but i don't know if you want always answer to the same questions :)
NB: English isn't my native language, please tell me if it's not clear
-
View User Profile
-
Send Message
Posted Jun 30, 2016@Ivanpro
For me it works to go into survival but not to spectator mode.
-
View User Profile
-
Send Message
Posted Jun 30, 2016@dbees2
Works fine for me:
-
View User Profile
-
Send Message
Posted Jun 29, 2016@Ivanpro
Thanks for the help but now it just switches gamemodes and instantly turns you back
-
View User Profile
-
Send Message
Posted Jun 29, 2016@dbees2
It's $Script$%if%$gamemode==SURVIVAL and not $Script$%if%$gamemode=SURVIVAL
-
View User Profile
-
Send Message
Posted Jun 29, 2016So I made a command that is supposed to switch the player between spectator mode and creative mode.
phase: command: /phase type: RUN_COMMAND permission-required: true runcmd: - $Script$%if%$gamemode=SURVIVAL - /gamemode 3 $player - $Script$%else% - /gamemode 0 $player
But instead of switching between gamemode it always set your gamemode to survival. Thanks.