π₯Top Serveurs
π³οΈ Top-Serveurs Vote System β In-Game Voting & Rewards
β‘ Getting Started
π¬ How to Open the Vote Menu
TriggerEvent("redrp-bt:showVoteUi")TriggerClientEvent("redrp-bt:showVoteUi", source)βοΈ Configuration Example (config.lua)
config.lua)Config = {}
Config.serverToken = "..." -- Your Top-Serveurs token
Config.serverURL = "https://top-serveurs.net/rdr/vote/your-server-name"
Config.DiscordWebhook = "" -- Discord webhook for staff notifications
Config.DiscordName = "BT_TOPSERVER"
Config.enable_command = true
Config.command = "vote"
Config.enable_client_side = true
Config.client_function = 'redrp-bt:showVoteUi'
Config.NotifyAllPlayersOnVote = true -- Notify everyone when someone votes
-- Leaderboard config
Config.MaxVotersToDisplay = 5 -- Number of top voters in leaderboard
Config.LeaderboardRefreshInterval = 120 -- Minutes between leaderboard announcements
Config.Txt = {
VoteForUs = "Vote for Western Raiders",
AlreadyVoted = "Your vote has already been rewarded, thank you :)",
WinMoneyGold = "Thank you for your vote, here is your reward: %d %s",
WinWeapon = "Thank you for your vote, congratulations, here is a weapon: %s",
WinItem = "Thank you for your vote, you have won: %d %s",
VoteAgain = "You can vote again on Top-Serveurs",
NotifyAll = "%s has voted for the server! (/vote)",
LeaderBoardTitle = "**π Top Voters Leaderboard π**\n\n",
LeaderBoardPlayer = "**%d.** `%s` β **%d votes**\n"
}π Rewards Structure
π Leaderboard
π§ Notification System
π Notes
Last updated