- create a
server
folder - Save the
docker-compose.yml
file inside - Create a folder
data
&modpacks
at the same location with thedocker-compose.yml
file. - Add the modpack server file as AS A ZIP that you downloaded from the https://www.curseforge.com/minecraft/modpacks/ website. In my case : https://www.curseforge.com/minecraft/modpacks/all-the-mods-8/download/4091807
- Change in the
docker-compose.yml
file theGENERIC_PACK
and change theSERVER_FILE_NAME
with you server filename. - Add yourself as
OPS
- Run the server with
docker compose up -d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Extra | |
{ | |
public static class Print | |
{ | |
public static string sentence{ get; set; } | |
public static void Talk() => Console.WriteLine(sentence); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace AboutComments | |
{ | |
using System; | |
static class Product | |
{ | |
public const int CAFE_PRIX = 1; | |
public const int ASSIETTE_PRIX = 15; | |
public const int SANDWICH_PRIX = 10; | |
public const int DESSERT_NORMAL_PRIX = 2; | |
public const int DESSERT_SPECIAL_PRIX = 4; |