[Release][ESX] Properties


#1

Posted on behalf of @GiZz, the developer of ESX (ES Extended).

EssentialMode Base by @Kanersps: [Release] EssentialMode base
ES Extended (ESX) by @GiZz: https://github.com/FXServer-ESX/fxserver-es_extended
instance: https://github.com/FXServer-ESX/fxserver-instance
cron: https://github.com/FXServer-ESX/fxserver-cron
esx_addonaccount: https://github.com/FXServer-ESX/fxserver-esx_addonaccount
esx_addoninventory: https://github.com/FXServer-ESX/fxserver-esx_addoninventory
esx_datastore: https://github.com/FXServer-ESX/fxserver-esx_datastore

The current translations are for French and English, configurable in the config.lua file. Default is set to French (fr), to change to English make sure to change to “en”.

[Features]:

-Invite other players to your residence.
-Alter your player clothing which you purchased from a store, inside your residence.
-Deposit/Remove objects which includes inventory items and “black/dirty money.”
-Rent a home
-Buy a home
-Automatic payment of rent every 24 hours (configurable)
-Many different homes available

[Screenshots]

[Installation]:

  1. Change directory to resources/[esx]/
  2. Clone the Git repository https://github.com/FXServer-ESX/fxserver-esx_property
  3. Import esx_property.sql into your MySQL database
  4. Add this to your server.cfg “start esx_property”

[Additional Information]:
For additional support please visit the ESX Discord: https://discord.gg/pVvDcPH

There are more plugins available which you can view at https://github.com/FXServer-ESX


[Release] [ESX] [Real Estate Agent Job]
Houses/garazes script
#2

There is also:

  • Rent a flat
  • Buy a flat
  • Automatic paying rent each 24 IRL hours (configurable)
  • Many different flats
  • A real estate agent job is avalaible to go with it (player management and automatic, it allows the player to fill his real estate society account with $$$ )
  • etc …

#3

Multi-language support has been added.


#4

Thanks for the translation files @nearbyplayer and updated the main post @renaiku


#5

This looks very nice!

That ESX plugin list is HUGE by the way. Some very interesting looking stuff there. I need to figure out how to get this all working.


#6

I can buy apartments - They appear as owned in my database however I can’t enter it, as I click “Enter” it just goes back to the acquired properties list. Any ideas?


#7

do you have all the requirements for that script? and do you have all of them updated including esx_property?


#8

Is the paycheck interval the same as rent? Got everything setup had no money rented a property said it was like 2k but I had no money? And the property was mine. Just trying to figure out how the rent works. Love your work thanks man :slight_smile:


#9

getting error

cfx> Error running system event handling function for resource esx_property: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:206: attempt to index a nil value (local ‘xPlayer’)
stack traceback:
server/main.lua:206: in upvalue 'handler’
citizen:/scripting/lua/scheduler.lua:163: in function citizen:/scripting/lua/scheduler.lua:162
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:162: in function citizen:/scripting/lua/scheduler.lua:131

when trying to buy an office.


#10

ESX.RegisterServerCallback(‘esx_property:getProperties’, function(source, cb)
cb(Config.Properties)

What is Wrong??


#11

@Wagelid send me your server.cfg


#12

@MisterMike99 I manage to fix one error but now i get Started resource instance
CRON STARTED [03:31]
Started resource cron
Failed to load script @async/async.lua. < — THIS
Started resource es_extended
Started resource esx_addonaccount
Started resource esx_addoninventory
Started resource esx_datastore
Started resource esx_property
Started resource fivem-map-hipster
Started map fivem-map-hipster
map fivem-map-hipster


#13

@MisterMike99 ###################### Root
start mapmanager
start chat
start spawnmanager
start fivem
start hardcap
start rconlog
start scoreboard

###################### Plugins
start keks
start Uniformer
start mysql-async
start esplugin_mysql
start essentialmode
start es_admin2
start fuel
start vegvesen
start heli
start hund
start radar
start cruice
start speedometer
start blips
start lux
#start es_rp
#start Mod
start mat
start npclife
start neverwanted
start nodetat
start instance
start cron
start es_extended
start esx_addonaccount
start esx_addoninventory
start esx_datastore
start esx_property

from my server.cfg


#14

@Wagelid Try like this

####### FIVEM DEFAULT #######
start mapmanager
start chat
start spawnmanager
start fivem
start hardcap
start rconlog
start scoreboard

set mysql_connection_string “server=your_ip;database=your_db;userid=your_user;password=your_pass”

####### Disable Couchdb from essentialmode #######
set es_enableCustomData 1

####### ESSENTIAL ########
start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2

###################### Plugins
start keks
start Uniformer
start fuel
start vegvesen
start heli
start hund
start radar
start cruice
start speedometer
start blips
start lux
#start es_rp
#start Mod
start mat
start npclife
start neverwanted
start nodetat
start instance
start cron
start es_extended
start esx_addonaccount
start esx_addoninventory
start esx_datastore
start esx_property

And for the error “Failed to load script @async/async.lua.” you need async. (i put uploaded for you).async.zip (13.0 KB)


#15

@MisterMike99

Love Mate. Tnx. Working now :slight_smile:


#16

@Wagelid Nice :heart: :smile:


#17

Yo could i get some help? Add me on discord maybe? Or join my discord? discord.gg/k93exeg


#18

Could someone please help me? :slight_smile: I’m a noob at this

https://gyazo.com/8b17e1edbe9210cec48df9e0d8508620


#19

Hello.
Could someone help me.
Trying to install esx properties, but, when I’m installing offices.sql I’m getting this error.


#20

you need to be running mysql plugin for essentialmode :wink: link is on essentilamode base page.