<?xml version="1.0"?>
<Container version="2">
  <Name>Minecraft-forge</Name>
  <Repository>gitea.fithwum.tech/fithwum/minecraft:forge</Repository>
  <Registry>https://hub.docker.com/r/fithwum/minecraft/</Registry>
  <Network>host</Network>
  <MyIP/>
  <Shell>sh</Shell>
  <BindTime>true</BindTime>
  <Privileged>false</Privileged>
  <Support>https://forums.unraid.net/topic/125134-support-fithwum-minecraft-server/</Support>
  <Project>https://www.minecraft.net/</Project>
  <Overview>This docker will run a Minecraft forge server on java 21.</Overview>
  <Category>GameServers:</Category>
  <WebUI/>
  <TemplateURL>https://gitea.fithwum.tech/fithwum/files-for-dockers/raw/branch/master/templates/minecraft_forge_server_unraid.xml</TemplateURL>
  <Icon>https://gitea.fithwum.tech/fithwum/files-for-dockers/raw/branch/master/icons/minecraft-forge.png</Icon>
  <ExtraParams/>
  <PostArgs/>
  <CPUset/>
  <DateInstalled/>
  <DonateText>Buy me a coffee if you like.</DonateText>
  <DonateLink>https://checkout.square.site/pay/340d93c602a042b8a223a2f7c184a6a2</DonateLink>
  <Description>This docker will run a Minecraft forge server on java 21.</Description>
  <Beta>False</Beta>
  <Date>2025-12-18</Date>

  <Changes>[font size=4][center]Minecraft[/center][/font]

[font size=3][b](2022-06-16)[/b][/font]
&#x00a0;&#x00a0;- Updated base image.
&#x00a0;&#x00a0;&#x00a0;- New tags for fabric, vanilla, testing, forge have been added, the old minecraft fabric template will be removed.

[font size=3][b](2022-06-16)[/b][/font]
&#x00a0;&#x00a0;- Updated base image.
&#x00a0;&#x00a0;&#x00a0;- Added the abillity to change server versions using docker tags.

[font size=3][b](2020-07-01)[/b][/font]
&#x00a0;&#x00a0;- First Test.
  </Changes>
  
  <Networking>
    <Mode>host</Mode>
  </Networking>
  <Data>
    <Volume>
      <HostDir></HostDir>
      <ContainerDir>/MCserver/backup/</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
    <Volume>
      <HostDir>/mnt/user/appdata/minecraft-forge-server</HostDir>
      <ContainerDir>/MCserver</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
  </Data>
  <Environment>
    <Variable>
      <Value>99</Value>
      <Name>PUID</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value>100</Value>
      <Name>PGID</Name>
      <Mode/>
    </Variable>
  	<Variable>
      <Value>false</Value>
      <Name>ACCEPT_EULA</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value></Value>
      <Name>MC_VERSION</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value></Value>
      <Name>FORGE_VERSION</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value>25565</Value>
      <Name>GAME_PORT</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value>4G</Value>
      <Name>XMX_SIZE</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value>2G</Value>
      <Name>XMS_SIZE</Name>
      <Mode/>
    </Variable>
    <Variable>
      <Value>1G</Value>
      <Name>XMN_SIZE</Name>
      <Mode/>
    </Variable>
  </Environment>
  <Labels/>
  <Config Name="Accept EULA" Target="ACCEPT_EULA" Default="false|true" Mode="" Description="Head over to: https://account.mojang.com/documents/minecraft_eula to read the EULA. (If you accept the EULA change the value to 'true' without quotes)." Type="Variable" Display="always" Required="true" Mask="false"></Config>
  <Config Name="backups" Target="/MCserver/backups/" Default="" Mode="rw,slave" Description="" Type="Path" Display="always" Required="false" Mask="false"></Config>
  <Config Name="forge version" Target="FORGE_VERSION" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false"></Config>
  <Config Name="MC version" Target="MC_VERSION" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false"></Config>
  <Config Name="game port" Target="GAME_PORT" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">25565</Config>
  <Config Name="XMX size" Target="XMX_SIZE" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">8G</Config>
  <Config Name="XMS size" Target="XMS_SIZE" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">2G</Config>
  <Config Name="XMN size" Target="XMN_SIZE" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">512M</Config>
  <Config Name="AppData Config Path" Target="/MCserver" Default="/mnt/user/appdata/minecraft-forge-server" Mode="rw" Description="" Type="Path" Display="advanced-hide" Required="true" Mask="false">/mnt/user/appdata/minecraft-forge-server</Config>
  <Config Name="Key 2" Target="PUID" Default="99" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="false" Mask="false">99</Config>
  <Config Name="Key 3" Target="PGID" Default="100" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="false" Mask="false">100</Config>
</Container>
