Minecraft

From TRUgaming Wiki
Revision as of 14:28, 9 August 2019 by Fjamieson (talk | contribs) (Noobs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main Page | All_Supported_Games

General Help Server Admin Info
Noob.png * Noobs Wrench.png *Server Setup
Minecraft-java-edition.jpg * Versions Admin.png * Server Administration

Noobs[edit]

  • When connecting to your TRUgaming Minecraft server, make sure you use the IP Address and Port information provided.
    The default Minecraft server port (25565) may already be assigned to another server.
    If you forget this you may end up on a populated server and wonder why your server is not empty
  • If you cannot connect to your server, after recently reinstalling it, make sure you check the eula.txt file
    the eula= line should read eula=true. By default it is eula=false
    How to edit the eula.txt file
  • Make sure your server version and client version match exactly
    a Minecraft Java Edition client running version 1.14.1 cannot connect to a 1.14.4 server.

Minecraft Versions[edit]

Version/Distribution Info
Java Edition
  • We currently set up servers with Minecraft Java Edition version 1.14.4
    Several older versions are available to be run.
    You can choose a different version by changing it though the Commandline Manager.
    Take a look at the Changing Versions section on this page for more information on how to do this.
Bedrock Edition Server
  • No news yet on when this will be available
  • We are waiting to be able to provide webconsole or RCON access to the server. Neither of which is currently available using our current game management interface.
Craftbukkit/Spigot
Forge or Cauldron

Top

Server Setup[edit]

Server Version Update[edit]

To update your server:

  1. Stop your server
  2. Backup your 'world' files
  3. Click on the Updates icon
    Updates.png
  4. Select appropriate 1.14.x Update to install the update.
    Javaver.png
  5. Go to the Commandline Manager and change your server to the new version (more info here Changing Versions )
    Cmdlinelarge.png
  6. Start your server backup
PLEASE NOTE:
     The initial stable version of Minecraft Java Edition 1.14 was released 4/23/2019.  
     There are still a lot of issues being reported.
     We are not responsible for any corruption or destruction of data as a result of the update.
     If you have any mods, modpacks or plugins, they may not work.  
     It can take a while for mod developers to update their mods, modpacks or plugins to work with the latest release of the game.
     The same holds true for Spigot and CraftBukkit releases.

Top

Server RAM Usage/Sizing[edit]

Vanilla / Craftbukkit / Spigot

  • Players Add 1GB of RAM per 20 players
  • Plugins Add 1GB of RAM per 20 plugins
    (Some plugins are far more resource intensive than others, so depending on which plugins you're using, you may need additional memory.
    Some very resource intensive plugins are: Dynmap, WorldEdit, MCMMO, Factions and many minigame plugins.)
  • Worlds Add 1GB of RAM per 2GB world size on disk
    (The size of your worlds and amount of players exploring them heavily influence the impact your server.)


Modpacks, Forge, Technic, KCauldron & Any Modded Server
Think about getting at least 3GB of RAM for any server using any of the above mods.
Modded servers are very resource intensive and use large amounts of RAM.

EULA.TXT[edit]

If you have ordered a Minecraft Server from TRUgaming.com and you cannot reached it or you have reinstalled your server..

  1. Log in to the Game Control Panel
  2. Locate your Minecraft Server under the Game Services option
  3. Click on the Web Console, this will open a new window. You will see the following text (see output below):
    Make sure to read eula.txt before playing! Exiting.
    Close the Web Console window
    STOP your server
  4. To accept the EULA, you will need to
    1. Launch the File Manager
    2. Locate the eula.txt file and click on the pencil icon to edit it.
    3. You will need to change the eula=false to eula=true
    4. Save the eula.txt file
  5. START your sever back up


EULA.TXT Content

By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
Sun Jul 09 13:56:12 EDT 2017
eula=false

Top

Resetting / Deleteing your 'World'[edit]

If you want to start a new world, you can do it one of two ways:

  1. Delete 'World' folder(s)
    1. Stop your server
    2. Using the File Manager, locate your 'World' folder(s)
      In vanilla Minecraft, this is typically only one folder. By default called 'World
      In Craftbukkit and Spigott, you have at least 3 folders. By default called world, world_nether and world_the_end
    3. Delete the folder(s)
    4. Start your server back up. This will create the new folders and underlying files
  2. Create 'New World' folder(s) NOTE: This will NOT delete your current world but simply create a new set of folders and files
    1. Stop your server
    2. Using the Text Editor
      1. Click on the Text Editor link for the server.properties file
      2. Locate the variable in the file called level-name= and change the value
      3. Save the file
    3. Using the Configuration Editor
      1. Click on the Configuration Editor link for the server.properties file
      2. Enter your new world name in the Level Name: input box
      3. Save the file
    4. Start your server back up. This will create the new folders and underlying files


Top

Changing Versions[edit]

On the TRUgaming servers for Vanilla, Spigot and Craftbukkit options you can choose the version of the Java (.jar) file you want to run.

If you change the version of the server you are running...
  ** REMEMBER **
1) It may not be compatible with the mods/plugins you have been running
2) You may corrupt your 'world'

Before you change version, make sure you have made a copy of your ''world', saving it to your local PC
Or 
Edit your 'server.properties' file under the Configuration Files option, and change your "level-name=", so that a new 'world' is created

    • IT IS HIGHLY RECOMMENDED THAT YOU STOP YOUR SERVER FIRST**
  1. From the Service Information tab, Click on the Commandline Manager
  2. Either edit the existing command line or create a new one
    If a Commandline exists you will see information under the Description and Commandline columns
    Mccmdline.png
    Description is self explanitory
    Commandline consist of elements. The amount of memory allocated to Java (this is what you purchased) followed by the associated .jar file
    1. Editing the existing command line
      Mccmdedit.png
      1. Click on the Selected link on the right hand side of the the screen of the commandline you want to edit
      2. On the Jar: input field, select the appropriate version that you want from the dropdown list
      3. Click on the Save button
    2. Creating/Using a Custom Commandline
      1. Click on the 'New' button from the menu options
        Mccmdnew.png
      2. Enter and appropriate description
      3. On the Jar: input field, select the appropriate version that you want from the dropdown list
      4. Make sure you click on the Select box to make the desired version part of the Commandline
      5. Click on the Save button
  3. To make the appropriate Commandline active, click on the Select on the right hand side of the screen.
    This will change the word Select to Selected
    Mccmdsel.png
  4. Go back to your Service Information tab and START your server

Top

Customizing your look[edit]

Server Icon[edit]

  1. The server icon has to be 64x64 pixels in size and it has to be saved as a PNG type of file. The name of the icon must be server-icon.png and it is case-sensitive!
  2. Once you have your file ready, and named it properly, upload it to your server. You can do this by using your favorite FTP client or the File Manager and placing it in the root of the server
  3. Restart your server, and your server icon should appear.

Server Administration[edit]

How to make yourself a server OP[edit]

  1. From your Service Information tab, Click on the Web Console link.
    MCWebConsole.png
  2. In the the console window that opens up, go down to the Command: line, type "op <username>", where <username> is the Minecraft username of the player you wish to OP.
    As an example, we would type "op crazyfrog", without the quotation marks.
  3. Either click the "Send" button located to the right of the text box, or press the "Enter" key on your keyboard.
    You will receive a response similar to "[Server] INFO CONSOLE: Opped crazyfrog"
    You have now successfully "opped" that username.
  • Note: Ops are automatically white listed, and there is no need to add them to the whitelist

Top

How To Set Up A Whitelist / Make Your Server Private[edit]

A white list is your primary means of preventing unauthorized entry into your server. Any official Minecraft user names that you put in this list will be allowed to enter your server,
While anyone not on in the will be denied access.

IMPORTANT: Before you can add a user to the whitelist, make sure to first allow that user to join your server with the whitelist off so that the server "knows" their UUID/username. Once that is done, you will then be able to re-enable whitelisting and add them as described below.

Top

ACTIVATING/DEACTIVATING THE WHITE LIST[edit]

  1. In order to activate/deactivate the white list, you must first login to your game control panel.
  2. Once in, click on "Configuration Files", then locate the "Server.Properties" file.
    Select either the Text Editor or Configuration Editor option to edit the file.
    1. Text Editor option
      Locate the line white-list=false, change the false to true
      Save your configuration
    2. Configuration Editor Option
      Locate the Whitelist checkbox option at the bottom of the lost of option, click on the check box.
      Save your configuration
  3. Make sure to restart your server after saving the settings on that page.


Alternatively, with some versions of Minecraft, you can also run these commands from the console to control white listing:
whitelist on
whitelist off

Note: Server OPs will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.

Top

ADDING USERS TO THE WHITE LIST[edit]

You can edit the white list file (white-list.txt or whitelist.json) by either editing it using the Configuration Files option or by using the File Manager.
You will have to restart the server for changes to take effect using this method.

PLEASE NOTE:

In newer versions of Minecraft, the existence of white-list.txt file will cause your server not to start or to be unreachable.
This is because the white-list.txt file is converted to whitelist.json and the existence of white-list.txt causes an error

To see if this is the case:

    • Do not stop your server, otherwise you will not have access to the Web Console output **

Open the WebConsole and take a look at the output. You should see something similar to the output below:

[18:09:38] [Server thread/WARN]: **** FAILED TO START THE SERVER AFTER ACCOUNT CONVERSION!
[18:09:38] [Server thread/WARN]: ** please remove the following files and restart the server:
[18:09:38] [Server thread/WARN]: * white-list.txt
[18:09:38] [Server thread/INFO]: Stopping server
[18:09:38] [Server thread/INFO]: Saving worlds
[18:09:38] [Server thread/ERROR]: Exception stopping the server

To resolve this issue:

  1. Stop your server
  2. Using the File Manager, locate and delete the white-list.txt file
  3. Start your server back up
  4. Launch the WebConsole and verify your server starts correctly


Using Configuration Files (white-list.txt ONLY)

  1. Click on the Configuration Files icon
  2. Click on the [Text Editor] link for the white-list.txt file
  3. Add the player names (See file format below)
  4. Save the file
  5. Restart your server

Using File Manager (white-list.txt or whitelist.json)

  1. Click on the File Manager icon
  2. Click on the pencil/Edit icon for the file you want to edit
    white-list.txt or whitelist.json
    NOTE: when editing the whitelist.json file make sure you adhere to the correct structure or your whitelist will nor work and your server may not start correctly
  3. Add the player names (See file format below)
  4. Save the file
  5. Restart your server

Whitelist File Format

white-list.txt
  notch
  user1
  player2

whitelist.json
  [
    {
      "uuid": "xxxxx-xxx-xxxxx-xxxx",
      "name": "username"
    }
  ]
  • UUIDs can be found by using various websites that allow you to search for them via player name.


Using WebConsole

  1. Click on Web Console in the game control panel under Service Information.
  2. You can add users to the white list by typing into the console the following: whitelist add username
    To add the user in-game, you would follow the same format: /whitelist add username
    This method does not require a restart.


Top

OTHER WHITELIST COMMANDS[edit]

These can be used in the Web Console interface

  • whitelist add | remove <playername> - Adds or removes playername from the whitelist.
  • whitelist list - Displays all players in the whitelist.
  • whitelist reload- Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).

How to Add Mods[edit]

To add mod files to your Minecraft server

  1. Locate the mod .jar files on your local PC
  2. Click the File Manager icon in your Service Information tab, in the Game Control Panel
    MCMods.png
  3. Navigate to the mods folder
    MCMods1.png
  4. Click on the Upload button
    MCMods2.png
  5. Click on the Browse icon and navigate to the previously located mod files on your local PC.
    MCMods3.png
    Click on the file you wish to upload and then the Open button to add it to the upload list
    You are limited to 3 file uploads at a time using the File Manager option.
    To upload more than three, you can repeat this process or you can use a FTP client.
  6. Once you have the files in the list you want uploaded, click on the Upload button and the files will be uploaded.

Cannot Connect to Server[edit]

Check the WebConsole output:
[23:39:24] [Server thread/INFO]: Starting minecraft server version 1.13.2
[23:39:24] [Server thread/INFO]: Loading properties
[23:39:24] [Server thread/INFO]: Default game type: SURVIVAL
[23:39:24] [Server thread/INFO]: Generating keypair
[23:39:24] [Server thread/INFO]: Starting Minecraft server on <ip address:port#>
[23:39:24] [Server thread/INFO]: Using default channel type
[23:39:26] [Server thread/WARN]: **** FAILED TO START THE SERVER AFTER ACCOUNT CONVERSION!
[23:39:26] [Server thread/WARN]: ** please remove the following files and restart the server:
[23:39:26] [Server thread/WARN]: * ops.txt
[23:39:26] [Server thread/WARN]: * white-list.txt
[23:39:26] [Server thread/INFO]: Stopping server
[23:39:26] [Server thread/INFO]: Saving worlds
[23:39:26] [Server Shutdown Thread/INFO]: Stopping server
[23:39:26] [Server Shutdown Thread/INFO]: Saving worlds