A platform that allows interaction with GTAV through a REST API. Extendable through extensions! Includes a mobile driving plugin that allows you to drive with your phone using accelerometer!
WebScriptHook
- Extract "WebScriptHook" folder to "GTAV/scripts"
- The configuration file should be at GTAV/scripts/WebScriptHook/WebScriptHook.ini
- The DLLs should be at GTAV/scripts/WebScriptHook/*.dll
- The server exe should be at GTAV/scripts/WebScriptHook/webscripthook-server.exe
- Run the game
WebScriptHook apps
Running a web app
- Start the game
- Run "webscripthook-server.exe"
- You need to allow the program to communicate through firewall
- The default port is 25555. Can be changed in config (restart game and the server to apply)
- Open your browser and go to http://localhost:25555 You should see the home page
- To access the page from devices on your LAN, replace "localhost" above with the address of your PC. Google "How to find my LAN IP" if you don't know how to do that
- There is an Android client app for WebScriptHook
Installing a web app
- Drop the folder of a WebScriptHook app under "/apps" folder
- If done correctly, the index page of the app should be at /apps/app-name/index.html - Refresh the webpage
WebScriptHook REST API
- See the wiki page for details
WebScriptHook extensions
Installing an extension
- Put the extension dll files under "/extensions" folder
- WebScriptHook searches for assemblies recursively, so create subfolders if you wish
- Extensions will be automatically loaded when WebScriptHook starts
Creating an extension
- See the wiki page for details
Other notes
- Whether you start the game first or the server first does not matter
- If things broke, check "GTAV/ScriptHookVDotNet-2016-01-19.log" (replace the date with your current date) for errors
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Write comment: