Make your own Commands
Create your own commands with your own permissions and your own messages to display without learn how to code!
How to use
To make a new command, just type the command name in the config.
Then you set under the command name the permission, and the message to display.
If your commands are not working after a reload/restart, you have errors in your config file.
Please check if ALL your messages are in ' ' symbols. If they are in the symbols, please check your config file
HERE for yaml errors.
Permissions
Every command has its own permission node. You can set is in the config.
Permission to reload the config: myoc.reload
Permission to list the commands: myoc.list
Commands
Just type /myoc reload to reload the config.
Just type /myoc list to list all commands and aliases.
@therealspoljo
only to the sender
@JeterLP
Will the message that we specified in the config be displayed to the whole server or just to the sender?
@owenftw
Thanks :-D
@Mike4898
Yes I will keep developing this and if you have ideas, post them!
Sweeet plugin, thanks man :D
Seems like his plugin is not going to be useful for me, it can't brew coffee :(
No but seriously, this is a great plugin, and very useful. Hope you will keep developing this.
Sincerly, Mike4898
What you can add
You can add if you do: '/diamond' It says: 'Here is your diamond' And it use a command: '/give %sender% diamond 1'
Do you mean something like this: /myoc create -c /test -m 'this is a test' -p this.permission
I am working on it. In the next version is a reload command included.
please add commands to this plugin!
@all Im going to release a new version next week with variables like %sender% and
%machinetime% (this shows you the time of the machine where the server is installed. )
The old config folder will be no longer supported, but you can rename it into "MakeYourOwnCommands" then your old commands will be loaded on server restart.
The messages of the plugin will change to [MakeYourOwnCommands] (text) If you install the new version, you have to delete the old "Simple-Info.jar" file in your plugins folder.
@JeterLP
Ok.
@jhs232
I am currently very busy with school, and if I add pages, it wouldnt be so lightweight, but I see what I can do. And the formatting codes are currently in the actual version included, but they are not listed.
@JeterLP
I haven't got PaySafeCard, unfortunately. When will the next version of the plugin be up? And thank you for responding so fast!
@jhs232
Thank you. I know that mcdocs is unstable. Because of that I made this plugin! There is currently no donation link, but you can send me a pn with a paysafecard if you want to donate me!
@jhs232
Formattings are included. Thanks for your ideas.
This plugin is definetely amazing, but I do have 2 suggestions.
Have pages. This makes it so it doesn't fill all the chat, because say you have texts that might normally fill more than the chat limit in minecraft. Config could look like this:
You would do "/test [page]" to see the message. [page] is the optional argument of the page number. If you do "/test 2" you would see page 2 (page 2 would be '1' in the config). If you do not specify the argument, it would simply show page 1. If there are more than 1 page, then beneath the last line of the message on each page it would say something like this: "Page X/Y. To go to next page, do /<command> Z" X is the current page, Y is the total amount of pages, Z is the next page, <command> is the command used for that message. This would not be needed, since you could just put the text in yourself, however it would be neat for lazy people. :P
Also, I think you should add support for format codes. It would be very awesome if you could do that!
Thank you for reading, and I hope that you are considering these suggestions. Jhs232
Definetely a great plugin! Works, and there are no errors at all! Love it! Now that MCDocs is very unstable (usually if you make custom commands they don't work, even though you have no YAML errors or config errors), but this just works like a charm! Great job! Will there be a donate link? I might want to donate, as this plugin is absolutely amazing!