Jump to content

I can't get a password on my server?


Recommended Posts

Hi here uD|DJFrankie|NL.

I want to put a password on my server for a tournament and i private server.

But when i change it in mtaserver.cfg then it restart the server and i don't see the problem.

And it dusn't work.

Some body nows how to do it?

Here follows my mtaserver.cfg

# ServerName
# Required: Yes
# Purpose: Defines the name of the server
#          Format - ServerName 
ServerName [NL] uD | Mix Server | DJFrankie


# ServerPort
# Required: Yes
# Purpose: Defines the port for players to connect on
#          Format - ServerPort 
# Notes:
#     Must be a numerical value
ServerPort 22004


# 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 30


# ServerPassword
# Required: Yes (Yes if server should be passworded)
# Purpose: Defines the server password
#          Format - ServerPassword 
#ServerPassword gaylord


# 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


# AdminServer
# Required: No
# Purpose: Defines whether the server should enable Remote Admin
#          Format - AdminServer <1>
# Notes:
#     Set to 1 to enable, anything else to disable
#     REMEMBER TO CHANGE THE ADMIN PASSWORD!
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 44004


# AdminPass
# Required: Yes (if AdminServer is enabled)
# Purpose: Defines the Remote Admin password
#          Format - AdminPass 
AdminPass (secret)


# 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 1


# LogFile
# Required: No
# Purpose: Defines the file which the server log should be written to
#          Format - LogFile 
LogFile mtaserver.log


# AntiCheatEnabled
# Required: No (defaults to 1)
# Purpose: Defines whether anticheat is enabled or not.
#          Format - AntiCheatEnabled <1>
AntiCheatEnabled 0


# AutoUpdateAntiCheat
# Required: No (defaults to 1)
# Purpose: Defines whether the server should check Anti-Cheat for updates automatically on server start.
#          Format - AutoUpdateAntiCheat <1>
AutoUpdateAntiCheat 0


# InstantVoteMapEnabled
# Required: No (defaults to 0)
# Purpose: Defines whether instant map voting is enabled/disabled
#          Format - InstantVoteMapEnabled <1>
# Notes:
#     Due to heavy abuse of this feature in previous releases, we recommend that
#     you disable this.
InstantVoteMapEnabled 0


# InstantVoteMapPercentage
# 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 - InstantVoteMapPercentage <0>
InstantVoteMapPercentage 80


# InstantVoteMapTimeDelay
# Required: No
# Purpose: Defines how long a player must wait before they can vote for a new instant map change
#          Format - InstantVoteMapTimeDelay 
# Notes:
#     This does not take effect if there are 2 or less players in the server
InstantVoteMapTimeDelay 90


# InstantVoteMapGlobalTimeDelay
# Required: No
# Purpose: Defines the minimum time between instant map-change votes on the server.
#          Format - InstantVoteMapGlobalTimeDelay 
# Notes:
#     This does not take effect if there are 2 or less players in the server
InstantVoteMapGlobalTimeDelay 60


# DefaultRespawnTime
# Required: No (defaults to 10 seconds)
# Purpose: Defines what respawn time to use if none is specified in the map
#          Format - DefaultRespawnTime 
DefaultRespawnTime 10


# DefaultMapDuration
# Required: No (defaults to 600 seconds which is 10 minutes)
# Purpose: Defines what map duration to use if none is specified in the map.
#          Format - DefaultMapDuration 
DefaultMapDuration 600


# MaxMapDuration
# Required: No (defaults to 1200 seconds which is 20 minutes)
# Purpose: Defines how long a map can maximally run before the next map is started. This is neccessary for
#          maps with dynamic respawn when instant vote map change is disabled.
#          Format - MaxMapDuration 
MaxMapDuration 1200


# MapNominationEnabled
# Required: No (defaults to 1)
# Purpose: Defines whether the server will use map nomination votes between maps to decide the next map to play.
#          If this is set to 0, the server will pick a random map instead. This is recommended rather than instant votes.
#          Format - MapNominationEnabled <1>
MapNominationEnabled 1


# MaxNominationMaps
# Required: No (defaults to 4)
# Purpose: Defines how many random maps that will be picked during a map election between maps.
#          Format - MaxNominationMaps <2>
# Notes:
#     Range for this value is 2 to 8.
MaxNominationMaps 4


# IncludeLastMapInNomination
# Required: No (defaults to 1)
# Purpose: Defines whether the server should put the last map played in the nomination for the next map to play.
#          Format - IncludeLastMapInNomination <1>
IncludeLastMapInNomination 1


# 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 Default password 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

Link to comment

remove the # before it, # makes it a comment so it doesnt get executed, so

# ServerPassword
# Required: Yes (Yes if server should be passworded)
# Purpose: Defines the server password
#          Format - ServerPassword 
ServerPassword gaylord

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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