GithubHelp home page GithubHelp logo

doamatto / 5m_loading Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 22.27 MB

Another FiveM loading screen.

Home Page: https://git.sr.ht/~maatt/5m_loading

License: BSD 3-Clause "New" or "Revised" License

Lua 1.77% HTML 8.04% JavaScript 74.11% CSS 16.08%
fivem games mod loading-screen 5m-loading fivem-loadingscreen

5m_loading's Introduction

โ— This repository is now maintained on Sourcehut here.

5M Loading

Put simply, 5M Loading is just another loading screen for FiveM.

Put in more detail, 5M Loading is a feature-rich, customizable, and lightweight loading screen. Some of its notable features are:

  • Play music from YouTube or Soundcloud while you wait for loading.
  • Show the time elapsed for loading into the game
  • Easy to customize footer text
  • Add a logo to your loading screen

Put into even more grave detail, all of this is planned and most of it hasn't been done yet. I'm only now starting to dabble in FiveM modding. If I like it, you can expect a bit more of this in future, as well as for other games.

Installing

Installation of 5M Loading (and just about any other FiveM addon) is super simple. Add the 5m_loading folder to the resources folder (usually under server-data/resourcesor similar). Then, edit your server.cfg file to have start 5m_loading (use ensure instead of start if you don't want the server to work without the loading screen). If you're installing from source, copy all of this (you can exclude the .github/ folder and the .gitignore and README.md files if you really want to; everything else is important) into a folder titled "5m_loading." Then, follow the instructions from before.

Screenshots

There are a good chunk of themes baked into 5m_loading, here are just a few.

Preview of the 'Simple' theme Preview of the 'Rainbow' theme

Acknowledgements

This was inspired from the lack of FiveM loading screens that cut it for me. I wanted to have something simple and clean that I could run on my private server I play with my mates on. This seemed to be the only way. Thanks also to Rishi for helping debug some of the music issues and help simplify chunks.

5m_loading's People

Contributors

doamatto avatar mend-bolt-for-github[bot] avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

5m_loading's Issues

YouTube playlists don't play

Describe the bug
I cannot get the music to play from a YouTube playlist.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Start the resource
  2. Click on Connect to your server
  3. No music plays, and no options to play / pause come up.
  4. Press F8

Expected behavior
I expected it to play the music from the YouTube Playlist I put in.

Screenshots
This is the error I get:
F8 Console Error
HTML file
JS File

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Brave
  • Version Latest

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Add shuffle functionality

Is your feature request related to a problem? Please describe.
See this forum post

Describe the solution you'd like
Add a shuffle variable for SoundCloud and YouTube.

Describe alternatives you've considered
There is no function provided in either APIs, so this will have to be jerry-rigged. It may or may not be required to make breaking changes for this functionality.

Additional context
N/A

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/lint.yml
  • actions/checkout v3
  • actions/setup-node v3.1.1

  • Check this box to trigger a request for Renovate to run again on this repository

Screenshots?

Can you provide some screenshots for the loading screen?

Thank you.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

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.