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 Aug 28, 2012@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.
-
View User Profile
-
Send Message
Posted Aug 28, 2012@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
-
View User Profile
-
Send Message
Posted Aug 28, 2012@Ivanpro
Mycommand v3.4
type: text not work.
-
View User Profile
-
Send Message
Posted Aug 28, 2012@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 :)
-
View User Profile
-
Send Message
Posted Aug 28, 2012@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.
-
View User Profile
-
Send Message
Posted Aug 27, 2012Please 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.
-
View User Profile
-
Send Message
Posted Aug 27, 2012Looks 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
-
View User Profile
-
Send Message
Posted Aug 26, 2012@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/
-
View User Profile
-
Send Message
Posted Aug 26, 2012Ooops! It's my fault! I download version for bukkit 1.3.2-R0.1, but i have 1.3.1-R2.0
-
View User Profile
-
Send Message
Posted Aug 26, 2012@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.
-
View User Profile
-
Send Message
Posted Aug 26, 2012Can anyone make for me a command? When Im trying to add, it says unknown command.
The command should be /save and should do these commands:
- /save-all - /rg save
Thanks.
-
View User Profile
-
Send Message
Posted Aug 22, 2012Please add a config line to add cost to the commands. The way you add the commands makes it impossible for any other plugin to put a cost on your commands! This really really needs to be implemented!
-
View User Profile
-
Send Message
Posted Aug 20, 2012I got it working now thanks
-
View User Profile
-
Send Message
Posted Aug 20, 2012@rsshelas
the $arg1 does not belong in the command: line. it is used in the text/runcmd lines..
If /newisland Notch were run it would always set the balance of the player running the command.
i think what your trying to do is
now if /newisland Notch was run, it would set Notch's balance to 30.
-
View User Profile
-
Send Message
Posted Aug 20, 2012What am I doing wrong here?
-
View User Profile
-
Send Message
Posted Aug 18, 2012needs a way to set a cost on the commands. I cannot get a few different plugins to put a cost on these commands. anyone have any suggestions to doing this? just having it run a /eco take will not work because it allows the other commands to be run even if they don't have the money.
The plugin states it has vault support, What is it accually supporting, just the perms? Could economy costs please be set on the commands.
anyone have any suggestions?
-
View User Profile
-
Send Message
Posted Aug 15, 2012I just thought of a great new feature. When you type /region addmember, it outputs something like Usage: /region addmember [region] [player]. This is nice for new players that dont fully understand the commands. Lets say you add a MyCommand for /addmember [region] [player], currently, if the player messes up the command some how it outputs this long string with %arg1 and other things that might confuse your average player. Personally, I think it would be cool if you could customize a commands 'failure' message so when someone miss-uses the /addmember command it would output a configurable message like "Usage: /addmember [region] [player].
-
View User Profile
-
Send Message
Posted Aug 14, 2012Excellent plugin. Highly flexible.
-
View User Profile
-
Send Message
Posted Aug 14, 2012Little tip: OPs have all permission for all commands - when you edit the ops.txt, reload will not remove the permissions ... after the restart everything works :)
-
View User Profile
-
Send Message
Posted Aug 14, 2012@MinecraftAdmin
put disabledebugmessage: true in the config file.
@saki2fifty
It's a great idea,but currently i dont have much time to do this.
@wafffllesss
Maybe in the next version :D