<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paper &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/paper/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Wed, 21 Apr 2021 11:33:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Paper &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Install Paper (with Spigot) on Ubuntu 20.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-paper-with-spigot-on-ubuntu-20-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-paper-with-spigot-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 09 Apr 2021 11:59:37 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3574</guid>

					<description><![CDATA[Paper is a high-performance fork of Spigot. It aims to fix inconsistencies between gameplay and mechanics. Paper has many unique features and changes, including many performance improvements not found in Spigot. Install the required components Paper requires the installation of the necessary components for its correct and fast operation. First, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Paper is a high-performance fork of <strong><a href="https://help.hostry.com/knowledge-base/how-to-install-spigot-on-ubuntu-20-04/">Spigot</a></strong>. It aims to fix inconsistencies between gameplay and mechanics. Paper has many unique features and changes, including many performance improvements not found in Spigot.</p>



<h2 id="install-the-required-components" >Install the required components</h2>



<p>Paper requires the installation of the necessary components for its correct and fast operation. First, you need to install what is indicated by the command below:</p>



<pre class="wp-block-code"><code>apt-get install wget apt-transport-https gnupg</code></pre>



<p>After successfully installing these components, you need to import the <strong>AdoptOpenJDK GPG </strong>key</p>



<pre class="wp-block-code"><code>wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -</code></pre>



<p>This is followed by setting up the appropriate repositories for this imported key:</p>



<pre class="wp-block-code"><code>echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb $(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2) main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list</code></pre>



<p>Update your package index</p>



<pre class="wp-block-code"><code>apt-get update</code></pre>



<p>Install <strong>AdoptOpenJDK</strong>. This can be done using the command below:</p>



<pre class="wp-block-code"><code>apt-get install adoptopenjdk-11-hotspot -y
apt-get install jq -y</code></pre>



<h2 id="create-a-swap-file" id="create-a-swap-file" >Create a Swap file</h2>



<p>To create a swap file. In the example, a&nbsp;<strong>2 GB</strong>&nbsp;file is allocated, but you can set the value yourself as you like and use your resources</p>



<pre class="wp-block-code"><code>fallocate -l 2G /swapfile</code></pre>



<p>You need to set permissions for the paging file. This can be done using the following command:</p>



<pre class="wp-block-code"><code>chmod 600 /swapfile</code></pre>



<p>Allocate space needed for swap</p>



<pre class="wp-block-code"><code>mkswap /swapfile</code></pre>



<p>Make your swap file permanent by modifying the fstab file</p>



<pre class="wp-block-code"><code>nano /etc/fstab</code></pre>



<p>The final step for creating a swap file is to add a specific line to the end of the file:</p>



<pre class="wp-block-code"><code>/swapfile   none    swap    sw    0   0</code></pre>



<h2 id="install-paper" >Install Paper</h2>



<p>Before installing, you need to make sure that you are currently located in your home directory.</p>



<pre class="wp-block-code"><code>cd ~</code></pre>



<p>Create a folder for Paper and download the latest build. This example downloads Paper version 1.16.5. If you need a different version, replace 1.16.5 with the version you want to download.</p>



<pre class="wp-block-code"><code>mkdir paper
cd paper
LATEST_BUILD = $ (curl -X GET "https://papermc.io/api/v2/projects/paper/versions/1.16.5" -H "accept: application / json" | jq '.builds &#91;-1]' )
curl -o paperclip.jar -X GET "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/$ {LATEST_BUILD }/downloads/paper-1.16.5-$ {LATEST_BUILD } .jar "-H" accept: application /
java-archive "-JO</code></pre>



<p>Replace &#8220;BUILD_ID&#8221; in the next command with the desired assembly.</p>



<pre class="wp-block-code"><code>curl -o paperclip.jar -X GET "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/ &#91;BUILD_ID ]/downloads/paper-1.16.5- &#91;BUILD_ID]. jar "-H" accept: application / java-archive "-JO</code></pre>



<h2 id="start-your-server" id="start-your-server" >Start Your Server</h2>



<p>Create a start up script – it is necessary to start your server</p>



<pre class="wp-block-code"><code>nano start.sh</code></pre>



<p>Then you need to paste the following into start.sh. The&nbsp;<strong>4G</strong>&nbsp;options in&nbsp;<strong>-Xms4G -Xmx4G</strong>&nbsp;configure the Java heap space for&nbsp;<strong>4GB of RAM</strong>. Change this to the amount of&nbsp;<strong>RAM</strong>&nbsp;you want to allocate for&nbsp;<strong>Spigot</strong>. The operating system also requires available RAM, please do not assign all available&nbsp;<strong>RAM</strong>&nbsp;to&nbsp;<strong>Spigot</strong>. For example, if the VPS has&nbsp;<strong>8GB&nbsp;</strong>of&nbsp;<strong>RAM</strong>, you might consider&nbsp;<strong>installing -Xms7G -Xmx7G</strong></p>



<pre class="wp-block-code"><code>#!/bin/sh
while true
do
java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar spigot.jar nogui
echo "restarting in 10"
sleep 10
done</code></pre>



<p>Make start.sh executable</p>



<pre class="wp-block-code"><code>chmod +x start.sh</code></pre>



<p>The first time it loads, it prompts you to accept the EULA and fails to load. The script then loops, and you need to type&nbsp;<strong><em>CTRL + C&nbsp;</em></strong>to exit the script at this point. Edit&nbsp;<strong>eula.txt</strong>.</p>



<pre class="wp-block-code"><code>nano eula.txt</code></pre>



<p>Change eula= from false to true. Save and exit the file. Then, after successfully saving, start your server</p>



<pre class="wp-block-code"><code>./start.sh</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-paper-with-spigot-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Paper on Debian 10</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-paper-on-debian-10/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-paper-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 21 Apr 2021 11:33:26 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3619</guid>

					<description><![CDATA[Paper is a high-performance fork of&#160;Spigot. It aims to fix inconsistencies between gameplay and mechanics. Paper has many unique features and changes, including many performance improvements not found in Spigot. Install the required components For Debian 10, Paper requires the installation of the necessary components for its correct and fast [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Paper is a high-performance fork of&nbsp;<strong><a href="https://help.hostry.com/knowledge-base/how-to-install-spigot-on-ubuntu-20-04/">Spigot</a></strong>. It aims to fix inconsistencies between gameplay and mechanics. Paper has many unique features and changes, including many performance improvements not found in Spigot.</p>



<h2 id="install-the-required-components" >Install the required components</h2>



<p>For Debian 10, <strong>Paper</strong> requires the installation of the necessary components for its correct and fast operation. First, you need to install what is indicated by the command below:</p>



<pre class="wp-block-code"><code>apt-get install wget apt-transport-https gnupg</code></pre>



<p>After successfully installing these components, you need to import the&nbsp;<strong>AdoptOpenJDK GPG&nbsp;</strong>key</p>



<pre class="wp-block-code"><code>wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -</code></pre>



<p>The output will be the following:</p>



<figure class="wp-block-image size-large"><img width="810" height="295" src="https://help.hostry.com/wp-content/uploads/2021/04/1.png" alt="" class="wp-image-3626" srcset="https://help.hostry.com/wp-content/uploads/2021/04/1.png 810w, https://help.hostry.com/wp-content/uploads/2021/04/1-300x109.png 300w, https://help.hostry.com/wp-content/uploads/2021/04/1-768x280.png 768w, https://help.hostry.com/wp-content/uploads/2021/04/1-50x18.png 50w, https://help.hostry.com/wp-content/uploads/2021/04/1-600x219.png 600w, https://help.hostry.com/wp-content/uploads/2021/04/1-320x117.png 320w" sizes="(max-width: 810px) 100vw, 810px" /></figure>



<p>This is followed by setting up the appropriate repositories for this imported key:</p>



<pre class="wp-block-code"><code>echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb $(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2) main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list</code></pre>



<p>Update your package index</p>



<pre class="wp-block-code"><code>apt-get update</code></pre>



<p>Install&nbsp;<strong>AdoptOpenJDK</strong>. This can be done using the command below:</p>



<pre class="wp-block-code"><code>apt-get install adoptopenjdk-11-hotspot -y
apt-get install jq -y</code></pre>



<h2 id="create-a-swap-file" id="create-a-swap-file" >Create a Swap file</h2>



<p>To create a swap file. In the example, a&nbsp;<strong>2 GB</strong>&nbsp;file is allocated, but you can set the value yourself as you like and use your resources</p>



<pre class="wp-block-code"><code>fallocate -l 2G /swapfile</code></pre>



<p>You need to set permissions for the paging file. This can be done using the following command:</p>



<pre class="wp-block-code"><code>chmod 600 /swapfile</code></pre>



<p>Allocate space needed for swap</p>



<pre class="wp-block-code"><code>mkswap /swapfile</code></pre>



<p>Make your swap file permanent by modifying the fstab file</p>



<pre class="wp-block-code"><code>nano /etc/fstab</code></pre>



<p>The final step for creating a swap file is to add a specific line to the end of the file:</p>



<pre class="wp-block-code"><code>/swapfile   none    swap    sw    0   0</code></pre>



<h2 id="install-paper" id="install-paper" >Install Paper</h2>



<p>Before installing, you need to make sure that you are currently located in your home directory.</p>



<pre class="wp-block-code"><code>cd ~</code></pre>



<p>Create a folder for Paper and download the latest build. This example downloads Paper version 1.16.5. If you need a different version, replace 1.16.5 with the version you want to download.</p>



<pre class="wp-block-code"><code>mkdir paper
cd paper
LATEST_BUILD = $ (curl -X GET "https://papermc.io/api/v2/projects/paper/versions/1.16.5" -H "accept: application / json" | jq '.builds &#91;-1]' )
curl -o paperclip.jar -X GET "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/$ {LATEST_BUILD }/downloads/paper-1.16.5-$ {LATEST_BUILD } .jar "-H" accept: application /
java-archive "-JO</code></pre>



<p>Replace “<strong>BUILD_ID</strong>” in the next command with the desired assembly.</p>



<pre class="wp-block-code"><code>curl -o paperclip.jar -X GET "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/ &#91;BUILD_ID ]/downloads/paper-1.16.5- &#91;BUILD_ID]. jar "-H" accept: application / java-archive "-JO</code></pre>



<h2 id="start-your-server" id="start-your-server" >Start Your Server</h2>



<p>Create a start up script – it is necessary to start your server</p>



<pre class="wp-block-code"><code>nano start.sh</code></pre>



<p>Then you need to paste the following into start.sh. The&nbsp;<strong>4G</strong>&nbsp;options in&nbsp;<strong>-Xms4G -Xmx4G</strong>&nbsp;configure the Java heap space for&nbsp;<strong>4GB of RAM</strong>. Change this to the amount of&nbsp;<strong>RAM</strong>&nbsp;you want to allocate for&nbsp;<strong>Spigot</strong>. The operating system also requires available RAM, please do not assign all available&nbsp;<strong>RAM</strong>&nbsp;to&nbsp;<strong>Spigot</strong>. For example, if the VPS has&nbsp;<strong>8GB&nbsp;</strong>of&nbsp;<strong>RAM</strong>, you might consider&nbsp;<strong>installing -Xms7G -Xmx7G</strong></p>



<pre class="wp-block-code"><code>#!/bin/sh
while true
do
java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar spigot.jar nogui
echo "restarting in 10"
sleep 10
done</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="242" src="https://help.hostry.com/wp-content/uploads/2021/04/3-1024x242.png" alt="" class="wp-image-3637" srcset="https://help.hostry.com/wp-content/uploads/2021/04/3-1024x242.png 1024w, https://help.hostry.com/wp-content/uploads/2021/04/3-300x71.png 300w, https://help.hostry.com/wp-content/uploads/2021/04/3-768x182.png 768w, https://help.hostry.com/wp-content/uploads/2021/04/3-50x12.png 50w, https://help.hostry.com/wp-content/uploads/2021/04/3-1536x364.png 1536w, https://help.hostry.com/wp-content/uploads/2021/04/3-920x218.png 920w, https://help.hostry.com/wp-content/uploads/2021/04/3-600x142.png 600w, https://help.hostry.com/wp-content/uploads/2021/04/3-320x76.png 320w, https://help.hostry.com/wp-content/uploads/2021/04/3.png 1893w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Make start.sh executable</p>



<pre class="wp-block-code"><code>chmod +x start.sh</code></pre>



<p>The first time it loads, it prompts you to accept the EULA and fails to load. The script then loops, and you need to type&nbsp;<strong><em>CTRL + C&nbsp;</em></strong>to exit the script at this point. Edit&nbsp;<strong>eula.txt</strong>.</p>



<pre class="wp-block-code"><code>nano eula.txt</code></pre>



<p>Change eula= from false to true. Save and exit the file. Then, after successfully saving, start your server</p>



<pre class="wp-block-code"><code>./start.sh</code></pre>



<p>Also, you can check by <strong>chmod + G</strong> Nano Editor commands </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="555" src="https://help.hostry.com/wp-content/uploads/2021/04/4-1024x555.png" alt="" class="wp-image-3639" srcset="https://help.hostry.com/wp-content/uploads/2021/04/4-1024x555.png 1024w, https://help.hostry.com/wp-content/uploads/2021/04/4-300x163.png 300w, https://help.hostry.com/wp-content/uploads/2021/04/4-768x416.png 768w, https://help.hostry.com/wp-content/uploads/2021/04/4-50x27.png 50w, https://help.hostry.com/wp-content/uploads/2021/04/4-1536x833.png 1536w, https://help.hostry.com/wp-content/uploads/2021/04/4-920x499.png 920w, https://help.hostry.com/wp-content/uploads/2021/04/4-600x325.png 600w, https://help.hostry.com/wp-content/uploads/2021/04/4-320x174.png 320w, https://help.hostry.com/wp-content/uploads/2021/04/4.png 1896w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-paper-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
