# My project: balena Minecraft Server

**URL:** <https://forums.balena.io/t/my-project-balena-minecraft-server/58552>\
**Category:** Project help\
**Created:** [January 22, 2020, 5:10pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552 "2020-01-22T17:10:36Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![AlexProgrammerDE](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alexprogrammerde/32/3040_2.png) [@AlexProgrammerDE](https://forums.balena.io/u/AlexProgrammerDE)\
**Post date:** [June 19, 2020, 6:53am UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/29 "2020-06-19T06:53:38Z")

</div>

@ArianHD ok good. Its updated.

---

<div class="post-metadata">

**Author:** ![ate4110](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@ate4110](https://forums.balena.io/u/ate4110)\
**Post date:** [June 19, 2020, 9:53pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/30 "2020-06-19T21:53:12Z")

</div>

Hi! I love this!

I’m having issues increasing the RAM usage though. I’m using a Raspberry Pi 4 (4GB). I’ve created an Environmental Variable of DOUBLE\_RAM and set it to TRUE. However, every time I start my server it says “Starting jar file with: 1G of RAM”. I also get a lot of warnings that the server is overloaded and can’t keep up.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![AlexProgrammerDE](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alexprogrammerde/32/3040_2.png) [@AlexProgrammerDE](https://forums.balena.io/u/AlexProgrammerDE)\
**Post date:** [June 20, 2020, 4:05am UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/31 "2020-06-20T04:05:02Z")

</div>

@ate4110 welcome to the forum! To prevent anyone asking me to make a var which sets a much bigger amount of RAM i deleted the old one and made a completely new system for the RAM: [https://github.com/AlexProgrammerDE/balena-minecraft-server#custom-ram-optional-link](https://github.com/AlexProgrammerDE/balena-minecraft-server#custom-ram-optional-link)

---

<div class="post-metadata">

**Author:** ![ate4110](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@ate4110](https://forums.balena.io/u/ate4110)\
**Post date:** [June 20, 2020, 3:07pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/32 "2020-06-20T15:07:17Z")

</div>

Awesome! Sorry for the noob question, but where do I change that value?

---

<div class="post-metadata">

**Author:** ![AlexProgrammerDE](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alexprogrammerde/32/3040_2.png) [@AlexProgrammerDE](https://forums.balena.io/u/AlexProgrammerDE)\
**Post date:** [June 20, 2020, 3:44pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/33 "2020-06-20T15:44:52Z")

</div>

Create a variable like the DOUBLE\_RAM variable.

---

<div class="post-metadata">

**Author:** ![ate4110](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@ate4110](https://forums.balena.io/u/ate4110)\
**Post date:** [June 20, 2020, 8:16pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/34 "2020-06-20T20:16:09Z")

</div>

So, for example, I would create a variable called “RAM” and set the value to “2GB”? Is the syntax correct? Is this an environmental variable?

Thank you so much for the help

---

<div class="post-metadata">

**Author:** ![AlexProgrammerDE](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alexprogrammerde/32/3040_2.png) [@AlexProgrammerDE](https://forums.balena.io/u/AlexProgrammerDE)\
**Post date:** [June 20, 2020, 8:27pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/35 "2020-06-20T20:27:48Z")

</div>

The value should be 2G . And yes its an enviromental variable.

---

<div class="post-metadata">

**Author:** ![Donaldus](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@Donaldus](https://forums.balena.io/u/Donaldus)\
**Post date:** [June 26, 2020, 3:58pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/36 "2020-06-26T15:58:38Z")

</div>

Hi there! 😀

This is truly amazing, but I have one question.  
How does one OP himself and/or other players?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rarefruitloop](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rarefruitloop](https://forums.balena.io/u/rarefruitloop)\
**Post date:** [July 10, 2020, 9:02am UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/37 "2020-07-10T09:02:51Z")

</div>

I ran into that problem myself last night.  
make sure your mc-server/serverfiles/server.properties has these 3 lines:  
`
rcon.port=25575
enable-rcon=true
rcon.password=balena
`  
if you have already spun up your server you can edit the server properties using [winscp/filezilla](https://github.com/AlexProgrammerDE/balena-minecraft-server#connect-to-the-file-directory-satellite)  
if you do modify the server.properties file remember to restart the mc-server

Join the game on your minecraft server then while still connected use an RCON program as described [here](https://github.com/AlexProgrammerDE/balena-minecraft-server#connect-to-the-terminal-satellite)

the command you will need to send is:  
`
op your-minecraft-username
`

---

<div class="post-metadata">

**Author:** ![Donaldus](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@Donaldus](https://forums.balena.io/u/Donaldus)\
**Post date:** [July 14, 2020, 6:24pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/38 "2020-07-14T18:24:34Z")

</div>

Thank you sir!  
This worked for me.

---

<div class="post-metadata">

**Author:** ![Goferffxi](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Goferffxi](https://forums.balena.io/u/Goferffxi)\
**Post date:** [September 13, 2020, 1:44pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/39 "2020-09-13T13:44:40Z")

</div>

I’ve followed these instructions, made my pi use 3gb of ram for the server, yet it still states it’s overloaded and on top of that I can’t find the server on any lan connected devices, any ideas?

---

<div class="post-metadata">

**Author:** ![Luismm2311](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@Luismm2311](https://forums.balena.io/u/Luismm2311)\
**Post date:** [December 10, 2020, 8:27pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/40 "2020-12-10T20:27:33Z")

</div>

I am trying to be able to play worldwide following the instructions on the [GitHub page](https://github.com/AlexProgrammerDE/balena-server/blob/master/README.md#play-worldwide-optional-earth_americas) but wen I try to open the port on my tp-link router it asks me for a “External Service Port” that I don’t know were to get.  
Can some one help me?

---

<div class="post-metadata">

**Author:** ![Devlah](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/devlah/32/5420_2.png) [@Devlah](https://forums.balena.io/u/Devlah)\
**Post date:** [February 11, 2021, 6:56am UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/42 "2021-02-11T06:56:49Z")

</div>

Hi there! First of all, thanks soo much for creating this project! I’ve been looking for an easy way to setup a Dedicated Minecraft server on my Raspberry Pi 4 (8GB) for ages, and this is the first method that seems to be ridiculously easy to use.

I’ve gotten as far as getting the default project to run on my server, but I need to use Forge 1.12.2, which of course requires Java-8 rather than 11. Furthermore, I’ve noticed that the system seems to be hard-coded to use the latest vanilla jar files and paper.  
Are there any Device Service variables I could use to specify the JDK and jar file to be used?  
I am attempting to experiment with ways to do this in the meantime, but any help on the matter would be welcome.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![AlexProgrammerDE](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alexprogrammerde/32/3040_2.png) [@AlexProgrammerDE](https://forums.balena.io/u/AlexProgrammerDE)\
**Post date:** [February 18, 2021, 9:39am UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/44 "2021-02-18T09:39:06Z")

</div>

> [@Devlah](#):
>
> jar file to be used

You can set `JAR_FILE` to use a specific file.

---

<div class="post-metadata">

**Author:** ![termax](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/termax/32/5497_2.png) [@termax](https://forums.balena.io/u/termax)\
**Post date:** [February 24, 2021, 6:16pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/45 "2021-02-24T18:16:23Z")

</div>

I also had problem with 8GB raspi4, but worked like a charm with the 4GB version.  
looks like there is an issue to find a proper image for a 8GB raspi4.

Here is the failed build log:  
[Info] Starting build for balena-minecraft-server, user termax  
[Info] Dashboard link: [balena dashboard](https://dashboard.balena-cloud.com/apps/1800064/devices)  
[Info] Building on arm04  
[Info] Pulling previous images for caching purposes…  
[Success] Successfully pulled cache images  
[Info] Starting to build balena-rcon  
[Info] Starting to build wifi-connect  
[Info] Starting to build scp-server  
[Success] Successfully built service wifi-connect  
[Info] Starting to build mc-server  
[Success] Successfully built service scp-server  
[Success] Successfully built service mc-server  
[Success] Successfully built service balena-rcon  
[Info] Uploading images  
[Error] Error:: (HTTP code 404) no such image - no such image: b5fdc6029c90: No such image: b5fdc6029c90:latest  
[Info] Built on arm04  
[Error] Not deploying release.

---

<div class="post-metadata">

**Author:** ![termax](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/termax/32/5497_2.png) [@termax](https://forums.balena.io/u/termax)\
**Post date:** [February 24, 2021, 6:20pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/46 "2021-02-24T18:20:45Z")

</div>

Thanks for a great project. Forced me to learn balena and give up the idea to proceed with ansible 🙂 … Enjoying it with my kids now 🙂 … One question: did you think of some world backup procedure ? Balena does not offer it out of the box. And knowing how unreliable raspi on SD is the idea of losing our world is haunting me 🙂 … Would be grateful for any advice. Since i’m new to minecraft game/servers at least telling which files I need to backup would help a lot 🙂 I’ll google for paper server backup procedures for now 🙂

---

<div class="post-metadata">

**Author:** ![termax](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/termax/32/5497_2.png) [@termax](https://forums.balena.io/u/termax)\
**Post date:** [February 25, 2021, 3:15pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/47 "2021-02-25T15:15:00Z")

</div>

Purchased EasyBackup Psper Server plugin, backups to Dropbox like a charm 🙂 … didn’t try restoring though. :):)🙂 Hopefully that will work too 🙂

---

<div class="post-metadata">

**Author:** ![bsebesty](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@bsebesty](https://forums.balena.io/u/bsebesty)\
**Post date:** [February 28, 2021, 10:37pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/48 "2021-02-28T22:37:06Z")

</div>

I too would be interested in this. We started of with my boys, using 1.15.2. When the clients upgraded to 1.16 I was forced to reinstall everything from scratch to the RPi4 as I found no means to save - if it was possible at all. Obviously this felt the boys sad, but we restarted.  
Now I am wondering how to restart a new map? And is it possible to use a seed for a new map.  
Apart from this, kudos to Alex, I really love this project of his! 🙂

---

<div class="post-metadata">

**Author:** ![AlexProgrammerDE](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alexprogrammerde/32/3040_2.png) [@AlexProgrammerDE](https://forums.balena.io/u/AlexProgrammerDE)\
**Post date:** [March 2, 2021, 1:47pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/49 "2021-03-02T13:47:10Z")

</div>

> [@bsebesty](#):
>
> Obviously this felt the boys sad, but we restarted.

You should try setting `ENABLE_UPDATE` to true in the cloud dashboard. It will try to automatically upgrade your server to 1.16

---

<div class="post-metadata">

**Author:** ![bsebesty](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@bsebesty](https://forums.balena.io/u/bsebesty)\
**Post date:** [March 11, 2021, 8:20pm UTC](https://forums.balena.io/t/my-project-balena-minecraft-server/58552/50 "2021-03-11T20:20:56Z")

</div>

Thanks, Alex. I already got it done, by reinstalling manually. BUT, is there a way to start a new map, without a full re-install? Maybe a terminal command, or just a parameter and then reboot? And could the server start a new map using a seed? (I need to get a map, the kids like - they gave me this as homework :-))

[Previous page](https://forums.balena.io/t/my-project-balena-minecraft-server/58552.md?page=1)

[Next page](https://forums.balena.io/t/my-project-balena-minecraft-server/58552.md?page=3)
