Installation instructions: Difference between revisions
Appearance
No edit summary |
|||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
=Linux, Unix, MacOS X (Mono)= | =Linux, Unix, MacOS X (Mono)= | ||
{{notice|fCraft has only been officially tested on | {{notice|fCraft has only been officially tested on | ||
*Ubuntu 10 | *Ubuntu 10/12 | ||
*Debian 6 | *Debian 6 | ||
*MacOS X 10.6 | *MacOS X 10.6 | ||
If you are using a different distribution, use at your own risk.}} | If you are using a different distribution, use at your own risk.}} | ||
# Download a current copy of fCraft here: {{LatestVersion}}. Use ''gunzip'' to extract it. | # Download a current copy of fCraft here: {{LatestVersion}}. Use ''gunzip'' to extract it. Read the README file. | ||
# fCraft requires Mono 2. | ## Putting the <code>PlayerDB.txt</code> on an NTFS partition can reduce chance of corruption on unsafe shutdown/power loss. | ||
# fCraft requires Mono 2.8+ (minimum) or Mono 3.0+ (recommended) runtime. You can [http://www.go-mono.com/mono-downloads/download.html download from www.mono-project.org], or (on some Linux distributions) install it through your package manager (like ''yum'' or ''apt-get''). If the latest version of Mono is not available for your platform, you can [[Building Mono|build your own copy of Mono]]. Note that to be able to use graphical fCraft components (ServerGUI and ConfigGUI) you will also need ''libgdiplus'' (GDI+ library). | |||
# If you're intending to run a public server that appears on minecraft.net's server list, you need to import https certificates to tell mono you trust them, this can be done by running <code>mozroots --import --ask-remove</code> as the fCraft user on your system. | |||
# Before starting fCraft, make sure that it has read/write permissions in the fCraft directory. I do not recommend running fCraft as root - it is always safer to run servers under their own limited user accounts. | # Before starting fCraft, make sure that it has read/write permissions in the fCraft directory. I do not recommend running fCraft as root - it is always safer to run servers under their own limited user accounts. | ||
# To run ".exe" files with Mono, use the following syntax: | # To run ".exe" files with Mono, use the following syntax: | ||
#: Mono 2. | #: Mono 2.8+: <code>mono --gc=sgen SomeFile.exe</code> | ||
#: Mono | #: Mono 3.0+: <code>mono SomeFile.exe</code> | ||
{{notice|'''Consider using [[fcraftd]] script, made by Hellenion, to manage your *nix server!}} | |||
# From here on out is roughly the same as on Windows. You can run <code>ConfigGUI.exe</code> to configure your server, and then either <code>ServerGUI.exe</code> OR <code>ServerCLI.exe</code> to start the server. | # From here on out is roughly the same as on Windows. You can run <code>ConfigGUI.exe</code> to configure your server, and then either <code>ServerGUI.exe</code> OR <code>ServerCLI.exe</code> to start the server. | ||
#: If you want to run console-only on a headless server, the ConfigGUI probably won't work for you to configure things. You can run ConfigGUI on your local machine and upload edited config.xml and worlds.xml files. Alternatively, edit <code>config.xml</code> manually with your favorite text editor. Detailed information about config.xml keys can be found [[List of config keys|here]]. | #: If you want to run console-only on a headless server, the ConfigGUI probably won't work for you to configure things. You can run ConfigGUI on your local machine and upload edited config.xml and worlds.xml files. Alternatively, edit <code>config.xml</code> manually with your favorite text editor. Detailed information about config.xml keys can be found [[List of config keys|here]]. | ||
=[[Troubleshooting]]= | =[[Troubleshooting]]= | ||
==Autentication/Decription failed for heartbeats== | |||
This recently surfaced when mollstam introduced https for minecraft.net, causing some trust issues with fCraft's heartbeats, especially under mono, since mono trusts no certificates by default. To fix this one must import certificates, with <CODE>mozroots --import --ask-remove</CODE> Mozillas certificates are imported into mono. This must be done on the user-account that will run the server, importing it as root does not apply it system-wide. (it can be made system wide with <CODE>--machine</CODE> but this is not the default for a reason.) | |||
Latest revision as of 21:25, 2 August 2013
Windows
- fCraft requires Microsoft .NET Framework 3.5. Your system may already have it installed, and you can download it from microsoft.com.
- Download a current copy of fCraft here: 0.644
- Extract the zip file into the directory where you wish to keep all the server data (maps, logs, config, etc).
- Run
ConfigGUI.exebefore starting the server and carefully configure the options. Your configuration will be stored in config.xml. You world list will be stored in worlds.xml. - After configuring the server, you can run either
ServerGUI.exe(GUI version) ORServerCLI.exe(command-line version) to start the server. Do not run both at the same time.
Linux, Unix, MacOS X (Mono)
fCraft has only been officially tested on
If you are using a different distribution, use at your own risk. |
- Download a current copy of fCraft here: 0.644. Use gunzip to extract it. Read the README file.
- Putting the
PlayerDB.txton an NTFS partition can reduce chance of corruption on unsafe shutdown/power loss.
- Putting the
- fCraft requires Mono 2.8+ (minimum) or Mono 3.0+ (recommended) runtime. You can download from www.mono-project.org, or (on some Linux distributions) install it through your package manager (like yum or apt-get). If the latest version of Mono is not available for your platform, you can build your own copy of Mono. Note that to be able to use graphical fCraft components (ServerGUI and ConfigGUI) you will also need libgdiplus (GDI+ library).
- If you're intending to run a public server that appears on minecraft.net's server list, you need to import https certificates to tell mono you trust them, this can be done by running
mozroots --import --ask-removeas the fCraft user on your system. - Before starting fCraft, make sure that it has read/write permissions in the fCraft directory. I do not recommend running fCraft as root - it is always safer to run servers under their own limited user accounts.
- To run ".exe" files with Mono, use the following syntax:
- Mono 2.8+:
mono --gc=sgen SomeFile.exe - Mono 3.0+:
mono SomeFile.exe
- Mono 2.8+:
| Consider using fcraftd script, made by Hellenion, to manage your *nix server! |
- From here on out is roughly the same as on Windows. You can run
ConfigGUI.exeto configure your server, and then eitherServerGUI.exeORServerCLI.exeto start the server.- If you want to run console-only on a headless server, the ConfigGUI probably won't work for you to configure things. You can run ConfigGUI on your local machine and upload edited config.xml and worlds.xml files. Alternatively, edit
config.xmlmanually with your favorite text editor. Detailed information about config.xml keys can be found here.
- If you want to run console-only on a headless server, the ConfigGUI probably won't work for you to configure things. You can run ConfigGUI on your local machine and upload edited config.xml and worlds.xml files. Alternatively, edit
Autentication/Decription failed for heartbeats
This recently surfaced when mollstam introduced https for minecraft.net, causing some trust issues with fCraft's heartbeats, especially under mono, since mono trusts no certificates by default. To fix this one must import certificates, with mozroots --import --ask-remove Mozillas certificates are imported into mono. This must be done on the user-account that will run the server, importing it as root does not apply it system-wide. (it can be made system wide with --machine but this is not the default for a reason.)