Jump to content

Server port


Recommended Posts

Hi, I've been trying to find an answer to this problem from this forum by using search and everything.. I found a couple forums that handles this problem but I didn't get this work.. now when I try to start MTA Server.exe it says like this:

MTA:BLUE Server for MTA:SA

ERROR: Server port must be a numerical value. (Port specified: 22003)

CLOSE: Server stopped!

Here's my mtaserver.cfg:

# ServerPort

# Required: Yes

# Purpose: Defines the port for players to connect on

# Format - ServerPort

# Notes:

# Must be a numerical value

ServerPort 22003

# ServerName

# Required: Yes

# Purpose: Defines the name of the server

# Format - ServerName

ServerName MTA:SA Server

# ServerPassword

# Required: No (Yes if server should be passworded)

# Purpose: Defines the server password

# Format - ServerPassword

#ServerPassword mypassword

# ASE

# Required: No

# Purpose: Defines whether the server should report to the All Seeing Eye (can be seen in the Server Browser)

# Format - ASE

# Notes:

# Set to 1 to enable, anything else to disable

ASE 1

# MaxPlayers

# Required: Yes

# Purpose: Defines the max players that can connect to the server

# Format - MaxPlayers

# Notes:

# Must be a numerical value and must not go above 32

MaxPlayers 12

# AdminServer

# Required: No

# Purpose: Defines whether the server should enable Remote Admin

# Format - AdminServer <1/5>

# Notes:

# Set to 1 to enable, anything else to disable

AdminServer 1

# AdminPort

# Required: Yes (if AdminServer is enabled)

# Purpose: Defines the port for Remote Admins to connect on

# Format - AdminPort

# Notes:

# Must be a numerical value

AdminPort 44003

# AdminPass

# Required: Yes (if AdminServer is enabled)

# Purpose: Defines the Remote Admin password

# Format - AdminPass

AdminPass mtasa

# AllowAdminShutdown

# Required: No

# Purpose: Defines whether the server can be shutdown from Remote Admin

# Format - AllowAdminShutdown

# Notes:

# Set to 1 to enable, anything else to disable

AllowAdminShutdown 0

# LogFile

# Required: No

# Purpose: Defines the file which the server log should be written to

# Format - LogFile

LogFile mtaserver.log

# VoteMapEnabled

# Required: No

# Purpose: Defines whether map voting is enabled/disabled

# Format - VoteMapEnabled

VoteMapEnabled 1

# VoteMapPercentage

# Required: No

# Purpose: Defines the percentage of votes needed for a map vote to pass.

# A high value is recommended (over 80%) to prevent voting abuse.

# Format - VoteMapPercentage <0-100>

VoteMapPercentage 90

# VoteMapTimeDelay

# Required: No

# Purpose: Defines how long a player must wait before they can vote for a new map

# Format - VoteMapTimeDelay

# Notes:

# This does not take effect if there are 2 or less players in the server

VoteMapTimeDelay 90

# Admin

# Required: No

# Purpose: Defines all the people in-server who can rcon_login to admin

# Format - Admin

# Notes:

# admin-level must not go above 5

# Names and passwords are case sensitive

Admin Player sa 5

# RCON

# Required: No

# Purpose: Defines the admin level for . If this is not specified it is defaulted

# Format - RCON

# Notes:

# must be between 1 and 5. If it is invalid, the level is defaulted

RCON kick 4

RCON ban 4

RCON mute 2

RCON unmute 2

# AutoUpdateAntiCheat

# Required: No (defaults to 1)

# Purpose: Defines whether the server should check Anti-Cheat for updates automatically on server start.

# Format - AutoUpdateAntiCheat <1/0>

AutoUpdateAntiCheat 1

Thanks for help. :wink:

Link to comment

Now when I tried to start server it didn't open.. only this came:

Server successfully started on port 22003

Type 'quit' to shut the server down

[12:15:50] Server log being saved to 'mtaserver.log'

[12:15:50] Administration access successfully started on port 44003

[12:15:50] All Seeing Eye listing enabled. Port 22126 (UDP) must be accessible from the internet

[12:15:50] Querying game-monitor.com master server...

[12:15:50] Connecting to update server...

[12:15:50] Anticheat definition file updated!

Edit: Put when I put AdminServer 0 then it starts.. whats wrong?

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...