Code Monkey home page Code Monkey logo

ghomes's Introduction

gHomes

gHomes for Garry's mod | All-in-one property solution [Buy/rent from NPC or from 3D/2D Panel]

DLC is included

gHomes allows your players to rent/purchase houses or apartments.

GHomes is provided with strong and easy-to-use tools which will allow you to quickly add -if the map you're using is not supported yet- houses or apartments to your favorite map.

You can either buy/rent the home/apartment directly on it's front panel or go to the NPC selling them, you can also disable the panels in the config to force the players to use the Seller.

Buy houses from multiple way (Each way can be disabled in the settings/ or by not spawning the npc)

Let the players rent or purchase properties (You do like : max rental = 3 days, autosell after not connected after x days in the config)

Let the players decide for how much days they rent the home (You can disable each mode individually for each house)

As a player, renew the lease before it expires

Easy as hell to use tools allowing you to add your own maps/houses/apartments

Auto props saving for the owner of the house/apartment every minutes

Auto keys management, directly use them, no F2 or door linking bullshit

Prevent people from spawning shit on your lawn

Sexy preview of the property when buying it with the NPC

Sexy 3D panel if you decide to keep it enabled, since the 4.0 update you can disable it and open it in a 2D context using F2 on the door

Add co-owners, allow them to open/close doors and spawn props

With the 3D Panel, ring the doorbell and leave messaged to the owner or the co-owners, they will be able to read them directly on it.

If the player didn't connect for X days (in the config) the property/house/whatever he owns is sold.

Compatible with AGC to get a list of the guys living in a house

NO DRM

💪 ESL ONE Certified mathematics used for optimizations

Quick showcase video i made for the 2.0, it's a recap of most of the existing features, keep in mind i'm french, so pardon my english

Sexy booting animation for the tool (you'll see it only once, don't worry)

[NEW] You can now edit houses (daily price, perma price, name etc) directly with the NPC

[NEW] Players can now rent houses in hours not just in days

[NEW] You can enable the "sell-on-leave" mode to get a darkrp vanilla experience and still make it easier for your players to buy houses

Even if the tool to add homes is easy as hell to use, ready-to use maps files are provided with the addon, more will come in the future, but keep in mind using the tools is really easy.

All existing map are supported, there is nothing as an "unsupported map", the tools are easy as fuck to use, really

(I know it's supposed to be X per day and not per days, it's fixed in the addon but i'm too lazy to re-record it)

sexy booting animation which you will see only once ;), don't worry about seeing it evertime to use the tool

Compatibility and other stuff

Take a look at BadCoderz, the first addon that find unoptimized code on your server.

ghomes's People

Contributors

amd-nick avatar blueberryy avatar extremlapin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ghomes's Issues

Only spawns props in home

G'Day a long time ago you sent me to only allow players being able to spawn props inside there building (except admins) just wanting to get it fixed again thanks.
The code:
`local function propSpawn(ply, model)
local foundhouse = 0

for k, v in pairs(ghomes.list) do
    if ply:GetEyeTrace().HitPos:IsInHouse(k) then
        foundhouse = k

        if not ply:CanSpawnInHouse(k) then
            return false
        end
    end
end

if foundhouse == 0 then
    return false
end

end

local function propSpawned(ply, model, ent)
local foundhouse = 0

for k, v in pairs(ghomes.list) do
    if ent:GetPos():IsInHouse(k) then
        foundhouse = k

        if not ply:CanSpawnInHouse(k) then
            return false
        end
    end
end

if foundhouse == 0 then
    return false
end

end`

Je ne vois pas le toolgun / I don't see the toolgun

Salut, je viens d'installer l'addon sur mon serveur, j'ai bien glissé le bon dossier dans le dossier "data" mais quand je start mon serveur le toolgun n'est pas dans le SpawnMenu, peux-tu m'aider ?

(j'ai mit en anglais juste en bas pour les gens pas français qui ont le même problème)

Hi, I just installed the addon on my server, I dragged the right folder into the "data" folder but when I start my server the toolgun is not in the SpawnMenu, can you help me ?

NPC overlay distance

Salut,

L'overlay au dessus de la tete du NPC ne disparaît pas a une certaine distance.

Merci,

bad net

"ghomes_delete_home"
"properties" and this too maybe
with this net user delete all homes on my server
Plz check code.

NPC NAME

please tell my how to rename the NPC gHomes to another name ?

GHomes not working on Helix

I get this
[ERROR] addons/ghomes/lua/ghomes_system/client/dermabuddy.lua:67: attempt to concatenate a nil value

  1. confirmcreation - addons/ghomes/lua/ghomes_system/client/dermabuddy.lua:67
  2. leftclick - addons/ghomes/lua/weapons/gmod_tool/stools/enhanced_homes.lua:572
    3. v - addons/ghomes/lua/weapons/gmod_tool/stools/enhanced_homes.lua:590
    4. unknown - lua/includes/modules/hook.lua:84

befor the error i did a change to sh_compatibility/main.lua and returned at getCurGamemode() "ix"
because it everytime used the darkrp gamemode

Data isn't saving

A few days ago I've installed gHomes on my DarkRP server, I created some houses and when I restart my server, the data files removes instantly.
imagen_2021-12-16_161943

dont work

je ne sais pas si je suis le seul mais je mets l'addon dans le dossier et rien ne marche alors que quand je l'avais y'a 1 ans tout marcher bien je suis le seul ?

Feature request

Sell my home to another player and spawn in it when i joined to server.

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.