Giter Club home page Giter Club logo

ac_scoreboard's Introduction

Introduction

ac_scoreboard is the ultimate standalone scoreboard solution for your server.

You can use any supported framework to enable additional features such as group (job) list.
Supported frameworks are ox_core, es_extended and qb-core.

Report bugs using GitHub issues. Use the official Discord server for support.

Features

  • Customizable server name
  • Group list with each group's player count
  • Player list with their server ID
  • Select on which side of the screen is the scoreboard
  • Choose what parts should be visible
  • Detailed config explanation
  • Total player count and copyable server ID
  • Configurable key mapping and command name
  • Support for custom locales

Common issues

Possible solutions can be found here.

Preview

https://youtu.be/M7YQ5vicwKo

scoreboard preview

ac_scoreboard's People

Contributors

antond15 avatar dependabot[bot] avatar martinator9001 avatar walls9919 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

ac_scoreboard's Issues

Bug: Groups aren't updating (esx)

Version

1.0.1

Issue description

Scoreboard isnt updating the groups in the menu

ESX Legacy
OneSync Infinity

Steps to reproduce

Restart server
Join server
Have job in the config, doesnt update

Fix when the scoreboard will not show

Replace this in you fxmanifest.lua

fx_version 'cerulean'
game 'gta5'
lua54 'yes'

name 'ac_scoreboard'
author 'ANTOND.#8507'
version '1.0.4'
description 'A framework-standalone scoreboard UI for FiveM.'
repository 'https://github.com/antond15/ac_scoreboard'


shared_script 'config.lua'

server_scripts {
  'resource/server/server.lua',
  'resource/server/framework.lua',
  'resource/server/version.lua'
}

client_scripts {
  'resource/client/locales.lua',
  'resource/client/client.lua'
}

ui_page 'web/build/index.html'

files {
  'web/build/index.html',
  'web/build/assets/index-f15f7a0b.css',
  'web/build/assets/index-f86b90ac.js',
  'locales/*.lua'
}

Bug: Groups aren't updating (qbus)

Version

v1.0.0

Issue description

Scoreboard not refreshing player or job count.

Steps to reproduce

  1. Using Qb-core
  2. open scoreboard (set to show just jobs in the config)
  3. doesn't refresh

add rp names

Feature description

config like

RPNames = true


then the names choosen ingame wil be listed

Reason

privacy fun
know when your buddy or ennemy is online

Bug: Group count doesn't update if using ESX duty

Version

v1.0.2

Framework

es_extended

Issue description

8 people are on as police, if one logs off it wont count down and stays at 8.

Steps to reproduce

  1. I run the server every afternoon, every player joining the server reads on the scoreboard that he is working as a policeman, every few players continue to join the player
    2.every player joining the server reads on the scoreboard that he is working as a policeman, every few players join the player continues to increase and decrease (for the playerboard is run normally), BUT
  2. When the server runs until morning the scoreboard is not normal, the number of players is normal but some jobs like police stay there, sometimes 3 players, sometimes still 8 players, and even 10 players, even though in the game there isn't even 1 police player playing in ithttps://cdn.discordapp.com/attachments/1035185282619818004/1083031172214423562/image.png

Confirm the following statements:

  • This issue is not a question or a feature request.
  • I have provided a detailed issue description and detailed reproduction steps.

Bug: CMD Error on player load and unload

Version

Latest

Issue description

[script:ac_scoreboard] SCRIPT ERROR: @ac_scoreboard/resource/server/framework.lua:49: attempt to index a nil value (local 'lastJob') [script:ac_scoreboard] > update (@ac_scoreboard/resource/server/framework.lua:49) [script:ac_scoreboard] > handler (@ac_scoreboard/resource/server/framework.lua:119) [script:ac_scoreboard] > UpdatePlayerData (@qb-core/server/player.lua:192) [script:ac_scoreboard] > SetMetaData (@qb-core/server/player.lua:273) [script:ac_scoreboard] > handler (@qb-core/server/events.lua:20)

Steps to reproduce

Framework: QBCORE

Appears in console when player loads in or leaves

Enhancement: Add another category

Feature description

So, Job category is nice.. Is there any way you can add another category called "gangs" for the gangs in the server

Reason

There are many gang jobs and it helps this to stand out. This is a feature request

Scoreboart won't open

Version

v1.0.4

Framework

es_extended

Issue description

The Script is Starting. No Errors. I Cant Open the Scoreboard even with The Key or The Command. Sorry for my Bad Englisch btw.

Steps to reproduce

Dont see any errors.

Confirm the following statements:

  • This issue is not a question or a feature request.
  • I have provided a detailed issue description and detailed reproduction steps.

Bug: Not updating the count on relog

Version

latest

Framework

es_extended

Issue description

The problem i am facing is when a player is relog and switched to new character the old character job count is still in the scoreboard

Example :

My character job is police if relog in esx_multicharacter then the scoreboard police count will be still in 1 if again i enter to same character which the job is police then the police count will be 2 but reality is there only one player but the police count will be turn in to 2

Steps to reproduce

  1. Set your job in to Police
  2. Open the scoreboard and note the police count it will be 1
  3. Relog from the server and again check the police count it will be 1 also in that time also
  4. Select the same character which you set your job to police and click play button
  5. After the player loaded you can check the scoreboard then it will be turn the police job 2

Confirm the following statements:

  • This issue is not a question or a feature request.
  • I have provided a detailed issue description and detailed reproduction steps.

Bug:

Version

v1.0.1

Framework

es_extended

Issue description

I have this problem any solution.
This happens when you have a job, for example police or EMS.

Steps to reproduce

[script:ac_scoreboard] SCRIPT ERROR: @ac_scoreboard/resource/server/framework.lua:65: attempt to index a nil value (local ‘lastJob’)
[script:ac_scoreboard] > handler (@ac_scoreboard/resource/server/framework.lua:65)

Confirm the following statements:

  • This issue is not a question or a feature request.
  • #7

Bug: Not counting correctly

Version

v1.0.2

Framework

qb-core

Issue description

After a period of time, the scoreboard will not reduce the number of LEO or any other job in the groups tab.

For example, it will leave the group police count set at 10 even though there is only 5 cops on.
You can tell this by looking at the number of players left online on the server. We had 4 players on and it will telling us 8 were cops when there was not even that many people online.

No errors in the console.

Steps to reproduce

Not for sure. Script will work fine at first and then eventually just stops changing certain numbers.

Confirm the following statements:

  • This issue is not a question or a feature request.
  • I have provided a detailed issue description and detailed reproduction steps.

Bug: Unable to download a release

Version

v1.0.4

Framework

es_extended

Issue description

when i click del I only get the mouse cursor.

Here is something that showing me in database

Steps to reproduce

I don't know, maybe somehow correct what it shows me in the database.

Confirm the following statements:

  • This issue is not a question or a feature request.
  • I have provided a detailed issue description and detailed reproduction steps.

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.