BoutProduction / sody_clubs

Player Clubs resource for FiveM > ESX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sody_clubs

Player Clubs resource for FiveM > ESX

SodyFX presents: sody_clubs

A resource for FiveM and ESX. This resources adds an additional layer of society living, clubs! Clubs have a similar structure as ESX jobs. There is an owner who has access to the same basic Boss menu from society and can perform similar actions of the Boss menu. Clubs have multiple features as well and allow players to have day-jobs to go along with their club perks.

Requirements

  • ESX (the big one)
  • skinchanger (club changing room)
  • esx_skin (club changing room)
  • esx_property (club changing room)
  • esx_addonaccount (club bank)
  • esx_datastore (club storage)
  • esx_addoninventory (club storage)
  • eden_garage / esx_drp_garage (vehicle garage)
  • pNotify

Clubs Features:

  • Clubhouse storage (dirty money, items and weapons)
  • Clubhouse changing room (accesses esx_property saved outfits)
  • Private storage for definable ranks and above
  • Clubhouse garage for vehicle spawning
  • Automatic club payouts to members either out of club bank balance or generic payouts (similar to ESX Paychecks)

Club Owner Functions:

  • Add money to a "club bank" balance
  • Add/promote/remove members
  • Adjust member pay rates

Club Treasurer Functions:

  • Adding a rank named treasurer allows the person to deposit/withdraw club money as well as show current balance

How to add people to club:

Use /setclub PlayerId ClubName ClubRank command as jobmaster/admin/superadmin or as club owner, recruit members via the Owner menu

Installation:

  • Import sody_clubs.sql into your database to add club and club ranks tables (includes LMC club example)
  • Add additional clubs, club ranks, addon_account, addon_inventory and datastore (latter 3 need club_clubname, club_clubname_pub and club_clubname_priv names, see example) to database as needed. Adjust config.lua and add club position data as needed
  • If using an IPL/instance, you can utilize the Teleporter and GarageTeleporter options in the config.lua for teleport circles
  • Alter config.lua as needed for global options
  • Add this in your server.cfg :
start sody_clubs

The Thanks Yous:

  • All developers of esx/fivem scripts for their knowledge and time!
  • Special thanks to the developers of ESX, skinchanger, esx_skin, esx_society, esx_property, esx_addonaccount, esx_addoninventory, esx_datastore and eden_garage for allowing me to dip into your goodness and make something out of it
  • Members of the Slick Top Gaming RP Community for their testing and tips (http://discord.slicktopgaming.com)

About

Player Clubs resource for FiveM > ESX

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%