Download the PHP package rminks/rcon without Composer

On this page you can find all versions of the php package rminks/rcon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rcon

About

All credits to AnvilM (https://github.com/AnvilM/PHP_RCON/tree/main), I upload my own version according to my own requirements, preferences and needs.

Source RCON Protocol library for Laravel

Install

You can get this package using composer

Configuration

Setting in valve games (Engine Source)

By default, SRCDS listens for RCON connections on TCP port 27015. If the server's port number is changed using the -port option, the RCON port will change as well. SRCDS will always refuse any RCON connection attempt originating from an IP on its banlist. If the rcon_password cvar is written to for any reason, the server will immediately close all authenticated RCON connections. This happens even if the new value of rcon_password is identical to the old one. These connections will need to be re-opened and re-authenticated before any further commands can be issued. Connections which have not been authenticated yet are not dropped. If the password was changed remotely, the server will not respond to the command which caused the password to change. if rcon_password is not setted, the gameserver gonna reject all connections

Setting in Minecraft

To use RCON on your server, you need to enable it and configure it in your Minecraft server settings.

In the file server.properties

Getting started

Create connection

To create an RCON connection to a minecraft server, you need to create an object of the RCON class.

Send commands

To send a command to the server, use this method of the RСON class. This method will return the response from the server.

Server Responses

All responses

To get all responses from the server use the following method

Last response

To get last response from the server use the following method

Response by id

You can get a specific server response from a list if you have the ID of that response.

Example

As a result of executing this code you should get the following result

Example 2

As a result of executing this code you should get the following result


All versions of rcon with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rminks/rcon contains the following files

Loading the files please wait ....