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
Its possible to make item permissions? Like: '1': itemid: 1 type: permission display: spout-notification text: - '&4Permission' - '&6You cant use it!!' - 322 Its possible?
Thanks!
Hi Ivanpro,
I was wondering if it is possible to open the "Confirm Link" screen when a command is entered without using spout.
For example,
When someone enters /vote, instead of a link appearing in the chat box and clicking on it, it acts like it has been clicked on and opens up the link confirmation screen instead.
Error: [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand v3.8.1
when somebody is using any command it's saying in the console: 16:42:23 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand v3.8.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerCon nection.java:972) at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.j ava:898) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java :853) at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290 ) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java :113) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:5 98) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:2 24) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:4 94) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java :427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8 49) Caused by: java.lang.NullPointerException at it.mri.mycommand.mycommandPlayerListener.onPlayerCommandPreprocess(my commandPlayerListener.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 16 more
New version : http://dev.bukkit.org/server-mods/mycommand/files/43-mycommand-v3-8-1/ @Clamibot
If you have any error in the config file,fix it with this utility http://yaml-online-parser.appspot.com/ .
@Brocodo Eh,it's useful make periodically a backup of your file.In any case,use the latest build (3.8.1),now the plugin doesn't overwriting the file if have an error.
This plugin keeps erasing the commands I make and replaces them with the commands it comes with.
Any way to fix this? The mod didn't do this before today.
Hey guess what!
All my commands are gone after i updated, thanks man.
That were over 60 custom commands. That took me over 2 weeks to
make. Really thank you man, thanks for the great plugin update.
17.02 23:41:06 [Server] INFO Caused by: java.lang.NullPointerException
17.02 23:41:06 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:849)
17.02 23:41:06 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:416)
17.02 23:41:06 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:481)
17.02 23:41:06 [Server] INFO at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:225)
17.02 23:41:06 [Server] INFO at net.minecraft.server.DedicatedServer.al(DedicatedServer.java:256)
17.02 23:41:06 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
17.02 23:41:06 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
17.02 23:41:06 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
17.02 23:41:06 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:342)
17.02 23:41:06 [Server] INFO org.bukkit.event.EventException
17.02 23:41:06 [Server] SEVERE Could not pass event ServerCommandEvent to MyCommand v3.8.0
NEW COMMANDS.YLM Sorry dude, but i got more than 50 custom commands, its a whole system. I cant just change it, can u make a converter or something? Or just fix it please? This plugin is great and my server depends on it.
When I enter / homereg he gives me No Args Please use:/homereg $arg2 -> Output Commands: blablalba
And I need to write it like that. /homereg <amount> <name>
If I do so that does not work, you would just text, /homereg $agr1 $agr2 not work, write only text...
I'm getting this Error when Restarting/Reloading the Server :
What's that plugin.yml and where is it?
@rautamiekka
Try with a new commands.yml file and see if you get the error.
I get this error:
[Server] INFO Makan747 issued mycmd command : /makan
I get this same complaint in like 5-10 seconds interval:
Hello, its possible to do commands with LEFT CLICK? Like: Left click = /left Right click = /right
:)
@Edge209
My plugin use the PreProcessCommand event,in this way it's impossible register a real command,so you can't dispatch this as a real command.
@Brocodo
Use the latest build :D
@atomfitz
Hi, I'm the plugin author that was helping atomfitz. With my plugin you can create a command string that gets executed using the following bukkit call, after a configurable amount of time that a player has played on a server. Atomfitz is telling me that he gets an "unknown command" error from the console.
Here is my bukkit call:
_plugin.getServer().dispatchCommand(_plugin.getServer().getConsoleSender(), sb.toString())
Where "sb" is of type StringBuilder, and is a construction based upon any sequence of words a server owner defines.
Do you think that this should work with your plugin and how it constructs commands?
Also, none of this plugin's commands function with ontime (another plugin) I'm trying to create custom commands as a reward for playtime, however neither the custom commands, or mycmd's built in commands work. The ontime dev seems to think that "There must be some way then that mycommand interfaces with the server that adds a layer of abstraction, so those commands are not recognized by the internal bukkit command execution function."
Anything to be done about this?
@Ivanpro
Can you please make a cooldown option for buttons and such.
Player can crash the server now by clicking many times one the buttons..
@miningcraftlt
Yes, also the config is resetted ver often, same error.
Is there any way to make a command's cost determined by a variable within the command?