본문 바로가기

유트브-게임(Steam)정보

GTA5 온라인 : Fivem 서버 기본 구축 (만드는 법), 인생모드 운영자 되기.

728x90

 

 

 

서버 구축 설명.

 

https://docs.fivem.net/server-manual/setting-up-a-server/

 

 

윈도우에서 구축할 경우 윈도우 버전의 파일을 다운로드합니다.

- 서버 구축 파일

- 최근에 올라온 파일들은 연동이 안 되는 부분이 있으면, 10~7월 사이에 올라간 파일을 압축 풀어서 사용하길 바라요.)

 

 

윈도우에서 구축할 경우 윈도우 버전의 파일을 다운로드합니다.

- server-data 파일

 

 

 

 

임의 폴더를 만들어서 server.cfg파일과 같이 넣어둔다.

 

FievM 서버 Key 받는 방법.

 

주소를 클릭하면 Key를 발급받을 수 있는 사이트로 이동한다.

 

 

 

키 만드는 법. 

HOW TO MAKE A KEY:

Go here: https://keymaster.fivem.net 3.8k

 

Click sign in

 

Click on New in the top left corner

Fill out the form (DON’T USE ‘localhost’! USE 127.0.0.1)

 

Copy generated key and paste it inside your server.cfg file (Instructions below)

 

If you’re confused about the different server types (again, for some reason):

Label :  인증키 받을 이름(제목)을 지정.
Server IP address :  현재 컴퓨터의 '아이피 주소'
Server type :  서버 타입 설정

 

 

 

 

​인증키를 받아서 목록 리스트에 추가된 화면.

 

 

 

server.cfg 파일에 스팀 키(Key)도 필요하기 때문에 주소로 접속하여 얻어 오도록 한다.
 - 똑같은 방법으로 주소에 접속하여 스팀 key를 받아오도록 신청. (방법은 간단하기 때문에 하다 보면 그냥 쉬움.)

 

 

server.cfg 파일 만드는 방법.

 

 

 

cfg 파일 코드 

# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure rconlog
ensure scoreboard

# This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
sv_scriptHookAllowed 0

# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
#rcon_password ""

# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "default"

# A valid locale identifier for your server's primary language.
# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
sets locale "root-AQ" 
# please DO replace root-AQ on the line ABOVE with a real language! :)

# Set an optional server info and connecting banner image url.
# Size doesn't matter, any banner sized image will be fine.
#sets banner_detail "https://url.to/image.png"
#sets banner_connecting "https://url.to/image.png"

# Set your server's hostname
sv_hostname "FXServer, but unconfigured"

# Nested configs!
#exec server_internal.cfg

# Loading a server icon (96x96 PNG file)
#load_server_icon myLogo.png

# convars which can be used in scripts
set temp_convar "hey world!"

# Uncomment this line if you do not want your server to be listed in the server browser.
# Do not edit it if you *do* want your server listed.
#sv_master1 ""

# Add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.fivem:1 group.admin # add the admin to the group

# Hide player endpoints in external log output.
sv_endpointprivacy true

# Server player slot limit (must be between 1 and 32, unless using OneSync)
sv_maxclients 32

# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> replace "" with the key
set steam_webApiKey ""

# License key for your server (https://keymaster.fivem.net)
sv_licenseKey changeme

 

 

 

인증키 입력.

# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> replace "" with the key
set steam_webApiKey "스팀 인증키 입력하는 곳"

# License key for your server (https://keymaster.fivem.net)
sv_licenseKey Fivem 인증키 입력하는 곳

 

server-data 폴더에 같이 넣어준다.

 

요런 식으로 인증키 입력해준다.

 

start.bat 파일 생성.

 

텍스트 파일 만들고 이름을 start(아무거나). bat으로 지정한다 (확장자가 'bat' 이어야 한다.)

​server-data 폴더(디렉토리)는 cfx-server-data 와 server.cfg 파일이 존재하는 곳.

임의 폴더 하나 만들어서 이렇게 파일들을 복사해서 넣어서 사용하는 것을 추천합니다.

 

실행결과.

 

localhost를 이용하여 접속한 화면.

 

게임 실행화면, 

여기서 나중 프로그램받아서 시스템을 넣고 하는 거입니다.

기본 베이스

 

 

 

반응형