Using the Minecraft Command Console

From CyberWurx Customer Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:50, 4 November 2010 (edit)
Cwadmin (Talk | contribs)
(Script version 0.1)
← Previous diff
Current revision (12:42, 28 June 2011) (edit) (undo)
Cwadmin (Talk | contribs)
(Available Commands)
 
(80 intermediate revisions not shown.)
Line 1: Line 1:
-Minecraft Command Console is a simple way to run basic commands on the console of the game and preform other basic tasks not available to a user with standard FTP access. It is a simple script that runs every minute. This guide is designed to teach you how to utilize this tool to your benefit.+Minecraft Command Console is a simple way to run basic commands on the console of the game and perform other basic tasks not available to a user with standard FTP access. It is a simple script that runs every minute. This guide is designed to teach you how to utilize this tool to your benefit.
 + 
 +[https://secure.cyberwurx.com/signup/v3/?z=html_addons&service_plan_id=9&package_id=46 Check out our 1$/slot Minecraft servers]
 +=Latest Version 0.25.21=
 + 
 +Changelog:
 + -Minor change to email formatting. Properly wraps command output.
 + -Minor bugfixes
 + 
=Configuration= =Configuration=
Minecraft command console is disabled by default. If you would like to use this exciting new feature, you will need to configure it. Minecraft command console is disabled by default. If you would like to use this exciting new feature, you will need to configure it.
-*Configure instructions here!+Simply open the file: '''console.cfg'''
 + 
 +Add your email after email= :
 +*Example
 + '''email=myemail@host.com'''
=Properly Using the Command Console= =Properly Using the Command Console=
-The script will take each of your commands one by one (line by line) and run them. It is very important to use the proper syntax for commands, or they will not run properly.+The script will take each of your commands one by one (line by line) and run them. It is very important to use the proper syntax for commands, or they will not run properly. Once the commands run, the command list will automatically clear itself out.
*Refer back to this document for information regarding the command console. *Refer back to this document for information regarding the command console.
Line 12: Line 24:
We are going to use a string of commands for an example here. I want to use several commands before I turn off my server to make sure it was properly saved. I could also do an emergency backup in case I want to download a quick world file. We are going to use a string of commands for an example here. I want to use several commands before I turn off my server to make sure it was properly saved. I could also do an emergency backup in case I want to download a quick world file.
-To do this, you would simply open the '''commands.list''' file in the '''root''' directory ( '''/''' ) of ftp. If you do not see a commands.list, simply create one and upload it (it should be there already). When you have commands.list open, simply add each command you want to run line by line. Here is an example of an emergency backup and server shutdown (this is useful for updating minecraft).+To do this, you would simply open the '''commands.txt''' file in the '''root''' directory ( '''/''' ) of ftp. If you do not see a commands.txt, simply create one and upload it (it should be there already). When you have commands.txt open, simply add each command you want to run line by line. Here is an example of an emergency backup and server shutdown (this is useful for updating minecraft).
Here is how you do it: Here is how you do it:
Line 21: Line 33:
These three commands will be taken and interpreted by the command console script one by one. A report of the commands will be emailed to you. These three commands will be taken and interpreted by the command console script one by one. A report of the commands will be emailed to you.
-==Available Commands==+=Available Commands=
-===Script version 0.1===+For a full list of commands, please visit this http://www.custwiki.cyberwurx.com/index.php/Category:Minecraft_Console_Command_List
- reload+ 
-*This will reload Hey0's mod.+This section contains a list of the available Minecraft Console Commands.
-This is useful for installing new plugins or reloading a whitelist.+*Commands are sorted by version-added.
- stop+*Please note that development commands may be shown here, but not available to your version. (Development commands will be featured here so you can prepare to use them)
-*This command will stop the server.+*If you would like to see your current version, run the "about" command.
-If you are concerned about hard stopping your server via the game panel, run this first+ 
 +== Version 0.25.1 ==
 +[[Updatebukkit | updatebukkit ]]
 + 
 +== Version 0.24 ==
 +[[Bukkit | bukkit ]]
 + 
 +== Version 0.2 ==
 +[[Resetworld | resetworld]]
 +[[Restartserver | restartserver]]
 +[[Startserver | startserver]]
 +[[Togglemod | togglemod ]] -- Removed in 0.23.1
 + 
 +== Version 0.19 ==
 +[[Restoreworld | restoreworld ]]
 + 
 +== Version 0.17 ==
 +[[Backupconfig | backupconfig]] -- Revised in 0.23
 +[[Updatehmod | updatehmod]] -- Replaced with Update
 + 
 +== Version 0.16 ==
 +[[Updatescripts | updatescripts ]] -- Removed in 0.18
 + 
 +== Version 0.15 ==
 +[[Update | update ]] -- Revised in 0.23
 + 
 +== Version 0.1 ==
 +[[About | about]]
 + 
 +[[Emergency-backup | emergency-backup ]]
 + 
 +[[Reload | reload ]]
 + 
 +[[Save-all | save-all]]
 + 
 +[[Save-off | save-off]]
 + 
 +[[Save-on | save-on]]
 + 
 +[[Stop | stop ]]
 + 
 += Changelog =
 +View the [[Minecraft Command Console Changelog]] for information about new features added.
[[Category:Minecraft]] [[Category:Minecraft]]

Current revision

Minecraft Command Console is a simple way to run basic commands on the console of the game and perform other basic tasks not available to a user with standard FTP access. It is a simple script that runs every minute. This guide is designed to teach you how to utilize this tool to your benefit.

Check out our 1$/slot Minecraft servers

Contents

[edit] Latest Version 0.25.21

Changelog:

-Minor change to email formatting. Properly wraps command output.
-Minor bugfixes

[edit] Configuration

Minecraft command console is disabled by default. If you would like to use this exciting new feature, you will need to configure it.

Simply open the file: console.cfg

Add your email after email= :

  • Example
email=myemail@host.com

[edit] Properly Using the Command Console

The script will take each of your commands one by one (line by line) and run them. It is very important to use the proper syntax for commands, or they will not run properly. Once the commands run, the command list will automatically clear itself out.

  • Refer back to this document for information regarding the command console.

[edit] Command Syntax

We are going to use a string of commands for an example here. I want to use several commands before I turn off my server to make sure it was properly saved. I could also do an emergency backup in case I want to download a quick world file.

To do this, you would simply open the commands.txt file in the root directory ( / ) of ftp. If you do not see a commands.txt, simply create one and upload it (it should be there already). When you have commands.txt open, simply add each command you want to run line by line. Here is an example of an emergency backup and server shutdown (this is useful for updating minecraft).

Here is how you do it:

save-all
emergency-backup
stop

These three commands will be taken and interpreted by the command console script one by one. A report of the commands will be emailed to you.

[edit] Available Commands

For a full list of commands, please visit this http://www.custwiki.cyberwurx.com/index.php/Category:Minecraft_Console_Command_List

This section contains a list of the available Minecraft Console Commands.

  • Commands are sorted by version-added.
  • Please note that development commands may be shown here, but not available to your version. (Development commands will be featured here so you can prepare to use them)
  • If you would like to see your current version, run the "about" command.

[edit] Version 0.25.1

updatebukkit

[edit] Version 0.24

bukkit

[edit] Version 0.2

resetworld restartserver startserver togglemod -- Removed in 0.23.1

[edit] Version 0.19

restoreworld

[edit] Version 0.17

backupconfig -- Revised in 0.23 updatehmod -- Replaced with Update

[edit] Version 0.16

updatescripts -- Removed in 0.18

[edit] Version 0.15

update -- Revised in 0.23

[edit] Version 0.1

about

emergency-backup

reload

save-all

save-off

save-on

stop

[edit] Changelog

View the Minecraft Command Console Changelog for information about new features added.

Personal tools