430 ratings
Automatic Doors
File Size
0.043 MB
Jul 22, 2016 @ 3:12pm
Sep 18, 2016 @ 2:49am
27 Change Notes ( view )

Subscribe to download
Automatic Doors

Makes all doors open and close automatically!

Last update: v3.5 -big code rewrite by bk3k, check the changelogs for details

You come home from a hard and hefty farming day, and then there is it. The door. Doesn't it bother you to ever press that E button open it? Fear no more, citizen, for convenience is here!

This mod makes all doors in the game (all that rely onto doors.lua actually) automatic. This means you'll be able to just walk straight forward against a door and it will open and close without your consent!
Though you should probably be careful when there are monsters at your door, as you will open the door now when you come too close...
It also open automatically ONLY for players, NPCs still have to use doors manually and monsters still can't open them.
Though NPCs also close the doors automatically behind them now, which means that you no longer have to worry that monsters might slip into your house! (Though it is not 100% foolproof if a monster stands right next to the door when the NPC opens it)
Doors should also behave as normal doors when they are locked or wired, wiring a door disables automatic mode while dewiring one enables it again.
If a door behaves funky after you downloaded a new version, walk through it and away from it once and see that the NPCs do the same, also be sure to reload your game!

In case of issues: If you are getting stuck, like in a mission, you can open the chat and type "/admin" followed by "/settileprotection 0 false". This allows you to destroy blocks. Set it to true again after you got through the faulty door so you don't lose the experience. And report the issue to me :)

Also if you recognize any bugs, or have any wishes or future ideas, please feel free to report them to me (us rather), I will try to fix them then.

Discuss the mod here:

Credit: bigthanks to healthire for some minor help and especially to bk3k for updating it to 1.0 and greatly updating the code!

Our other mods:
Give me Cotton! -
NPC Killer -
No Heal and Fooditem Drop -
Pipes flow -
bk3k Blocks and Objects -
Popular Discussions View All (2)
Sep 15, 2016 @ 10:13pm
PINNED: For modders - more than just automatic doors
< >
bk3000  [author] Jul 17 @ 4:26pm 
>also, forgot to say NPCs have trouble using hatch doors from time to time, the player has to open the hatch for them
>bad for a retarded crew in a finely pimped ship

That falls under the category of the NPC's AI. This mod doesn't touch it. That's a vanilla issue right there. I believe there is a mod or 2 that address this.
shardinhand Jul 17 @ 4:19pm 
nice ^^
demmastera Jul 8 @ 11:33pm 
also, forgot to say NPCs have trouble using hatch doors from time to time, the player has to open the hatch for them
bad for a retarded crew in a finely pimped ship
demmastera Jul 8 @ 11:24pm 
don't know if it's just me but when you want to use a door just after an npc goes trough it won't open for you for several seconds
it's anoying, specially in towns and hubs where there's already lag to deal with
bk3000  [author] Jun 23 @ 12:09pm 
AI stupidity is beyond the scope of this mod. This mod neither fixes it nor is responsible for it.
Augusonic Jun 23 @ 11:50am 
and some avains npc loves to opencloseopenclozeopencloze all the ****** time
Sir Voxel Jun 10 @ 7:38pm 
Yeah, after re-subscribing to all my mods, my game didn't break.
How embarrassing...
bk3000  [author] Jun 10 @ 7:10pm 
This mod doesn't touch containers in any way, shape, or form. There is no relation to your problem. I suggest you look at \starbound\storage\starbound.log
Sir Voxel Jun 10 @ 6:56pm 
I do not think that this works properly with the 'extended storage' mod.
As in, when I opened up one of my containers, my game just crashes.
Would you please be able to do some testing with these and try to see what exactly the problem is?
springacres Jun 4 @ 9:26pm 
Thanks for the info. Just to clarify, this does still work with most doors I encounter, but (as you surmised) not with the BYOS doors.