Arivia
Browse ScriptsDownload RLIB
v3.x
v3.x
  • Introduction
  • Select Version
  • Showcase
  • Changelog
    • ◾3.0.0.6-beta
    • ◾3.0.0.5-beta
    • ◾3.0.0.4-beta
    • ◾3.0.0.3-beta
    • ◾3.0.0.2-beta
    • ◾3.0.0.1-alpha
  • FAQ
    • ◾Add Food Categories
    • ◾Addon Won't Show
    • ◾Incompatible Addons
    • ◾Custom Category Colors
    • ◾Hide Unavailable Jobs
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
    • ◾Docs/Web
  • ❱ Configuration
    • ◾Env
    • ◾Fonts
    • ◾Languages
    • ◾Settings
      • sh_4_tabs.lua
        • bUseModelImage
        • styleB
    • ◾Visual Blueprints
  • ❱ First Use
    • ◾Binds
    • ◾Console Commands
      • ▸arivia.listjobs
      • ▸arivia.getjob
      • ▸arivia.setjob
  • ❱ Developers
    • ◾Jobs
      • ▸Parameters
        • tip
        • NeedJob
        • NeedGroup
      • ▸Sorting
    • ◾Entities
      • ▸accent
      • ▸allowed
      • ▸customHideUnavail
      • ▸level
      • ▸prestige
      • ▸price
      • ▸tip
    • ◾Food
      • ▸category
    • ◾Categories
      • ▸tip
  • ❱ Internal
    • ◾Rules
    • ◾Web Demo
  • ❱ DOC REFERENCES
    • ◾Status
Powered by GitBook
On this page
  • ◾ Summary
  • ◾ Static Wallpapers
  • ◾ Live Wallpapers
  • ◾ Upload / Webserver
  • ◾ Upload / Imgur
  1. ❱ Setup

Docs/Web

This information explains the 'web' folder provided in your downloaded zip.

PreviousWorkshopNextEnv

Last updated 2 years ago

◾ Summary

This script includes wallpapers / live backgrounds which can be displayed on your interface. These wallpapers are hosted via rlib's cloud, which should only be temporary.

Your downloaded zip from includes a docs/web folder which contains a series of static images and a live wallpaper .webm file that you can use as wallpaper to display on your in-game interface.

It is recommended that you utilize your own hosting server and upload the files provided in the docs/webfolder. If the rlib cloud goes down; your wallpapers will not work.

You may also upload the images to a website such as and use the link they provide after upload within your config to change wallpaper URLs.

◾ Static Wallpapers

Static wallpapers are still images located in the docs/web/static folder. This folder includes a few demo wallpapers to get you started, however, you can use any images you'd like.

Creating your own? We recommend you use an image size of 1920x1080 minimum.

◾ Live Wallpapers

Live wallpapers are animated videos that are in .webm format. One is provided for you as an example, as well as a .php script which allows you to implement them in your script.

◾ Upload / Webserver

  • Upload the contents of the docs/web folder to your own hosting server.

  • Open your script's background config file.

    • lua\modules\arivia\cfg\sh_2_bg.lua

  • Locate the two tables associated with static and live wallpaper URLs.

    • cfg.bg.static.list and cfg.bg.live.list

  • Edit the URLs to match your own webserver URL.

    • For static images; it is simply the path to your image:

      • https://yourdomain.com/web/static/1.jpg

    • For live wallpapers; use the .php file provided and add the video name:

      • http://yourdomain.com/web/live/index.php?id=default_1

  • If you change the names of the files; then edit the paths accordingly.

  • Once edited; save the config, and restart the server.

◾ Upload / Imgur

  • Create an account on imgur.com

  • Select Add Images and use the upload interface to select your static wallpapers and upload them.

  • Once uploaded; select the photo and a popup will appear with a series of links on the right.

  • Copy the Direct Link url

  • Open your script's background config file.

    • lua\modules\arivia\cfg\sh_2_bg.lua

  • Locate the static table URLs:

    • cfg.bg.static.list

  • Edit the URLs to match your imgur direct URL.

    • https://i.imgur.com/yourimage.png

  • Once edited; save the config, and restart the server.

can be used for static wallpapers only. You will need to use your own personal webserver to host live wallpapers.

◾
gmodstore.com
https://imgur.com/
https://imgur.com/