Git Product home page Git Product logo

altv-open-roleplay's Introduction

alt:V - Open Roleplay

Remember to ๐ŸŒŸ this Github if you ๐Ÿ’– it.


Sponsor this Project to keep it FREE

Github Sponsorship Program

Open Roleplay is a base gamemode for Roleplay servers. Open Roleplay is the base framework for my server: alt:V Life. Open Roleplay has its own Official Discord.

Licensing

If you'd like to remove the splash screens at any point; we can negotiate at a price. However, you will be responsible for removing them and not me. Otherwise, just leave the splash screens alone. This is a free framework and the least you can do is give credit. You are also required to put ORP in your gamemode for your alt:V server configuration. You did not write this gamemode; and it is not your custom gamemode. Put credit where credit is due.


Feature List and Roadmap

You can find a full list of features and the roadmap here.

IMPORTANT If you are not a developer; this may not be the project for you. There is some general configuration that needs to be done and understanding code is important.

I will not be providing direct support for this gamemode; if you have an issue or come across actual functionality issues please raise an issue in the issues tab. Otherwise; additional help can be found by subscribing through my twitch page and then joining the Discord Group


General Information and Hotkeys

// General
Tab --------> Press to Toggle Cursor
Tab + RMB  -> Show Context Menu on User
Tab + LMB  -> Select Context Option
T ----------> Open Chat
F1 ---------> Help Menu

Installation

If you don't have NodeJS v12+; please go install it.

  • Install version v11.5 of PostgresSQL for either windows, linux, or whatever OS you're running.

  • Once installed you need to create a username and password for your database; and create a database called 'altv' or something else if you know what you're doing. PAY ATTENTION HERE YOU'LL NEED THIS INFO

Creating on Windows with pgAdmin4

Where to navigate:

https://i.imgur.com/FBBeMTt.png

Postgres is the username for this database; and altv is the name:

https://i.imgur.com/FaEmnvg.png

After; it should be running automatically in your services on windows. You can always restart your database through your Task Manager.

https://i.imgur.com/6pA8PWB.png

Creating on Linux with Terminal ( UBUNTU 18.04 (Don't use 16.04 it's a pain in the ass.) )

  • Follow these instructions up to Step 3: Installing Postgres on Ubuntu

  • Type: su - postgres

  • Type: psql

  • Type: CREATE DATABASE altv;

  • If all is well you will see CREATE DATABASE or something similar replied.

  • Type: CREATE USER stuyk WITH ENCRYPTED PASSWORD 'abc123';

  • If all is well you will see CREATE ROLE replied.

  • We now have a user called stuyk with a password of abc123. We need to assign to db.

  • Type: GRANT ALL PRIVILEGES ON DATABASE altv TO stuyk;

  • If all is well you wil see GRANT replied.

  • Type: \q to exit.

  • Type: sudo -u root

  • This will bring you back to your root account.

  • Now follow the rest of the steps below.


  • Open a Power Shell or Command Prompt or Terminal

  • Download the latest version of this resource (100% Recommend CLONING the REPO with GIT).

  • After CLONING, CD into the repo through the same command prompt.

  • Open a command prompt and run npm run orp. FOLLOW THE INSTRUCTIONS CAREFULLY ON PROMPT.

  • When you get to the Discord Setup; make sure you hit 'yes' if this is a new server.

Basic Discord Bot Setup

Please Create a Discord Application for your Login System.

Please Visit: https://discordapp.com/developers/applications/

  • Inside of page you need to create a Discord Application and turn it into a bot and copy the bot secret.

  • You also MUST add this bot to your own server.

  1. Hit New Application
  2. Set the Name for Your Bot / Application
  3. Click on the Bot tab.
  4. Transform your Application into a bot.
  5. Name your bot.
  6. Tick Administrator or just Send/Read Messages
  7. Copy the bots secret token.
  8. Make sure the bot is not public.
  9. Navigate to oAuth2 tab. Tick bot in scopes.
  10. Copy the URL inside of scopes. Paste in browser.
  11. Add the bot to your designated Discord.
  • Make sure to save changes.

  • Run altv-server.exe or ./start.sh. If you're on Linux you may need to set permission for altv-server.

  • Join your server.

  • Copy the Code

  • PM the Bot you setup with !login <code>

altv-open-roleplay's People

Contributors

codewithbryan avatar dexslab avatar doodesch avatar eappels avatar jovanivanovic avatar matspyder51 avatar openface avatar pixellup avatar ravenous47 avatar stuyk avatar tekkupt avatar timstallinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.