# In multiplayer client can't open door but the server can

**URL:** <https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, Multiplayer, door, Blueprint, question\
**Created:** [March 11, 2015, 7:32pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535 "2015-03-11T19:32:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dan\_O](https://forums.unrealengine.com/u/Dan_O)\
**Post date:** [March 11, 2015, 7:32pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/1 "2015-03-11T19:32:38Z")

</div>

When the server press F the door opens and updates to the client, when the client presses F the door doesn’t open. Is this to do with the player controller ?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/d/96db1c18f6f16fb45b058bc12e1fbe07a0f8b634.jpeg) ](https://i.imgur.com/YHXgvhU.jpg)

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [March 11, 2015, 7:55pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/2 "2015-03-11T19:55:02Z")

</div>

The input needs to call a replicated server function to tell the server that the client wants to open the door. The way you have that scripted, you are calling the Play event which only lives on the server.

---

<div class="post-metadata">

**Author:** ![Dan\_O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dan\_O](https://forums.unrealengine.com/u/Dan_O)\
**Post date:** [March 11, 2015, 8:03pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/3 "2015-03-11T20:03:32Z")

</div>

How would I call a replicated server function

---

<div class="post-metadata">

**Author:** ![happo5ai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@happo5ai](https://forums.unrealengine.com/u/happo5ai)\
**Post date:** [March 11, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/4 "2015-03-11T20:14:39Z")

</div>

Take a custom event say run on server and then check for authority to know if you have to call the server event or just open the door normally.

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [March 11, 2015, 8:18pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/5 "2015-03-11T20:18:58Z")

</div>

Create a function that does what the F input set of nodes does. Mark it as replicated to server. Then have the F key call that function instead

---

<div class="post-metadata">

**Author:** ![Dan\_O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dan\_O](https://forums.unrealengine.com/u/Dan_O)\
**Post date:** [March 12, 2015, 2:22am UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/6 "2015-03-12T02:22:36Z")

</div>

Still Doesn’t work 😕

 ![33765-still+doesn't+work.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/c/6fcc483cbe228c83b118b253b65b45b399a5ad9a.jpeg)

---

<div class="post-metadata">

**Author:** ![Feffe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Feffe](https://forums.unrealengine.com/u/Feffe)\
**Post date:** [March 15, 2015, 10:29pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/7 "2015-03-15T22:29:24Z")

</div>

I prombem too. Screen please.

Thank 🙂

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [March 16, 2015, 5:17pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/8 "2015-03-16T17:17:46Z")

</div>

Sorry, I said function but really meant a custom event. You don’t need to check authority though

---

<div class="post-metadata">

**Author:** ![Cipher5](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cipher5/32/466939_2.png) [@Cipher5](https://forums.unrealengine.com/u/Cipher5)\
**Post date:** [January 19, 2016, 7:39pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/9 "2016-01-19T19:39:32Z")

</div>

I know this topic is about a year old but can someone chime in on how to do this? I am stuck on the same thing. I can get the doors to all work and synchronized for multiplayer but just using the trigger boxes, but as soon as you try to use a input key only the server can use the door. This topic has been discussed lots of places but no one has posted a clear way to accomplish this, and this should be an easy task to do… I have been working on getting this working for around 6 months, searching and reading all the documentation and nowhere tells you how to for sure do this.

So far the only way I could get this to work with everyone seeing the doors opening and closing was to create my own controller as suggested here in the forums but this just seems just way to much wasted work, if this is the only way to do it then the work wont be wasted. Is that the only way to achieve this or has anyone been able to do this using the default 3rd person template and player controller.

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [January 19, 2016, 8:09pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/10 "2016-01-19T20:09:49Z")

</div>

> but as soon as you try to use a input key only the server can use the door

You have to tell the server about the input, since there’s no way for it to know a user pressed a key on a different machine without that. For example, you’d have to bind the key to a function that calls ServerOpenDoor (the function that opens the door). The server then can check whether the call was valid, open the door, and then all other clients would get the replicated state.

---

<div class="post-metadata">

**Author:** ![Cipher5](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cipher5/32/466939_2.png) [@Cipher5](https://forums.unrealengine.com/u/Cipher5)\
**Post date:** [January 19, 2016, 8:32pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/11 "2016-01-19T20:32:55Z")

</div>

I swear I have tried this many times that way, when I get some time later I will post my code, screen shots. Thanks for the fast reply.

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [January 19, 2016, 8:39pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/12 "2016-01-19T20:39:43Z")

</div>

Make sure your input and client/server functions are on the player controller. It needs to be owned by the remote client

---

<div class="post-metadata">

**Author:** ![emotivarts](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emotivarts/32/1131592_2.png) [@emotivarts](https://forums.unrealengine.com/u/emotivarts)\
**Post date:** [May 20, 2017, 12:35pm UTC](https://forums.unrealengine.com/t/in-multiplayer-client-cant-open-door-but-the-server-can/310535/13 "2017-05-20T12:35:46Z")

</div>

i have the same issue and can figure it out for 3 days now. any ideas?
