HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<h1>Rent or Create A Dedicated Rust Server</h1>
<!-- wp:paragraph -->
<p><a href="https://rust.facepunch.com/">Rust</a> offers survival players the possibility to rent servers or create their own dedicated servers. We explain how this works and what you have to keep in mind.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Rust was released in Early Access on December 11, 2013 and left the test phase at the end of 2018. Facepunch Studios regularly releases new, free content for Rust.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>What are the benefits of having my own server? Having your own server gives you complete control over who can play on the Rust server. You can also choose different options to customize the game to your own liking.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>What choices do I have? On your own server you can choose whether you want to play PvP or PvE. So player against player or player against the "environment". If you <a href="https://fatalityservers.com/rust-server-hosting/">rent a server</a>, you only have the options of the game server provider. You have less effort, you don't have to worry about updates and the server is easier to administrate. With a dedicated server, you have more effort in setup and administration, but you have full control over all settings.<br>Rent your own Rust server</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Many game server providers offer Rust servers for rent. The installation and setup is taken care of by the provider and you can perform the most important settings with a mouse click via a web interface in the Internet browser.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>This saves a lot of work and if something does not work, you can contact the respective support team of the provider.</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2>Rent a Rust server - these providers are available:</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>We have chosen three English-speaking providers. When choosing a provider, pay attention to your requirements. Especially mod support, runtime and number of slots can vary. Therefore, compare the different providers and costs.</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul><li>ZAP-Hosting: Slot from 0,36 Euro, from 24 slots for 8,64 Euro per month</li><li>Nitrado: Slot from 0,75 Euro, from 20 slots for 15,50 Euro per month</li><li><a href="https://fatalityservers.com/rust-server-hosting/">Fatality Servers</a>: Only memory is charged, 4 GB from 10 Euro per month</li></ul>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>There are new offers on the net every day and you may find a provider that suits your personal needs better.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>What to consider when renting a Rust server: The administration of a Rust server can take a lot of time. Facepunch, the development studio behind Rust, wipes all servers regularly for new content updates. This is usually about once a month. If you want to play the new update, you always have to wipe your own server, i.e. restart it completely.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>When installing your own server, you can decide whether it should appear in the official ingame list. So that you can play stress-free on your server, we recommend that you consider the following points when choosing a game server provider:</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul><li>Sufficient slots: With the slots, you determine the maximum number of players on your server. More than 200 slots are not recommended. On average, a Rust server has 50 slots.</li><li>Prepaid payment: If you want to rent your own Rust server without a minimum term, you have to pay in advance. If you don't want to play Rust anymore, you can let the server expire and you are not bound to a contract period. However, you have to make sure that you have enough credit if you want to keep it running.</li><li>DDoS protection: A good rental server has some protection against malicious attacks. Many providers have DDoS protection.</li><li>Mod support: Mods like "Rust Oxide" allow you to customize the collection rates. If you want to play with mods, check if the respective provider supports mods.</li><li>Additional memory for mods: If you don't want to play "vanilla", you should already check if there is enough memory for mods when you order. With Rust, you should plan on around 5 GB of storage space for mods.</li><li>Server location in USA: Most game servers in USA are located in LA. A short and direct connection to the server location guarantees you a low ping and fewer lags.</li></ul>
<!-- /wp:list -->
<!-- wp:heading -->
<h2>Create a Rust Dedicated Server</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>For a dedicated Rust server you need a virtual server with Linux or Windows installed.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>If you want to create your own Rust server, we will explain you step by step how it works. The prerequisite is a virtual server on which Linux or Windows is installed. In this guide we will go into the installation under Windows.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>If you want to see the steps in the video, watch the German video of the YouTuber "ZargoZ":</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Your server should meet these requirements: The default size of the Rust map is 3 square kilometers. The Windows server should therefore have at least 8 GB of RAM. Depending on the size and load, you should reserve at least 7 GB of RAM for Rust. With a larger map and the use of mods you should plan at least 16 GB RAM.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Installing SteamCMD: SteamCMD is a free Steam application and the main tool for installing your own Rust server.</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul><li>Create a folder for SteamCMD, for example on c:\steamcmd</li><li>Create a folder for the Rust server, for example c:\rustserver</li><li>Download SteamCMD for Windows from Steam</li><li>Unpack SteamCMD in the folder you created Runs steamcmd.exe</li></ul>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>Install Rust Dedicated Server: To install the Rust server, add the following commands one by one in SteamCMD:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>login anonymous
force_install_dir "c:\rustserver\"
app_update 258550
quit</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>Now you have downloaded all necessary files for a vanilla server. To install mods you need to do some more steps.</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul><li>Change Rust Server Branch</li></ul>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>Rust has a "staging branch" where you can play new updates in advance. These versions may still contain bugs and cause performance problems and crashes. Only switch to the staging branch if you are aware of the risk.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>To switch to the staging branch, run SteamCMD and use the following commands:</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>For the Staging Branch:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>login anonymous
but force_install_dir "c:\rustserver\"
app_update 258550 -beta staging
quit</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>For the pre-release branch:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>login anonymous
force_install_dir "c:\rustserver\"
app_update 258550 -beta prerelease
quit</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>Automatically start and update Rust server: In order for your Rust server to start automatically, a ".bat file" is required on Windows servers. This is created by a right click in the directory - New - Text document.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Create it in the installation directory of your server ("c:\rustserver\") and name it "RustServer.bat". Click on it with the right mouse button and select "Edit".<br>Rename the .txt file to "RustServer.bat".</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Enter the following code into the .bat file and edit the server name, the "Website description" and the server image. Website and server image can alternatively be left blank.</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>echo off
start
C:\steamcmd\steamcmd.exe +login anonymous +force_install_dir c:\rustserver\ +app_update 258550 +quit
RustDedicated.exe -batchmode +server.port 28015 +server.level "Procedural Map" +server.seed 1234 +server.worldsize 4000 +server.maxplayers 10 +server.hostname "Name of the server as it should appear in the server list" +server. description "Description of the server to be displayed when connecting" +server.url "http://yourwebsite.com" +server.headerimage "http://yourwebsite.com/serverimage.jpg" +server.identity "server1" +rcon.port 28016 +rcon.password letmein +rcon.web 1
goto start</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>Individual parameters of the .bat explained:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>+server.level "Procedural Map": defines the type of map. You can choose between: "Procedural Map", "Barren", "HapisIsland", "SavasIsland" and "SavasIsland_koth".
+server.seed 1234: Defines the seed of the map. Values are possible from 0 to 2147483647.
+server.worldsize 4000: Defines the size of the procedurally generated map and the map "Barren". Values from 1000 to 6000 are possible.</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>Connect to the Rust server: Make a note of the IP and port of your Rust server. 28015 is the default port, 28016 for RCON. Start Rust and search the game for either the IP of your server or the name you specified.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Make sure that both your game and the server version are up to date. Otherwise you will not find the server. The easiest way to find the server is in the game under the respective name.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Become an admin on Rust server: To become an admin, connect to your server and open the console with F1. With the command "users" you can see all active players on the server. To become an admin, you need the 17-digit SteamID. The website SteamID.io lets you find out your Steam64ID for free.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Copy it from the game and enter the following command at SteamCMD:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>ownerid 12345678901234567 "Admin Name".</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>Rust Admin Commands</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>The vanilla version of Rust has some admin commands, which we explain in the following. stands for the SteamID64 of the respective user.</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>kick <UID> "Player name" "Reason
kickall "" "Reason
ban "Player name" "Reason"
banid <UID> "Player name" "Reason"
status ; Information about all players on the server.
say "message" ; Sends a message to the chat.
users ; Displays user information about all players on the server.
banlist ; List of banned players.
banlistex ; List of banned players with additional information.
listid ; List of banned players, by SteamID64.
event.run ; Sends an airdrop from random direction.</code></pre>
<!-- /wp:code -->
<!-- wp:heading -->
<h2>Why is Rust suddenly so popular?</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Despite its age, Rust has managed to secure a strong player base over the years and has been the biggest survival MMO on Steam for some time. Since the end of 2020, more and more players have even flocked to Rust. The reason for this might be a sudden hype, triggered by a bizarre plan of several streamers:</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>50 streamers gamed together at the end of 2020 and promoted Rust to the top of Twitch.
Shortly after, Twitch bully xQc also joined and caused an uproar
However, the "sheriff" shroud put a stop to this and cleaned up the mess
Meanwhile, even viewers join in and ruin everything without even playing along</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>The trend started in the USA and continues to spread. Currently, Rust has more players on Steam than ever before.</p>
<!-- /wp:paragraph -->
body {
font-family: system-ui;
background: #f06d06;
color: white;
text-align: center;
}
document.getElementsByTagName("h1")[0].style.fontSize = "6vw";
Also see: Tab Triggers