[PAID] vsVisaLevel

[PAID] vsVisaLevel

[Explanation]

This is a complete level system with a beautiful and user-friendly interface.

Showcase

Link to the Showcase Video

[Description]

When you type ‘/visa’ a menu pops up, allowing you to see your visalevel. Furthermore you can use /showvisa to show other players which visalevel you are.

In the config file you are able to set:

  • How much points are neccessary to level up each level
  • How much time after joining needs to expire after getting points
  • How much points you should get.
  • How much you get after
  • The event on which the Visalevel should load
  • If the script should be restartable
  • The command that allows players to show yourself your visalevel
  • The command that allows players to show other players your visalevel
  • The Color of the the Color of the Title from the Visalevel notification
  • The Color of the the Color of the Description from the Visalevel notification
  • How long the Levelup message you be displayed
  • How long the message which shows what you visalevel is should be displayed
  • How long the message when you show others your visalevels should be displayed over you head
  • The Title of the Visalevel uprank
  • The Title of the Visalevel show yourself message.
  • The Discord Webhook
  • All Messages which are displayed

It includes Discord logs such as:

  • When a player joined with how much visapoints and with which visalevel he joined
  • When someone ranks up
  • When someone gets a visa point

[Additional information:]

  • You can use the exports:
  • vs_NEXTXP
  • vs_GETRANK
  • vs_GETXP
    to get the Needed XP for the NextLevel, Current Level and XP client sided.
  • You can use the Client event: vs_visalevel:show to force the show of your own visalevel client sided.
  • You can use the Server Event vsVisaLevel:showvisum with a paramenter (RANK X) to force a client to show the players around their level.

[Config]

Config = {}

Config.Locale = 'en'

Config.LoadVisaLevelEvent = 'esx:playerLoaded' -- On Trigger of this Event all Visalevel will load from the Database / initiatior EVENT
Config.RestartScript = true -- IF you restart your script while server is running this should be true! else just put it on false because its an unused if check then
Config.VisumTitleColor = "rgb(255, 251, 0)" -- Colors for the Title Of The Visalevel notification you can you HEX(#eb4034), RGB(color: rgb(255, 251, 0) and Colornames (https://htmlcolorcodes.com/color-names/) 
Config.VisumDescriptionColor = "#FFFFFF" -- Colors for the Description Of The Visalevel notification you can you HEX(#eb4034), RGB(color: rgb(255, 251, 0) and Colornames (https://htmlcolorcodes.com/color-names/) 
Config.LevelUPSound = true -- If a Sound (levelup.mp3) should be played on level up#
Config.OverHeadMessageTimeout = 5000
Config.TimeOutRankUPMessage = 10000
Config.TimeOutSelfVisaMessage = 5000
Config.ShowTitle = "VisaLevel"
Config.RankUpTitle = "VisaLevel uprank"

Config.CheckVisumCommand = "visum"
Config.ShareVisumCommand = "sharevisum"

Config.Debug = false
Config.LevelUpDemoDebugCommand = "LevelUPDemo" -- Only Works if Debug = True

Config.WebhookLink = '' -- Webhook here / leave as is if you dont want to use
Config.ShowIPAdress = false -- show ip adrees from the user

Config.WaitUntilNextPoints = 180000 -- Time in miliseconds how often you should get Points. Default is 30 Minuten (180000 miliseconds). Be aware that after every expiring of WaitUntilNextPoints one sql Insert per client will be sended!
Config.HowMuchXPMore = 0.5 -- How much points you will get after Config.WaitUntilNextPoints miliseconds.  Default is 0.5
Config.Levels =
    { -- Add here the Levels you want. Just as reminder after every level UP you will need to restart at 0. UPRANKING IN A LEVEL WHICH ISN`T EXISTING WILL RESULT IN ERROR 
        [1] = 1,
        [2] = 4,
        [3] = 8,
        [4] = 16,
        [5] = 25,
        [6] = 36,
        [7] = 49,
        [8] = 56,
        [9] = 81,
        [10] = 100,
        [11] = 121,
        [12] = 144,
        [13] = 169,
        [14] = 196,
        [15] = 225,
        [16] = 256,
        [17] = 289,
        [18] = 324,
        [19] = 361,
        [20] = 400
    }



Optimization

  • IDLE: 0.00ms

  • RUNNING: 0.00-0.01ms

Further Information

TEBEX: vsVisaLevel

This resource is using the FiveM Asset Escrow system

Code is accessible No
Subscription-based No
Lines (approximately) 500
Requirements ESX
Support Yes
18 Likes