Garry's Mod

Garry's Mod

Better Doors - Group DarkRP Doors
35 条留言
mozi_h  [作者] 2024 年 12 月 2 日 上午 5:06 
@AppleSFM use /setgroup without a group name to remove its group and have the door behave like default again.
Apple 2024 年 12 月 2 日 上午 2:47 
how to remove the door?
mozi_h  [作者] 2024 年 6 月 1 日 上午 6:37 
@Walter White Saw your comment kinda late, but I added you so we can dm for more details.
Pascal Case 2024 年 5 月 22 日 下午 1:32 
Hello, may I make an edit of your addon or can I send you code to add more functionality to your addon. I can dm you more details.
HypFox 2023 年 7 月 6 日 上午 11:15 
i would like that very much, also for all doors to have the group name on the door, for example hangar written on door, on all doors that are grouped with hangar
mozi_h  [作者] 2023 年 4 月 14 日 下午 4:23 
Unlikely, at least anytime soon. That would require some extra save stuff, so it's a bit of a hassle to add.
Maybe I'll feel like coding it in some day.
If you read this as a random passer by and would also like this feature: Please comment so.
Joshua Graham 2023 年 4 月 2 日 下午 12:15 
This is a great addon. Any chance you could add being change the price of doors so you could essentially make some properties more expensive than others?
Zeatth 2022 年 12 月 9 日 上午 12:59 
Just checked and no other door addons are being used on the server. I will remove that code and see if it helps
mozi_h  [作者] 2022 年 12 月 8 日 下午 3:06 
@Zeatth in my testing, respecting maxdoors works as intended (Always allow one complex, then respect door limit).
Does it do nothing or show the "hit door limit" hint? Are any other DarkRP door-related addons installed (e.g. Door Signs and whatnot)?

You can strip BetterDoors of any maxdoor checks by removing Lines 140 to 145 from https://github.com/mozi-h/Better-Doors/blob/master/lua/betterdoors/betterdoors_sv.lua#L140 and installing that on your server (plop into your addons folder as usual).
Zeatth 2022 年 12 月 8 日 上午 11:14 
Anyone having issues where people just can't buy doors and have hit door limit with 0 doors owned? Only happened since I installed this addon
mozi_h  [作者] 2022 年 6 月 19 日 下午 1:02 
@[MG] Phillipm02
The commands are for in-game use in chat. As superadmin, look at a door and assign a group. Repeat for all doors in the same group. Change the name between different groups. See the video above for a viasual guide.
Phillipm02 2022 年 6 月 18 日 上午 3:21 
How do I enter the commands in my server console? If I do this it says "Unknown command: /setgroup"
mozi_h  [作者] 2022 年 3 月 14 日 下午 2:11 
@meKCHanik_KOłodziej
The question makes little sense, I think you didn't understand the concept:
Groups are for the doors to know in what apartment complex / house they are. Owner management is still done the default was of pressing F2 or Reload with keys on them.

If you are referring to assigning a job group (set in darkrpmodification) to own a better doors group, you cannot. Instead, go the default route of adding job ownership to every door you want with the default F2-Admin-Menu.

If you want to force an owner onto a door group via admin magic (e.g. "/setowner mozi"), you can't. The best you can do is giving that player the money to buy the door themselves (I am not aware of any DarkRP Admin console command to set a door's owner either).
Mekchanik 2022 年 3 月 14 日 下午 1:33 
is this possible to set owner to group?
Kanako 2022 年 2 月 26 日 上午 9:28 
@mozi_h

I only have the darkrp and rockford map on my collection, i use the Github version of the addon and add it to the server but when i try ingame, none of the command work
mozi_h  [作者] 2022 年 2 月 25 日 下午 5:51 
@Kanako

On startup, does it say "Loading Better Doors" (client-side and server-side)?

What exactly does not work:
Does /setgroup and the other commands work?
Does bulk-buying work?
Does bulk-selling work?
Are co-owners synced?
Do co-owners inherit when the owner leaves?

Do you have other add-ons installed? Do any modify door-related stuff? (Fancier door signs, overwritten door menus etc.)
An exact add-on list might help, but is probably not needed. If you have a collection already, it doesn't hurt to know it.
Kanako 2022 年 2 月 25 日 下午 2:08 
I put Better doors on my sever but for unknow reason, it just doesn't work, any tips @mozi_h ?
Theodore Roosevelt 2021 年 12 月 27 日 下午 1:13 
Works perfectly and I love having these little background tools to help with my server! :D
Rage 2021 年 5 月 3 日 上午 7:57 
@mozi_h could you add my on Discord? this addon is conflicting with a few of my addons and making them not function as suppose to. rage#2014. just want to clear some things up and possibly fix this, so other people won't run into this problem.
mozi_h  [作者] 2021 年 4 月 30 日 下午 2:16 
@Rage Updated. It will now respect maxdoors, but always allow at least one complex to be bought.
Rage 2021 年 4 月 30 日 上午 12:29 
@mozi_h appreciate it, let me know when its fixed!
mozi_h  [作者] 2021 年 4 月 29 日 下午 1:03 
@Rage I found the issue and will update Better Doors soon (this week; probs tomorrow) to respect GAMEMODE.Config.maxdoors
Rage 2021 年 4 月 29 日 上午 2:12 
When setting my default DarkRP config maxdoors to 1 (1 property), this addon overrides it and I can buy like half the maps doors. is there a way to fix this? add me on Discord to talk rage#2014:)
mozi_h  [作者] 2021 年 1 月 17 日 下午 12:34 
I finally overcame kdenlive's love for voiding audio and rendered a tutorial video. You're welcome. :balloon:
Knight 2020 年 8 月 7 日 下午 5:52 
@Czak - "I have used the commands they does not work... there is just a thing on the chat that this has been set but it is not. I even tried restarting the server."

Add two doors together in a group with /setgroup and then /listgroups after you've done it. It should say in the chat:
groupname (amountofdoors e.g 1,2,3 etc)

Only issue that is now patched by the author is that it wasn't persistent through sessions because it wasn't creating the "betterdoors" data directory. That's now fixed afaik.
mozi_h  [作者] 2020 年 8 月 7 日 上午 11:45 
I think you're experiencing the same problem that therealknight pointed out in the GitHub repository: There is an oversight, where Better Doors will not create the garrysmod/data/betterdoors directory automatically, thus not saving between sessions.
I am currently patching this, you can create the directory manually to fix this issue.
Czak 2020 年 8 月 7 日 上午 2:45 
I have used the commands they does not work... there is just a thing on the chat that this has been set but it is not. I even tried restarting the server.
mozi_h  [作者] 2020 年 8 月 6 日 下午 11:38 
There are no premade configs for that map, thus you need to group doors together using the commands. Do they work? If so, set up as described above, if not verify that "Loading Better Doors" shows up in console.
Czak 2020 年 8 月 6 日 上午 2:31 
rp_downtown_v4c_v1 it just does not work does not show group on the doors
mozi_h  [作者] 2020 年 8 月 5 日 下午 12:10 
If there's a bug, I'd like to fix it; what seems to not work, Czak?
Can you use the commands? (What map are you on?) Do you see a message saying "Loading Better Doors" in the console (client- and mor importantly server-side)? How did you install the addon?
Czak 2020 年 8 月 5 日 上午 10:35 
Does not work dont download its not worth
BISTOPH 2020 年 5 月 5 日 下午 4:23 
Super useful my dude i love please keep it up!!!
rogi 2020 年 5 月 3 日 上午 11:36 
good addon
mozi_h  [作者] 2020 年 4 月 22 日 下午 11:39 
If you're on a map with no premade config, simply go to each door and do "/setgroup <name>" on each. Set the group name to the same on doors you want to be grouped together.
If you have 4 apartment doors near the PD, you cound do "/setgroup apartment by PD" on each of them. Repeat (with different group names) on every occasion like this. It saves automatically and will work every time the same map is loaded.
Use /getgroup if you want to know what group a door has, /listgroups to see how many groups are set on the current map and to remove a door from any group do /setgroup without any argument. Any door with no group will behave like usual.

Hope that clears it up. May add a quick video tutorial in the future.
Famine 2020 年 4 月 22 日 下午 9:43 
How do I set this up? I am quite confused on how the set up works, there is no detailed instructions for people such as I to understand