GettingStarted: Difference between revisions

no edit summary
(Created page with "{{DISPLAYTITLE:Getting Started}} == General Stages == Download the server files on the Downloads page at [https://gtaconnected.com gtaconnected.com]. Extract the server file...")
 
No edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Getting Started}}
{{DISPLAYTITLE:Getting Started}}
{{RedInformationBox|1=This guide is for '''creating a server.''' If you just want to join a server and play, this guide is not for you. }}
== General Stages ==
== General Stages ==


Download the server files on the Downloads page at [https://gtaconnected.com gtaconnected.com].
- Download the server files on the [https://gtaconnected.com/downloads Downloads] page.<br>
- Unzip/extract the server files to an empty folder.<br>
- Change settings in server.xml ([[ServerConfiguration|available settings]])<br>
- Run the server executable. For Windows, this will be ''Server.exe''. For Linux, there are several options to do this, see the [[LinuxServer|linux server]] manual page.<br>


Extract the server files to an empty folder.
== GTA IV (Rockstar Modes) ==
First, remove the freeroam resource that comes with the server, by deleting the freeroam folder in resources. Then remove the <code><resource src="freeroam" /></code> line in [[ServerConfiguration|server config]]. The server should launch normally now, and connecting will place you into a generic rendezvous lobby, which uses party mode. You and other players who connect can use the phone in-game to start and join sessions.


Change settings in server.xml.
== GTA III, VC, SA, and IV (Custom Modes/Scripted) ==
There are some example scripts [https://github.com/VortrexFTW/v-essentials here]. If you're making your own scripts, at the very minimum you'll need to fade in the camera using [[gta.fadeCamera|gta.fadeCamera]] in a logical event such as in the [[OnPlayerJoined|onPlayerJoined]] event. The default resource provided with the server called "freeroam", includes spawning the player and fading the camera, but is designed for GTA 3 only.  


Run Server.exe.
== Manual ==
 
Check the [[ServerManual|Server Manual]] page.
== Player Spawning and Camera Fading ==


The default resource, called "freeroam", includes spawning the player and fading the camera.
== Resources ==
Check the [[Resources|resources]] page for information on how to use resources.


If you are not using this default resource, be sure to spawn the player and fade the camera using [[spawnPlayer|spawnPlayer]] and [[fadeCamera|fadeCamera]] in a logical event such as in the [[OnPlayerJoined|onPlayerJoined]] event.
== Modules ==
 
Modules extend the server with things like MySQL, SQlite, ini, etc. Check the [[Modules|modules]] page for information on how to use modules. There are some basic modules [https://forum.gtaconnected.com/index.php?board=24.0 on the forum]. Anybody with C/C++ skills can create a module using the [https://gtaconnected.com/downloads/ModuleSDK.7z module SDK].
== Manual ==
 
Check the [[ServerManual|Server Manual]] page.
2,818

edits