Table of Contents |
---|
Supported Features
Create | Cancel | Suspend | Unsuspend | Management | Config Options |
---|---|---|---|---|---|
YES | YES | YES | YES | YES | YES |
Management Features
This module supports the following management features within the client area:
- View Server Status
- Restart Minecraft Server
- Stop Minecraft Server
- Start Minecraft Server
- Set Server to Day Time
- Set Server to Night Time
- Set Server Name
- View Connected Players
- Kick Players
- Server Console
- Log in to Multicraft
Installing Multicraft
To install the Multicraft module, visit [Settings] > [Company] > [Modules] > Available, and click the "Install" button for Multicraft.
A message will be displayed, indicating that the module was successfully installed. Then click the "Add Server" button.
Enter the details for your Multicraft master server.
Field Name | Description |
---|---|
Server Label | Enter a label for this Multicraft master server, it can be anything you like. |
Panel URL | Enter the full URL to your Multicraft Panel, ie "http://multicraft.mydomain.com/". This is where you login. |
Panel API URL | Enter the full path to your api.php, usually the Panel URL with /api.php appended, ie "http://multicraft.mydomain.com/api.php". |
Username | Enter your Multicraft username. |
API Key | Enter the API key for Multicraft. This can be found in Multicraft under Users, by clicking on your username. |
Log All API Requests | It's recommended that this remain unchecked as management features make frequent API calls. Enable for debugging. |
Dedicated IP Addresses | You can add dedicated IP addresses here (optional), just fill out the following
|
After filling out these options, click "Add Server" to add your Multicraft master server.
Most people will only have 1 Multicraft master server listed here. By specifying the Daemon ID via a configurable option, you can set which server Minecraft servers will be created on.
Configurable Options Overview
This module supports configurable options which may alter the provisioning of Minecraft servers. Configurable Options override Package settings.
Not Required
Configurable Options are not required, and this list in no way limits the Configurable Options that can be created. However, only the following Configurable Options can alter the way Minecraft servers are provisioned.
Option Name | Possible Values | Recommended Field Type | Description |
---|---|---|---|
user_players | 0, 1 | Checkbox | Determines whether the owner can set the number of player slots themselves in Multicraft. 1 for yes. |
players | integer >= 1 | Quantity, Dropdown | Sets the number of player slots, overriding the package value. |
memory | integer >= 0 | Quantity, Dropdown | Sets the amount of memory for the server, overriding the package value. |
daemon_id | integer >= 1 | Dropdown | Sets the Daemon ID to use for the server, overrides the package value. Useful for offering servers in different locations, ie "Los Angeles", "Dallas", "Miami" which correlate to Daemon ID's in those locations. |
dedicated_ip | 0, 1 | Checkbox | If 1, attempt to use one of the IP Addresses set for the module. If none are available, the server will default to the main IP. |
jarfile | ??? | Dropdown | The jarfile to use for the Minecraft server. A value of "default" will use the default Minecraft server. Otherwise, enter the jar file name for the server, ie "craftbukkit.jar". |
Creating Configurable Options
The following steps describe how to create configurable options. We will be doing the following:
- Create a Configurable Option Group
- Create Configurable Options, assigning them to the Group (repeat as necessary)
To create a Configurable Option Group, visit [Packages] > Options, and click the "Create Group" button.
Enter a name and description for the group, and click the "Create Group" button.
To create a Configurable Option, visit [Packages] > Options, and click the "Create Option" button. The following are sample configurations for each of the supported configurable options listed above. (Click the images to see full resolution screenshots)
user_players
players
memory
daemon_id
dedicated_ip
jarfile