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
@NOBUTSS
But...but..... alright.... No butts =P
@Ivanpro
That's alright. ;) Everyone has his busy time.
@Ivanpro
Thanks for looking into it, but the "required_args: 1" is something i'v already tried (i think xd).
"About the aliases, yes, you need to creat multiple command for block all."
Can you show me an example, because "you need to create multiple command for block all" isn't very understandable for me ;-)
@Ikeetjeop
This because you are using an "contains" function. I see to implement and specific "isOnline" function later.
@ThisUsernameIsMine About the "charge-back" it's strange, worked for me on my tests... Anyway you can prevent this using "required_args: 1". (I take a look in it anyway)
The point is, i can't determinate when another command is executed succesful or not, so i need to make the withdraw before.
About the aliases, yes, you need to create multiple command for block all.
@NOBUTSS
Thanks for donation.
PS: this week i don't have time for fix this things or release the 5.3.5.
@IvanPro
Can u fix tis
http://prntscr.com/bosghu
But You are a good coder :) You are a pro ;P
What's the best way to charge money for an already existing command that takes one or more arguments?
And is it possible to use the same command or do i need to create an alias for it?
EDIT 1: Creating an alias only makes MyCommand charge money for the alias command, but not the original command
EDIT 2: (problem) When a command costs money and requires to ben run with arguments but no arguments are given, Mycommand adds more money to the player's ballance (it doesn't subtract/withdraw before charging back the money).
http://i.imgur.com/oLngNmk.gif
Isn't it better to only withdraw/chargeback on a succesful command run?
@Ivanpro
I got it. Can't wait for v5.3.5 release xD
@NOBUTSS
Yep, it's not ready yet.
Awesome update for mysql! Love it and thank you. But a small problem is: when the mysql USE is true,the variables still store in othersdb.yml not in mysql database.
@megakill13
Already answered you (yesterday) in the private comment.
@InvertedTNT
This is not the support page for PlaceHolderAPI, go on that page for support. Anyway, no, there's no problem in my plugin. You just need to set-up placeholerapi.
@JohOply 1 Yeah, i can edit that. 2 Yes, i can. 3: Strange, this must work "$text_to_specific_player%playername%" Anyway i look in that when i have time.
4: Exactly, for this you need to use this 2 lines :
ivan pro help me pls
@Ivanpro
Hey, you have a amazing plugin here but i need help with placeholder's from placeholderapi
PlaceholderAPI supports MVdW placeholders [https://www.spigotmc.org/wiki/mvdw-placeholders/] but i see that your plugin doesn't.
I was trying to use the placeholder {kitbattle_kills} from MVdW when players do a command and the placeholder doesn't work. Because i dont know crap about java :P Is it your plugin that's causing this PlaceholderAPI failure or another variable?
Full Placeholder: %mvdw_{kitbattle_kills}%
I'm also starting to notice that all of the placeholder's from PlaceholderAPI dont work
Please fix,
Thanks, InvertedTNT (Owner of the PvPNation)
@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?
@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.
Hi
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.)
Can you please add $_POST to the CALL_URL ?
here I leave photos of the problem friendPhotos...
'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
your 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 ?.
@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" )