329 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
< >
kirbystarz05 Sep 29 @ 8:19am 
bk3000  [author] Aug 8 @ 8:37pm 
Thanks for proving logs. Although those are incredibly long and full of errors. I can't find anything related to this mod but... well that could just mean I can FIND it. You have some sort of severely broken vehicle-type mod, and I think something affecting monsters too. The errors just keep coming!

I know "enemies aren't stupid" is well outdated(and is missed), and I'm not sure if any other NPC mods are broken - but I know the behavor system was changed completely in SB 1.3.
Johnny Rainbow Aug 8 @ 12:10pm 
doesn't seem to work for me either. here's the log though:

part 1:

part 2:
bk3000  [author] Aug 3 @ 7:09pm 
When you say it doesn't work... Could you be specific? And go into \starbound\storage\ starbound.log to put the contents on pastebin. Nothing's changed in our end or Starbound that would suddenly made it stop working so I'm going to need something to go off of.
Skyfry428 Aug 3 @ 5:35pm 
This worked when I first got it, now it doesn't work at all. Tried uninstalling and reinstalling, nothing worked
bk3000  [author] Jul 18 @ 3:34pm 
Pretty sure the server would need it.
call me daddy Jul 18 @ 2:39pm 
is it client sided ?
Jul 14 @ 3:26pm 
works perfectly @v1.3.1
great mod (^.^)b
bk3000  [author] Jul 6 @ 4:18pm 
You can add it to individual doors, or edit the lua script in /objects/wired/door/door.lua

I suppose I should make an interface already that lets you change stuff like that and write it to world properties. That way people not inclined to tinker can adjust stuff too.
Nesano Jul 6 @ 3:21pm 
Lornlynx throwin' down on that gibberish. But anyway, where would I find queryOpenRadius?