- create a
serverfolder - Save the
docker-compose.ymlfile inside - Create a folder
data&modpacksat the same location with thedocker-compose.ymlfile. - 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.ymlfile theGENERIC_PACKand change theSERVER_FILE_NAMEwith you server filename. - Add yourself as
OPS - Run the server with
docker compose up -d
This file contains hidden or 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 hidden or 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; |