Step #3 Minecraft Spigot Installation

Linode Staff

I am stuck at step 3 in this guide Running a Spigot Minecraft Server on Ubuntu 14.04 and 14.10.

It says to open a file. Is it already there or do I need to create it?

1 Reply

Great question! Step 3 is actually having you create a file using a text editor. If you're not familiar, a text editor, such as nano or vim, does exactly what it sounds like.
It lets you create a new file or alter existing ones. This is a common way to edit configuration files.

To do step 3 of Running a Spigot Minecraft Server on Ubuntu 14.04 and 14.10, you can use nano with the following commands.

1) To create and open a new wrapper.sh file, run this command.

sudo nano /home/minecraft/server/wrapper.sh

2) Paste in the configuration information

#!/bin/bash
cd /home/minecraft/server;
java -XX:MaxPermSize=1024M -Xms512M -Xmx1536M -jar spigot.jar

3) Save and close out of the new wrapper.sh file by hitting:

  • ctrl+x, which initiates trying to close nano
  • then 'y' for yes to save the file
  • then 'enter' to confirm we are saving it as 'wrapper.sh'

If you run the cat /home/minecraft/server/wrapper.sh command, the command line should print your handiwork to your screen.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct