Skip to main content

Set by step guide for Minecraft: Education Edition Dedicated Server

Comments

3 comments

  • Official comment
    Kyle M

    Connecting to the Server

    To protect students from connecting to rogue servers, a teacher from the same tenant must connect and initialize the server.  I updated classroom mode so teachers can use it to initialize the server.  Here are the steps:

     

    1. Have the teacher remote into the vm as admin and run classroom mode (shortcut on the desktop)
    2. In classroom mode, they should connect to the local server.

    Once they do this any 1.9 user (from the same tenant) should be able to connect to the server

     

    Loading Worlds

    You can load any mcworld file on the server.

     

    You have to do the following:

    1. Copy a mcworld file to the vm (you can download an mcworld file from the internet or copy and paste from your desktop)
    2. Rename the .mcworld file to a .zip file
    3. In explorer, extract the contents of the zip file to the c:\bedrock_server\Worlds folder
    4. Update the level-name field in server.properties file to the world folder you created.

    Update the meeserver\server.properties to add the world name

    level-name=BlocksofGrass

    # Allowed values: Any string

     

    VM Usage

    This offering will use up regular Azure compute hours, I believe the 12-month trial includes some monthly VM compute, so those would be used up by any VMs that are running the dedicated server. Please do keep an eye on any compute used while the VM is up and running.

  • James Davies

    Hi Kyle.

    I’ve managed to get my server up and running with students accessing it externally as well.

    I am however stuck at this point though: I been able to run the Bedrock level and run (only) the Classroom Mode commands from the UI but although I’ve followed your steps for loading worlds, I keep re-producing the Bedrock level and when logging in, arriving there too?

    Now terminal feedback when the server starts prints out that my edited script is being loaded (eg setting creative world, the new world name, how many users etc) yet NONE of these properties are produced when the server is accessed? It’s like it’s stuck in loop-mode for the same level and properties?

    I have tried to debug this issue the following ways:
    - reviewed your steps, removed my ‘unzipped’ mc file, changed code input from ‘creative’ to numerical, tried different deployments from Azure, also set up another ‘clean’ server with no cache full of my editing etc, tried using a different device to access Minecraft, still the same level.. I even tired copying to an external USB then deleting original properties files, fixing all code back to original, zipping files and then reloading onto the virtual machine... still no luck!

    I really hope it’s just some little thing that I’m overlooking, but at this point it seems loading another world onto the remote server isn’t possible via that original ‘Bedrock-Level-Server.exe’ file and the ‘server.properties’ file...

    If possible could you provide suggestions or another way for me to load my students project world onto the server?

    Thank you for your time.

    * I’ll copy/past the contents of my server.properties file, maybe I have typed something wrong..? (Dharug-West... is the name of our mc world)
    ———————————————
    level-name=Dharug-West International 2026
    # Allowed values: Any string

    gamemode=1
    # Sets the game mode for new players.
    # Allowed values: "survival", "creative", or "adventure"

    difficulty=0
    # Sets the difficulty of the world.
    # Allowed values: "peaceful", "easy", "normal", or "hard"

    level-type=FLAT
    # Sets the world type.
    # Allowed values:"FLAT", "LEGACY" or "DEFAULT"

    allow-cheats=true
    # If true then cheats like commands can be used.
    # Allowed values: Any string

    max-players=16
    # The maximum number of players that can play on the server.
    # Allowed values: Any positive integer

    online-mode=false
    # If true then all connected players must be authenticated to Xbox Live.
    # Clients connecting to remote (non-LAN) servers will always require Xbox Live authentication regardless of this setting.
    # If the server accepts connections from the Internet, then it's highly recommended to enable online-mode.
    # Allowed values: "true" or "false"

    white-list=false
    # If true then all connected players must be listed in the separate whitelist.json file.
    # Allowed values: "true" or "false"

    server-port=19132
    # Which IPv4 port the server should listen to.
    # Allowed values: Integers in the range [1, 65535]

    server-portv6=19133
    # Which IPv6 port the server should listen to.
    # Allowed values: Integers in the range [1, 65535]

    view-distance=32
    # The maximum allowed view distance in number of chunks.
    # Allowed values: Any positive integer.

    tick-distance=4
    # The world will be ticked this many chunks away from any player.
    # Allowed values: Integers in the range [4, 12]

    player-idle-timeout=30
    # After a player has idled for this many minutes they will be kicked. If set to 0 then players can idle indefinitely.
    # Allowed values: Any non-negative integer.

    max-threads=0
    # Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible.
    # Allowed values: Any positive integer.

    level-seed=false
    # Use to randomize the world
    # Allowed values: Any string

    default-player-permission-level=operator
    # Permission level for new players joining for the first time.
    # Allowed values: "visitor", "member", "operator"

    texturepack-required=false
    # Force clients to use texture packs in the current world
    # Allowed values: "true" or "false"

    allowed-tenant-id=
    # EDU ONLY
    # Only tenants matching the tenant id will be allowed to connect to the server
    # Your tenant id is avalable in the graph - https://graph.microsoft.com/v1.0/organization

    0
  • Engin Eser

    hi there is there still any way to host it in a same way? i would like to install minecraft edu on a virtual machine to run the host 24/7 according to our organisation and use cases we use. the costs are in this case not important. 

    important is to have a stable solution. we are all in the same tenant so there would be no problem. 

    but i have found the info that this service has been cancelled sind january 2020? 

    would be great to have a solution via the azure cloud or via the new possibilites with microsoft 365 cloud computing. 

    1

Please sign in to leave a comment.