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
Great. I did /mycmd-reload , Thinking it would be faster than /reload and i wanted to use the command i just made in the config file. Turns out that /mycmd-reload resets the whole config file. Thanks.
Fix this, and also, Make it so If I delete the examples from the config file, they don't keep coming back.
How do you customize the shortcuts so that you need permission to use the commands inside them. For instance, I use the shortcut /addmember for /region addmember. Currently, users can add themselves to any region they want as if they are running /region addmember from consol. I want people to be able to use /addmember, but only on their own regions!
Hallo, so if I'm right I can get this plugin to recommand the /econ to /money like, I'll type in /money on my server and it will recognize that and make it /econ. ??? Thanks JukkaTibbs~
The text type isn't working at ALL for me. It just says invalid type. runcommand-text works, but spamguard kicks in and tells them to stfu.
@rickoman
How i set up this option? That costs a command? Whit which Plugin?
@rickoman
In the main config ,you can change the economy.allowdebit value to false for disabling the bypass without money.
I like the plugin, but there is a bug: if you charge a cost for a command, when the player does not have enough money, the command is executed anyway, and bypasses the delay too.
Also, is it possible to let us configure the messages, or if not, can you change the following:
"The command are performed in"
to:
"The command will be performed in"
HELP I have more than 20 ... but number 21 and so on can use all? Why? Can i stop that? 1 - 20 you need permssions but 21+ not... ?
Can you make it so that running a MyCommand runs from the player instead of the server? I want to make a shortcut for /region addmember as just /addmember, but since its run by the server it allows them to add anyone to any region. This is a major issue.
@Ivanpro
No idea what you mean. I'm using the & char, which is the actual char for colors for the prefixes. So in the commands file i put [&aMember&f], and when i reload anything, it changes their prefix in chat to [?aMember?f]. Which, because ? isn't the color code, it actually shows as [?aMember?f]
@CJxD
I tryed my plugin alone and works fine without any memory leak,in any situation.
@draxcp6
1. yes,i see what to do. 2. in my plans.
@ZwingGX
Mmm,yes it's my error...for work ,leave a empty runcmd also if you don't use.
@thernztrom
Ok,i update the "configuration and example" reference
@deathhzone
Try to put manually the § char in the config file ,like a "[§aMember§f]" or " [$redMember]" ecc.
@Ivanpro
The "cooldown" feature works like a warmup feature for me. When I perform the command, it doesnt perform it and then add a cooldown, instead it says performing command in X seconds. :S
@Ivanpro
Mycommand v3.4
type: text not work.
@draxcp6 Forget about my problem. It seemed that I putted command.cmd.command_name instead command.cmd.command_number.
So I have 2 suggestions for this plugin:
- make also possible to bind mycommand.cmd.command_name
- make template.yml file so we can make translations
Overall, it is really good plugin :)
@CJxD I experience same problem.
Also, I tried to put permissions for group mycommand.* and I can't use any commands (related to MyCommand plugin). When I OP myself I can use commands normally. I read permissions examples, but I guess that I am missing something...
Running latest recommended build of bukkit.
Please fix this.
I have latest version(3.4), and I use it for bPermissions, so to upgrade someones rank, i have it using "runcommand", and it basically does
/world world /user $arg1 /user addgroup member /user meta prefix [&aMember&f]
and it works fine, but then, when i /reload, or restart the server, or basically do a reload specific to a plugin, such as, /mycmd-reload, it turns their prefix into [?aMember?f]
Which actually shows ingame as [?aMember?f] with no actual colours.
Looks like there's a memory leak somewhere.
Using CB 1.3.1-R2.0 #2340, after 5-10 reloads of the server, I get an OutOfMemoryException for the heap and a server crash. RAM usage is stable and fine, it's just the heap.
99% sure that it is MyCommand causing this after process of elimination.
Used MyCommand v3.3
@vladislavbyk
it's also my fault,but on bukkit 1.3.2 works fine ..lol
Integer cannot be cast to java.lang.Double
Now re-upload a fixed 3.4 version :D
Download here http://dev.bukkit.org/server-mods/mycommand/files/35-mycommand-v3-4/
Ooops! It's my fault! I download version for bukkit 1.3.2-R0.1, but i have 1.3.1-R2.0
@fazaro
Same problem, and have this when i try to run command.
01:06:35 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:871) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double at me.mri.mycommand.mycommandPlayerListener.onPlayerCommandPreprocess(mycommandPlayerListener.java:118) at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more
But if i run command in console - all works.