How to add commands.

How to add commands.

Postby ane200055 » 12 Jul 2013, 18:41

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. :)
Website: http://ane200055.co.vu
The Developer of The XtraIRC IRC Client: http://xtrairc.tk
C# coder.
User avatar
ane200055
 
Posts: 98
Joined: 30 Jun 2013, 09:07
Location: United Kingdom

Re: How to add commands.

Postby Breakdown901 » 12 Jul 2013, 19:41

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
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54

Re: How to add commands.

Postby ane200055 » 13 Jul 2013, 09:07

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. :)
Website: http://ane200055.co.vu
The Developer of The XtraIRC IRC Client: http://xtrairc.tk
C# coder.
User avatar
ane200055
 
Posts: 98
Joined: 30 Jun 2013, 09:07
Location: United Kingdom

Re: How to add commands.

Postby ane200055 » 13 Jul 2013, 09:09

Also that bit that says CmdJailmute.cs ... I made a command called /jailmute so that is what I gave the example with. :)
Website: http://ane200055.co.vu
The Developer of The XtraIRC IRC Client: http://xtrairc.tk
C# coder.
User avatar
ane200055
 
Posts: 98
Joined: 30 Jun 2013, 09:07
Location: United Kingdom

Re: How to add commands.

Postby Leeizazombie » 13 Jul 2013, 09:30

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.
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: How to add commands.

Postby Minecrafter4ty6 » 16 Dec 2013, 21:28

I don't have mcdzienny/extras/source what do i do?
Minecrafter4ty6
 
Posts: 16
Joined: 16 Dec 2013, 20:37

Re: How to add commands.

Postby Leeizazombie » 16 Dec 2013, 23:25

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
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.


Return to How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron