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
In reply to pretti_:
From the release of Minecraft 1.13 and the newer spigot/bukkit api, they have changed the names of a lot of things. Using the latest version on a older server version can cause problems when the plugin go and call out a item who doesn't exist in the previous version. I will see if i can do something about it, and make it work the best i can on older servers. But i guess some function needs to be cut off, like the player head in the icon menu.
In reply to Ivanpro:
Thanks for your effort <3
Hello,
I have a problem... When I give a group the permission to change the weather to sun if they pay 8$...the command takes 8$ and it doesn't run the command. It says "You don't have the access to run that command"
Can someone help me?
Thanks and have a nice day^^
In reply to king_of_samurai:
Because the command itself (time set day?) Have his permission, and of course if the player paying for that doesn't have that one it doesn't work. You can bypass most of this by letting run the command from the console. Change type from RUN_COMMAND to RUN_CONSOLE
In reply to Ivanpro:
Thanks, but I have another problem...When I run the command, it doesn't change the weather to sun ^^;
I'm usig multiverse btw
In reply to king_of_samurai:
I'm not very familiar with multiverse, but maybe you need to specify the world where the player is in, to make it working properly? Depends on what /time and /weather command you're using, and also, can be a problem if the world name is needed and you're running the command from the console, cause the console as instance doen't have a world name itself.
Check if your time and weather command need more info's (world name) and also if needed run it from RUN_COMMAND and give the player the permission right before executing it for remove it just later done. Check my reply to GimmeWelfare here above, there is add permission example.
How would I do it if I wanted to make a /whois Owner but keep the /whois working normally? (Essentials)
Hey,
I wanted to make an item with command. I would like to make it disappear after use...
I tried with comamdn with item-cost, but it doesnt accept named items...
Any idea how to make VIP items?
In reply to Forge_User_85914176:
I'm looking to upgrade the item-cost function, it already support multiple items in the "dev" version. I'm going to add itemnames and maybe enchantments as variables too.
In reply to Ivanpro:
Wow, would be nice :D
So there's no chance to make items that disappear after use right now?
In reply to Forge_User_85914176:
Maybe you can do something with the "scripts"
There is this place holder who return with the custom name of the item : $name_iteminhand and use '%PlayerOptions%setItemInHand: AIR:1' to replace it with nothing.
In reply to Ivanpro:
Im gonna check it today, thank you very very much :D
Does is execute command as a console?
@EDIT
It works, just changed type to run_console and gave defaults permission:D Thank you very much, you are the best :D
How do I add custom heads to my GUI that I have found on the minecraft-heads website?
¨What is the prefix for player?
In reply to eksybes:
The placeholder* for the player who runs the command is $player a list of placeholders can be found in the configuration and example page
In reply to Forge_User_54099546:
but i want to add a admin gui. But the player thing doesnt work. I followed this:
https://www.youtube.com/watch?v=Z46vhAHcWwA&t=842s
I use V5.3.1
In reply to eksybes:
Are you using the placeholder for the player you want to punish or the staff member who is doing the punishment? If its the first one then you'll just need to add $arg1 to the command and do /punish {player name} for the command (add $arg1 where you want the offenders name to be) if you want the placeholder for the staff member who is doing the punishment then use the one i gave you
In reply to Forge_User_54099546:
Im very noob.
i used this code, but it didnt work:
'PunishGUI':
command: /punish
type: ICON_MENU
iconmenu_title: '&cPunish : &2$multiargs'
iconmenu_size: 27
required_args: 1
error-message: '&cInvalid: &4Use /punish <player>'
register: true
iconmenu_commands:
- '0:INK_SACK:0:/ban $multiargs 3 days Combat Hacks 1st Offence!:&c3 Day Temp Ban(Combat Hacks 1st Offence):&dUse this for first offence of -;&fkill Aura,Speed,Regen,Crits'
- '9:BLAZE_ROD:0:/tempban $multiargs 7d Combat Hacks 2nd Offence!:&c7 Day Temp Ban(Combat Hacks 2nd Offence):&dUse this for first offence of -;&fkill Aura,Speed,Regen,Crits'
- '18:INK_SACK:0:/ban $multiargs Combat Hacks 3rd Offence!:&cperm Ban(Combat Hacks 3rd Offence):&dUse this for first offence of -;&fkill Aura,Speed,Regen,Crits'
permission-required: true
permission-node: admin.punish
In reply to Forge_User_54099546:
I think i have fixed it, but when i click the items, it bans a randomly player on the server.
So the command doesnt ban the player i mentiond in /punish (player), but a randomly player
In reply to eksybes:
is the code above the code you used in the final command?