Page 1 of 1

How to add commands.

PostPosted: 12 Jul 2013, 18:41
by ane200055
I know some people may have already made this but decided to make my own version to clear some things up a bit...

1. Look through the command forums and find a command you like the look of.
2. Copy the code into notepad.
3. Save it in MCDzienny>extra>source as Cmd[CmdNameHere].cs so like CmdJailmute.cs
4. Go to your MCDzienny and type /compile NewCmdName
5. Type /cmdload NewCmdName
6. In the folder called text go to the file called cmdautoload and type the name of the new command

Once all of that is done your done.


Congratulations you have added your first command. :)

Re: How to add commands.

PostPosted: 12 Jul 2013, 19:41
by Breakdown901
Ane, nice tutorial, but instead of going into notepad, go to console and write /cmdcreate NewCmdName. If you are doing it by notepad though, remember to save it as CmdNewCmdName.cs

For example, the /add command ismellike made: Save it as CmdAdd.cs

Re: How to add commands.

PostPosted: 13 Jul 2013, 09:07
by ane200055
This is just the way I tried it on my local private server and it was nice and easy to do.
So I showed it this way. :)

Re: How to add commands.

PostPosted: 13 Jul 2013, 09:09
by ane200055
Also that bit that says CmdJailmute.cs ... I made a command called /jailmute so that is what I gave the example with. :)

Re: How to add commands.

PostPosted: 13 Jul 2013, 09:30
by Leeizazombie
I go on Console and do /cmdcreate (command), then paste the code when I open the file from /MCDzienny/extra/commands/source/ then go back to console and type /compile (name), if it compiles I do /cmdload (name)... I would recomened adding all of your commands to the autoloadcmd text in the text folder.

Re: How to add commands.

PostPosted: 16 Dec 2013, 21:28
by Minecrafter4ty6
I don't have mcdzienny/extras/source what do i do?

Re: How to add commands.

PostPosted: 16 Dec 2013, 23:25
by Leeizazombie
Minecrafter4ty6 wrote:I don't have mcdzienny/extras/source what do i do?

gGo on Console and do /cmdcreate (YourCommandName) and the folders should be created