Using the Minecraft Command Console
From CyberWurx Customer Wiki
Revision as of 13:34, 18 March 2011 (edit) Cwadmin (Talk | contribs) (→Script version 0.25.1) ← Previous diff |
Current revision (12:42, 28 June 2011) (edit) (undo) Cwadmin (Talk | contribs) (→Available Commands) |
||
(9 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. |
- | =Urgent news= | + | |
- | Version 0.24 out! Added [[bukkit]] installer. | + | [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= | ||
Line 28: | 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= |
- | For a full list of available commands, see [[:Category:Minecraft Console Command List | Minecraft Console Command List]] | + | For a full list of commands, please visit this http://www.custwiki.cyberwurx.com/index.php/Category:Minecraft_Console_Command_List |
- | 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 section contains a list of the available Minecraft Console Commands. |
- | If you would like to see your current version, run the "about" command. | + | *Commands are sorted by version-added. |
- | ===Script version 0.1=== | + | *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) |
- | about | + | *If you would like to see your current version, run the "about" command. |
- | *Displays information about the script | + | |
- | reload | + | |
- | *This will reload Hey0's mod. | + | |
- | This is useful for installing new plugins or reloading a whitelist. | + | |
- | emergency-backup | + | |
- | *This will run the backup script on demand. | + | |
- | stop | + | |
- | *This command will stop the server. | + | |
- | If you are concerned about hard stopping your server via the game panel, run this first | + | |
- | save-all | + | |
- | *This will save the current world file completely. | + | |
- | save-off | + | |
- | *This will turn off world saving. | + | |
- | Make sure you turn it back on if you want to continue saving your world progress! | + | |
- | save-on | + | |
- | *This will turn on world saving. | + | |
- | ===Script version 0.15=== | + | == Version 0.25.1 == |
- | Changelog: | + | [[Updatebukkit | updatebukkit ]] |
- | Added new function | + | |
- | Fixed a few typos | + | |
- | update | + | == Version 0.24 == |
- | *Saves, stops, and downloads a new minecraft_server.jar file | + | [[Bukkit | bukkit ]] |
- | ===Script version 0.16=== | + | == Version 0.2 == |
- | Changelog: | + | [[Resetworld | resetworld]] |
- | Added new function '''updatescripts''' | + | [[Restartserver | restartserver]] |
- | Fixed a bug that caused the console.cfg file to reset every minute | + | [[Startserver | startserver]] |
+ | [[Togglemod | togglemod ]] -- Removed in 0.23.1 | ||
- | updatescripts | + | == Version 0.19 == |
- | *This will update the backend scripts that are used to run the server. | + | [[Restoreworld | restoreworld ]] |
- | You can find any major bugfixes on the [[Script Changelog]] | + | |
- | '''Recent changes to script structure made this command obsolete and it is phased out''' | + | == Version 0.17 == |
+ | [[Backupconfig | backupconfig]] -- Revised in 0.23 | ||
+ | [[Updatehmod | updatehmod]] -- Replaced with Update | ||
- | ===Script version 0.17=== | + | == Version 0.16 == |
- | Changelog: | + | [[Updatescripts | updatescripts ]] -- Removed in 0.18 |
- | Added hey0's mod update command '''updatehmod''' | + | |
- | Added function to backup hey0 config files '''backupconfig''' | + | |
- | updatehmod | + | == Version 0.15 == |
- | *This will download and replace the current Minecraft_Mod.jar file. | + | [[Update | update ]] -- Revised in 0.23 |
- | *This will also remove the current minecraft_server.jar file and replace it with a new version (if available) | + | |
- | backupconfig | + | |
- | *This will backup your config files for hmod and throw them in a tar file. Your output email will specify which one is available. | + | |
- | ===Script version 0.18=== | + | == Version 0.1 == |
- | Changelog: | + | [[About | about]] |
- | Merged update and updatehmod - These commands did the same thing. | + | |
- | Removed command updatescripts (see Script version 0.16) | + | |
- | No new commands available | + | |
- | ===Script version 0.19=== | + | [[Emergency-backup | emergency-backup ]] |
- | Changelog: | + | |
- | Added new function to restore backups | + | |
- | Added new file: backup-restore.txt | + | |
- | restoreworld | + | [[Reload | reload ]] |
- | *This will restore a world based on a backup location specified in backup-restore.txt | + | |
- | ===Script version 0.2=== | + | [[Save-all | save-all]] |
- | Changelog: | + | |
- | Cleaning up subroutines. If there are any strange anomalies with command console or adverts, please let CW know. | + | |
- | Adding feature to automatically restart the server. | + | |
- | Adding feature to reset your world file | + | |
- | ====Available Commands==== | + | |
- | '''[[restartserver]]''' | + | |
- | '''[[startserver]]''' | + | [[Save-off | save-off]] |
- | '''[[resetworld]]''' | + | [[Save-on | save-on]] |
- | + | ||
- | ===Script version 0.21=== | + | |
- | Changelog: | + | |
- | Added ability to toggle hMod on or off. Falls back to vanilla minecraft. | + | |
- | + | ||
- | ====Available Commands==== | + | |
- | '''[[togglemod]]''' | + | |
- | + | ||
- | ===Script version 0.22=== | + | |
- | Changelog: | + | |
- | -Optimized some back-end code for update processes | + | |
- | + | ||
- | ===Script version 0.23=== | + | |
- | New admin mod coming! Minor patch to get things stable. | + | |
- | + | ||
- | Changelog: | + | |
- | -All update commands for mods disabled for future Bukkit implementation. This includes autoupdate. | + | |
- | -[[update]] command rewritten to update '''just''' minecraft vanilla. | + | |
- | -Modified [[backupconfig]] to remove hMod support and add new native white-list.txt | + | |
- | -Made [[togglemod]] a one way ticket. | + | |
- | + | ||
- | ===Script version 0.24=== | + | |
- | Added ability to install [[bukkit]], and remove some of the junk files hMod spewed out while deployed. | + | |
- | + | ||
- | Changelog: | + | |
- | -Fixed a major bug that was causing the Command Console to stop working since version 0.23 | + | |
- | -Added command [[bukkit]] to install Bukkit | + | |
- | + | ||
- | ===Script version 0.25=== | + | |
- | Added a lockfile and added an intelligent backup system. For more information please see below. | + | |
- | + | ||
- | Changelog: | + | |
- | -Lockfile will lock the script from running more than once within a script's runtime. | + | |
- | This fixes a bug where duplicate emails were being sent out while a command is being ran. | + | |
- | -The current version of the backup script was not taking custom world file names into account when preforming backups. By default, the world/ folder was backed up. | + | |
- | The script will now look in server.properties for the correct world file config and start to backup that folder instead. | + | |
- | + | ||
- | ==Unstable Version== | + | |
- | The development functions are available to the script but are considered unstable until a full line of tests are completed. | + | |
- | Please note, unstable functions are to be used at your own risk! Data loss may occur while using these functions! | + | |
- | + | ||
- | ===Script version 0.25.1=== | + | |
- | Added a function to update to the latest bukkit version available in their "Recommended" builds: [[updatebukkit]] | + | |
- | + | ||
- | Changelog: | + | |
- | -Added [[updatebukkit]] | + | |
- | ====Dev notes==== | + | [[Stop | stop ]] |
- | This was loosely tested and not slated to be used in the auto update process. There is a possibility some of your plugins will stop working when updating. Unless you know for sure your plugins are supported for the new version of Bukkit, "don't fix what ain't broke". | + | |
- | ===Future Version Plans=== | + | = Changelog = |
- | New features! | + | 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
[edit] Version 0.24
[edit] Version 0.2
resetworld restartserver startserver togglemod -- Removed in 0.23.1
[edit] Version 0.19
[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
[edit] Changelog
View the Minecraft Command Console Changelog for information about new features added.