Part existing on server and certain player's side

Hello, I’m working on trolleybus game and I have problem with one mechanic.

  1. What do you want to achieve? I want to make switches on client’s side to avoid trolling (such as changing someone’s switch to derail them).

  2. What is the issue? Contact shoes (parts that slide on wires) has to be on server side + client/driver side to work properly. (Scheme below. Original from image from Wikipedia.)
    SchemeExample

  3. What solutions have you tried so far? I already have switches on client’s side, but I have no idea how to do contact shoe’s replication. Maybe I don’t know how to search properly, but couldn’t find any topic that would help me.

Thank you for any advice