Как подключить раст плюс
Перейти к содержимому

Как подключить раст плюс

  • автор:

Sorry, you have been blocked

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Cloudflare Ray ID: 7d7a96a3df0024aa • Your IP: Click to reveal 88.135.219.175 • Performance & security by Cloudflare

About

The Companion Server is what Rust+ uses to communicate with Rust servers. If something is wrong with it then nobody will be able to view your server in Rust+, even if they pair with it. They will see it loading for a while before it says the server is offline.

Making it work

For most people, the only requirement for the companion server to work is to make the TCP port the companion server listens on accessible over the internet. Port forward, open it, add firewall rules for it, done.

The default port is the game port + 67, or the RCon port + 67, whichever is the larger number. If you haven’t changed any ports that means it will be 28082.

You can use the app.info command on your server to show what port the companion server is using. If you need to switch it to something else, you can specify the port to use in the app.port convar. This port must be 10000 or higher for it to be successfully reached by our Rust+ backend. You will need to restart your Rust server for the port change to take effect.

If you have a more complicated networking setup where you need to specify which NIC to listen on then you’ll need to set the app.listenip convar to your Rust server’s public IP address. You can check the connection settings the server is currently using with the app.info command. If the IP address that the app connects to is incorrect, you can set it app.publicip to the value you need.

If you get errors about companion server registration or push notifications aren’t working then make sure your server can access companion-rust.facepunch.com over the internet.

If everything is still broken you can submit feedback using this form.

Checking if it works

The most straight forward way to test is by pairing with the app itself — but if you have many servers there’s an easier way. You can use a tool like Postman to test connections to the companion server. Simply create a new WebSocket request and type in the Rust server’s IP address and companion server port into the "Server URL" field. For example: ws://203.0.113.111:11111 . Press the "Connect" button and you’ll see if it connected successfully in the messages log below.

The "companion.id" file

You may have noticed a companion.id file in your server’s save folder recently. This file represents your server’s identity to Rust+ and should always be kept with your server and its backups.

Here’s a list of rules for this file:

  • Do not give it to anyone else.
  • Do not use someone else’s file.
  • Do not use the same file on multiple servers.
  • Do not randomly delete it.
  • Do not change the "app.id" convar.

Breaking any of those rules will make your server behave weirdly in Rust+, disable notification permission for all your players, and probably require all players to re-pair with your server.

https://amdy.su/wp-admin/options-general.php?page=ad-inserter.php#tab-8

A brand new identity will be generated for your server if you do delete it. There’s no getting it back once it’s gone!

Disabling Rust+ on your server

If you need to disable Rust+ on your server for whatever reason, the proper way to do so is to set app.port to -1 in your server command line (note: due to command line parser conflicts you will need to specify it as +app.port 1- ). This is the only way to turn it off entirely. Players will be able to see that Rust+ is disabled if they open the Rust+ menu on their clients while connected to your server.

Automatic connectivity testing

An automatic connectivity test was added into the Rust server to disable Rust+ on servers that are not configured properly to allow connections to the Rust+ companion server. If a server fails this test, it will automatically disable Rust+ on the server and players will see that in the in-game Rust+ menu. This prevents players from being confused when they pair the server but it shows up as offline in the app.

The following error message will be visible in your server log if connectivity is not working: Rust+ companion server connectivity test failed! Disabling Rust+ features. Details will be provided in the error message.

To fix this error message you will either need to configure your server so that the test passes or disable Rust+ properly (see above).

Please keep in mind that Rust+ has to be configured on a port equal or above 10000 as described here. The connectivity check will not work on ports lower than that and neither will Rust+.

Further more, to prevent abuse, we’ve limited the amount of connectivity checks available per IP to 10 tries per 5 minutes! If you’re running multiple Rust+ instances behind a single IPv4, make sure to not boot more than 10 servers during a time delta of 5 minutes. If you’ve hit the threshold, you’ll have to wait for 5 minutes until you can register new Rust+ instances with our Companion Server backend.

How to Pair the Rust+ Mobile App with Your Server

Rust+ is the official Rust companion app that allows you to pair servers you play on with the app on your phone. You can view the server status, chat with other players, view the map and more.

Setup and Pair Rust+

  1. Download the Rust+ app on your phone (iOS, Android). Push Notifications must be enabled for the app. requesting an additional port. An extra port number above 10000 must be allocated to your server.
  2. In your server.cfg file in /server/my_server_identity/cfg/server.cfg , set app.port to the new port number you were provided and set app.publicip to your Server IP (not including the port). You will need to add these settings if they do not already exist. To do this, just add the following new lines, with the port you were provided, and your Server’s IP.

    If the file still has not been generated, you can create it yourself. Navigate to Files > FTP File Access > server > my_server_identity > cfg and click New File on the left side of the screen. Create a file titled server.cfg .

    File:
    server.cfg

Configuring app.port in server.cfg for Rust+

Rust+ mobile app pair with server button.

  • Restart your server.
  • Once your server is back online, join your server and press Esc to open the menu, then select Rust+.
  • If it worked correctly, you should see a Pair with Server button appear — click it. Otherwise, press refresh (sometimes you need to restart both the game and the mobile app).

That’s it! The app should now be connected successfully.

You can find additional information about setting up the Rust+ companion app for Rust servers on the Wiki.

Rust | How to setup the Rust+ Companion App Print

Pair with your favourite Rust servers to receive real-time updates for the things that matter the most: player counts, current game time, online teammates, and more. You’ll also get (optional) push notifications whenever one of your teammates joins the game.

Explore the Map

View the full server map to find points of interest, see where your teammates are and check on vending machines. You can also track ongoing events like the attack helicopter and cargo ship.

Keep up with your Team

Communicate with your team from anywhere to just catch up or plan for your next raid. Messages are visible in both the app and the in-game team chat so you can seamlessly switch between the two.

Control your in-game Devices

Connect Smart Switches and Smart Alarms to your in-game electrical contraptions and pair them with Rust+ to control them remotely at any time. Smart Switches let you turn things on or off, and Smart Alarms send customisable push notification alerts when an electrical signal is detected.

Set up the Rust Companion App:

NOTE: If you purchased your server before 05 June 2020 — You need to perform a re-install from the «Actions» Tab or this will not work.

  1. Stop your server
  2. Perform the backup world function in the Game panel so there is 0 chance of any progress loss.
  3. Click «Command line Manager»
  4. Click «Select» next to the «Config File + Companion App» Command line, make sure the options matches your current server config if it does not already but DO NOT change the identity or it will NOT work.
  5. Start your server
  6. Download the app on your smartphone
  7. Press «Esc» (Escape) key on your keyboard
  8. Click «Rust+»
  9. Click «Enable»
  10. Open the Rust+ Companion App on your smartphone
  11. Click «Pair Server»
  12. You have successfully setup Rust+ Companion App on your server, smartphone and paired the two!

Looking for a game server host known for brilliant 24/7 customer support and quality hardware?

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *