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
Hello, nice Plugin! But is it possbile to add an "run as operator" ? some functions like, worldguard define,redefine,claim needs to be triggered from the player not the console, so it don't work. I'm happy if this feature will added soon :-)
@jaimecamara
Then ?
I am a Brazilian, and I wonder if you could help me to develop a plugin or even use the mycommand to do, because I have a certain event and my server and want to automate it means being able to talk to me!
I have been trying to get a command to work with spaces, such as
/shop [pagenumber]
So that way my shopping system works better, but if I set up a command
/shop and set text for it, and I setup another called /shop 2, it displays both the text for /shop and /shop 2.
If I do '/shop' and '/shop 2' when I run /shop 2, it only displays /shop.
Is there a way to make it run a command 59 minutes after the server starts like "/say restarting", then to run a command a minute later like "/stop".
Each time I use mycommand to initiate a permission update it causes everyone's mcmmo abilities to turn on, and not turn off, based on their very next action. After I use mycommand to initiate a permission update (permissionsex) if a user punches a mob, they receive unlimited bezerk. if a user is mining, he receives infinite superbreaker. if a user is logging, he receives infinite tree feller.
one of th ebest plugin i ever seen O.O i translated in italian all commands of Essentials ahah :D
Hey Ivan,
Just wanted to say 'Thanks' for your brilliant Plugin. Everything's perfect, since Update 3.6 - Don't got any "Unacceptable Character"-Notifies, since I'd taken a look on the Config-File.
The problem with the "unacceptable character" / '�' in "<string>", on position 469 is easy to fix the actual problem is the default config.yml file the plugin uses when it first starts up.
Use winrar and open the plugin and open the config.yml
The lines:
Are causing the problems, adjust accordingly and it will work without a problem. If you don't need to use economy related commands I adjusted it to this.
I don't have any problems. Obviously if you do require economy to work you need to find a different work around.
Hope that helps.
ok .. please understand!
I've tried searching this blessed special character,but it does not exist ...
The strange thing is that no error appears in my console on my pc.
but when I upload the plugin to the host, "theminecrafthost" that uses multicraft console, it shows these errors.
already inspected the entire text for these special characters and continues to provide Feedback error.
So i think: I put only the mycommand.jar and configure commands in the game, however when loading configuration files error persists.
the error may be in the file format.
I Love this plugin Please Update.
@Ivanpro
Where to find the unacceptable character? I've got the same error.
Which file and where in the file?
The 3.6dev don't work in Craftbukkit 1.4.5.dev-2 the 3.5 work but one error message like other
@promarcos
for the first error find the unacceptable character '�' in "<string>", on position 469 and change/fix it.
instead,for the java.lang.NullPointerException,regenerate the config.yml.
Im my console, show this error:
2012-11-21 00:29:44 [INFO] [MyCommand] Enabling MyCommand v3.6dev
2012-11-21 00:29:44 [INFO] [MyCommand] Hooked MyCommand Vault
2012-11-21 00:29:44 [INFO] [MyCommand] Spout not detected.Disabling spout feature.
2012-11-21 00:29:44 [SEVERE] Cannot load configuration from stream
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 469
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at me.mri.mycommand.mycommand.SetupConfig(mycommand.java:388)
at me.mri.mycommand.mycommand.onEnable(mycommand.java:127)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:298)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:280)
at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:147)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 469
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 17 more
2012-11-21 00:29:44 [INFO] [MyCommand] Custom Commands : 20
2012-11-21 00:29:44 [INFO] [MyCommand] Config Ready
2012-11-21 00:29:44 [INFO] [MyCommand] v3.6dev Active. by MRI a.k.a Ivanpro
2012-11-21 00:29:44 [SEVERE] Error occurred while enabling MyCommand v3.6dev (Is it up to date?)
java.lang.NullPointerException
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:578)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:560)
at me.mri.mycommand.mycommand.DateTime(mycommand.java:530)
at me.mri.mycommand.mycommand.onEnable(mycommand.java:158)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:298)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:280)
at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:147)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>",
Seems this to be your problem with your error, however I am not the Plugin coder so dont take my word for it.
Still waiting for a reply to my question.
@demianxxll
Im getting that too!
Pleas fix this little Problem. Thanks
2012-11-18 16:35:41 [INFO] [MyCommand] Enabling MyCommand v3.6dev 2012-11-18 16:35:41 [INFO] [MyCommand] Hooked MyCommand Vault 2012-11-18 16:35:41 [INFO] [MyCommand] Spout not detected.Disabling spout feature. 2012-11-18 16:35:41 [SEVERE] Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 469 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at me.mri.mycommand.mycommand.SetupConfig(mycommand.java:388) at me.mri.mycommand.mycommand.onEnable(mycommand.java:127) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252) at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:147) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 469 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 17 more 2012-11-18 16:35:41 [INFO] [MyCommand] Custom Commands : 20 2012-11-18 16:35:41 [INFO] [MyCommand] Config Ready
Can you please release a version of this plugin that is compatable with AutoRunCommands (Your commands are not regonised by AutoRun) for 1.2.5 R4.0 ?
Can I have the source code or the part that makes so in config.yml, I can use &a and the colour code. I would need that for my plugins config. Thanks a bunch! :D