Code Monkey home page Code Monkey logo

sody_clubs's Introduction

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)

sody_clubs's People

Contributors

sodyfx avatar

Watchers

 avatar

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.