Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. WAW Client Support
  3. Feature Request: Change port number

Feature Request: Change port number

Scheduled Pinned Locked Moved WAW Client Support
23 Posts 4 Posters 4.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Xerxes Offline
    Xerxes Offline
    Xerxes
    Plutonium Staff
    wrote on last edited by
    #6

    %localappdata%\Plutonium\storage\t4\players

    trymeout 1 Reply Last reply
    0
    • Xerxes Xerxes moved this topic from WAW Modding Support & Discussion on
    • Xerxes Xerxes

      %localappdata%\Plutonium\storage\t4\players

      trymeout Offline
      trymeout Offline
      trymeout
      wrote on last edited by
      #7

      Xerxes So let understand this since there seems to be no documentation on this...

      in the %localappdata%\Plutonium\storage\t4\players folder you have the plutonium.cfg and the plutonium_mp.cfg config file. All you need to do is add the following values.

      seta net_port "12345"
      

      And this will change the port number used when hosting a private match?

      Is it possible to disable UPnP in the config?

      Resxt 1 Reply Last reply
      0
      • trymeout Offline
        trymeout Offline
        trymeout
        wrote on last edited by
        #8
        This post is deleted!
        1 Reply Last reply
        0
        • trymeout trymeout

          Xerxes So let understand this since there seems to be no documentation on this...

          in the %localappdata%\Plutonium\storage\t4\players folder you have the plutonium.cfg and the plutonium_mp.cfg config file. All you need to do is add the following values.

          seta net_port "12345"
          

          And this will change the port number used when hosting a private match?

          Is it possible to disable UPnP in the config?

          Resxt Offline
          Resxt Offline
          Resxt
          Plutonium Staff
          wrote on last edited by
          #9

          trymeout there's no documentation for this because only like 0.2% of the people need this and those who need to go so deep should be curious enough to figure out themselves tbh. You should be fine with UPnP still on if it's configured properly

          trymeout 1 Reply Last reply
          0
          • trymeout Offline
            trymeout Offline
            trymeout
            wrote on last edited by
            #10

            I did use change the port number in the config file but when I press F10 and go to the network tab, It still shows UPnP is disable with my port number being 0 and not the number I set it to.

            1 Reply Last reply
            0
            • Xerxes Offline
              Xerxes Offline
              Xerxes
              Plutonium Staff
              wrote on last edited by
              #11

              Yes, because it it showing you the port returned by UPNP, which is 0 since it is disabled.

              trymeout 1 Reply Last reply
              0
              • Xerxes Xerxes

                Yes, because it it showing you the port returned by UPNP, which is 0 since it is disabled.

                trymeout Offline
                trymeout Offline
                trymeout
                wrote on last edited by
                #12

                Xerxes So if I port forwarded port 22222 and change net_port in the config to 22222, it will display in the F10 network menu as port 0, but port forwarding should work and I can host a private match?

                trymeout 1 Reply Last reply
                0
                • Resxt Resxt

                  trymeout there's no documentation for this because only like 0.2% of the people need this and those who need to go so deep should be curious enough to figure out themselves tbh. You should be fine with UPnP still on if it's configured properly

                  trymeout Offline
                  trymeout Offline
                  trymeout
                  wrote on last edited by
                  #13

                  Resxt is there a way to disable UPnP in Plutonium so I can just manually forward the ports needed and change what the port nunbers are with net_port config setting?

                  JezuzLizard 1 Reply Last reply
                  0
                  • Xerxes Offline
                    Xerxes Offline
                    Xerxes
                    Plutonium Staff
                    wrote on last edited by
                    #14

                    Just pretend UPNP isn't there.

                    1 Reply Last reply
                    0
                    • trymeout trymeout

                      Resxt is there a way to disable UPnP in Plutonium so I can just manually forward the ports needed and change what the port nunbers are with net_port config setting?

                      JezuzLizard Offline
                      JezuzLizard Offline
                      JezuzLizard
                      Plutonium Staff
                      wrote on last edited by
                      #15

                      trymeout Unfortunately, I do not believe you can disable upnp for the client. It could added as a feature to disable upnp maybe via a launch flag but currently to my knowledge such a thing wasn't added.

                      If you really need to change the port I recommend hosting a dedicated server instead. Dedicated servers do not use upnp so you won't have to disable it manually on your router. You can still do anything a client host can do you just have to launch the client before running the dedicated server, and you may need to use the -lan launch flag if you don't want a server key.

                      1 Reply Last reply
                      0
                      • trymeout Offline
                        trymeout Offline
                        trymeout
                        wrote on last edited by
                        #16

                        JezuzLizard if you could add a disable upnp flag that will be most apprecated, even if it is something like seta disable_upnp. Hopefully if UPnP is disabled and I changed the port number to a port number I forwarded, I then can host private matches.

                        Is there a way to run a server in a container (docker or podman) and set the container volume to the game folder?

                        Is it possible to run a server on bare metal linux even if it requires the game and using wine?

                        And if you choose to run the server with no server key, can anyone join the server outside your local area network?

                        JezuzLizard 1 Reply Last reply
                        0
                        • trymeout trymeout

                          JezuzLizard if you could add a disable upnp flag that will be most apprecated, even if it is something like seta disable_upnp. Hopefully if UPnP is disabled and I changed the port number to a port number I forwarded, I then can host private matches.

                          Is there a way to run a server in a container (docker or podman) and set the container volume to the game folder?

                          Is it possible to run a server on bare metal linux even if it requires the game and using wine?

                          And if you choose to run the server with no server key, can anyone join the server outside your local area network?

                          JezuzLizard Offline
                          JezuzLizard Offline
                          JezuzLizard
                          Plutonium Staff
                          wrote on last edited by
                          #17

                          trymeout I believe there is a forum post about someone getting T6 to run in a container, perhaps there is one for T4 as well.

                          You can run T4 on linux using wine again there might be a guide on the forums but you might have to dig for it.

                          Servers with the -lan flag are only effectively in an offline mode; they do not authenticate to the backend and cannot be joined by online clients so every client that wants to join will have to switch from play to lan by clicking the up arrow in the launcher.

                          1 Reply Last reply
                          0
                          • Xerxes Offline
                            Xerxes Offline
                            Xerxes
                            Plutonium Staff
                            wrote on last edited by
                            #18

                            You don't have to start the server in lan if you don't want to use a server key. It and all clients can stay in online mode.

                            1 Reply Last reply
                            0
                            • trymeout Offline
                              trymeout Offline
                              trymeout
                              wrote on last edited by
                              #19

                              Can you run a T4 server and the T4 client (game) at once on the same PC?

                              1 Reply Last reply
                              0
                              • trymeout Offline
                                trymeout Offline
                                trymeout
                                wrote on last edited by
                                #20

                                Xerxes What is the purpose of the server key? Is it to have your server displayed in the master server list?

                                Resxt 1 Reply Last reply
                                0
                                • trymeout trymeout

                                  Xerxes What is the purpose of the server key? Is it to have your server displayed in the master server list?

                                  Resxt Offline
                                  Resxt Offline
                                  Resxt
                                  Plutonium Staff
                                  wrote on last edited by
                                  #21

                                  trymeout yes

                                  1 Reply Last reply
                                  0
                                  • trymeout trymeout

                                    Xerxes So if I port forwarded port 22222 and change net_port in the config to 22222, it will display in the F10 network menu as port 0, but port forwarding should work and I can host a private match?

                                    trymeout Offline
                                    trymeout Offline
                                    trymeout
                                    wrote on last edited by
                                    #22

                                    trymeout said in Feature Request: Change port number:

                                    So if I port forwarded port 22222 and change net_port in the config to 22222, it will display in the F10 network menu as port 0, but port forwarding should work and I can host a private match?

                                    By changing the net_port value in the config to a port nunber that is forwarded does work. When I press F10 it still shows UPnP being disabled and the port nunber being 0.

                                    I would like to suggest a feature request to show the port number (in my case it will show port as 22222 in the F10 Network menu) if the port is open when UPnP is disabled for clarity. Otherwise like myself, one will be confused and have issues troubleshooting their port forwarding setup.

                                    I would also like to suggest a config setting to disable upnp such as disable_upnp which will disable UPnP form being used at all. And in the F10 Menu it will display UPnP as "Fully Disabled" when set to 1. This will enhanced the security since UPnP is not the most secure way to port forward.

                                    1 Reply Last reply
                                    0
                                    • Resxt Offline
                                      Resxt Offline
                                      Resxt
                                      Plutonium Staff
                                      wrote on last edited by
                                      #23

                                      💀

                                      1 Reply Last reply
                                      0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • 1
                                      • 2
                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Unread 0
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Donate