Skip to main content
17 votes

Minecraft server startup/shutdown with systemd

tl;dr: Don't use screen at all. Use RCON to control the server. I realize that screen has been the de facto standard for managing Minecraft servers since forever, but after trying it both ways I've ...
Thom Smith's user avatar
5 votes

I cant use my linux file?

You are trying to install Minecraft.deb locally which, as you can tell, has several dependencies. dpkg doesn't resolve dependencies and that's why you are getting the errors. The only way to install ...
Nasir Riley's user avatar
  • 12.3k
4 votes
Accepted

How should I set up a systemd service to auto-start a server and let me pass commands to it?

I don't have a full answer for you because I can't reproduce the problem. But I've tried to put togeather a minimum verifiable example and had some ideas for troubleshooting: # /etc/systemd/system/...
Stewart's user avatar
  • 16k
3 votes

How to avoid mouse cursor jumping while using xinput Coordinate Transformation Matrix when application releases mouse

My "solution" was to pick a transformation matrix that keeps the cursor in place when it is centered. The matrix you want to use is: Where s is the scaling factor you want for your mouse, e....
Bradley's user avatar
  • 31
3 votes

Is it possible to run Java on arm?

You don’t need an “official” Java from Oracle, OpenJDK is available and just as official; on your Raspberry Pi, sudo apt install default-jre will install the runtime environment, and sudo apt install ...
Stephen Kitt's user avatar
2 votes

How to run Minecraft on Debian 10 buster via Flatpak

If you still do not have installed the Java development kit on your system: sudo apt install openjdk-11-jdk Install Flatpack on your system: sudo su #type your admininstrator password apt install ...
stefansson's user avatar
2 votes

cURL - Download a file with no extension in URL

You need to include the -L, --location option: curl -Lo EconomyShopGUI.jar https://dev.bukkit.org/projects/economyshopgui/files/latest Explanation The URL returns a 302 redirect to /error?...
Anthony Geoghegan's user avatar
2 votes

It doesn't work. Why is that so?

Because you're not doing it properly. If you want a more specific answer, properly define "it" and "work". More specifically (albeit speculatively), it appears that you are ...
DopeGhoti's user avatar
  • 79.2k
1 vote

Error: could not open `user_jvm_args.txt`

As it turns out, by adding a user, group, and working directory, it allowed me to start it no problem!
EChumley1310's user avatar
1 vote
Accepted

"Too small maximum heap" Java error in Manjaro Linux running through terminal

The default value for the xmx and xms settings are in bytes so these values are way too small. From man java: -Xmsn Specify the initial size, in bytes, of the memory allocation ...
jesse_b's user avatar
  • 41.6k
1 vote

How to edit a file that only exists on the web? (Debian Linux)

I can't comment yet. This doesn't seem to be in the web as in the url it doesn't appears any server or ip direction. Try typing in the terminal nano url Replacing url by the url given there staring ...
evening_g's user avatar
  • 111
1 vote

dhpcd hogging all recources

do you mean "dhpcd" or "dhcpcd", because I had the same issue, "dhpcd" is a trojan (or at least a not a good program), I recommend you copy you server files and do a ...
Derzombiiie's user avatar
1 vote

How to open Minecraft systemd service server console on CentOS 8?

Change the startup instruction in your minecraft.service from: ExecStart=/usr/bin/java -Xmx2048M -Xms1024M -jar server.jar nogui to: ExecStart=/usr/bin/screen -DmS minecraft-screen /usr/bin/java -...
OctavianX's user avatar
1 vote

Conditionally stop bash loop and send /stop command to game server

I agree with Panki's comment, it sounds like you're better off running your minecraft server as a service. You will basically have to add a few files to the 'systemd' directory which enable the OS ...
estherwn's user avatar
1 vote
Accepted

How can I run socat so it terminate after child exits

The fork option tells socat to continue listening in the main process and handle connections in the child processes. This enables it to serve multiple minecraft server instances at once, one for each ...
XHawk87's user avatar
  • 26
1 vote

How to avoid mouse cursor jumping while using xinput Coordinate Transformation Matrix when application releases mouse

Use Accel Speed instead. For 16000 DPI on my HyperX Pulsefire Surge normal value is -0.935. This bug also works with panel that auto hides, mouse teleports.
T3RY4 RED's user avatar
1 vote

Linux Minecraft Server Closes When I Exit Putty?

I used to run a Terraria Server on a Raspberry Pi, and had the same problem. The solution for me was screen Install it using sudo apt install screen, then run the minecraft server but put screen ...
xxfoofyxx's user avatar
1 vote

Minecraft server startup/shutdown with systemd

Here's one for tmux based on the answer of @darkpenguin: [Unit] After=network.target [Service] WorkingDirectory=/home/minecraft/server/ Type=forking User=minecraft ExecStart=/usr/bin/tmux new-session ...
Autumn's user avatar
  • 171

Only top scored, non community-wiki answers of a minimum length are eligible