How to Specify Range of Ports to Use in Templates

OS Name/Version: Debian 13

Product Name/Version: Minecraft (Templates)

Problem Description:

Howdy, I’m wondering if it’s possible to set a range of ports that a template could pull from when starting a server. Currently doing this with Minecraft and I see the MinecraftModule.Minecraft.PortNumber parameter. I just don’t want to have any on the default 25565. Is it possible to say something like MinecraftModule.Minecraft.PortNumber=(25566-25599).

Steps to reproduce:

  • Step 1 Create a Template for Minecraft
  • Step 2 Deploy Template with a range of ports
  • Step 3 Fails to deploy as it doesnt accept the range.

Actions taken to resolve so far: Tried a few different ways of inputting port numbers.

This is an application level thing. Simply don’t have that port in your port ranges.

Perfect! Thank you! I totally missed that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.