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

Plutonium

  1. Home
  2. MW3 Server Hosting Support
  3. [Windows] Hosting second server instance excluding the plugins/scripts from previous one.

[Windows] Hosting second server instance excluding the plugins/scripts from previous one.

Scheduled Pinned Locked Moved MW3 Server Hosting Support
6 Posts 3 Posters 353 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.
  • nightwings3undefined Offline
    nightwings3undefined Offline
    nightwings3
    wrote on last edited by
    #1

    Dear Plutonium Community,

    I have an iSnipe server running on a VPS using the plutoisnipe.dll plugin and some scripts. I want to create another server instance that doesn't use the present plugins/scripts from the iw5 storage (iSnipe ones).

    Is there any way to do that?

    Help in this matter would be highly appreciated.

    Regards,
    nightwings3

    Resxtundefined 1 Reply Last reply
    0
    • nightwings3undefined nightwings3

      Dear Plutonium Community,

      I have an iSnipe server running on a VPS using the plutoisnipe.dll plugin and some scripts. I want to create another server instance that doesn't use the present plugins/scripts from the iw5 storage (iSnipe ones).

      Is there any way to do that?

      Help in this matter would be highly appreciated.

      Regards,
      nightwings3

      Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote on last edited by Resxt
      #2

      nightwings3 If you only have gsc scripts you can edit them to only load when the server port is X but since you have a dll file I assume you cannot modify it and so the solution would be having 2 different Plutonium folders.

      Here is a bat Mxve gave me to do that
      https://www.mediafire.com/file/czmdkp7g0t64mge/Plutonium2.bat/file

      You simply change installDir to be your Windows user name, save it then put it in the same folder you have plutonium.exe and run it.

      It will then create a new Plutonium folder here %localappdata%\Plutonium2

      Then for the other server you wanna run without what's in the first folder you simply change the start bat file to use the Plutonium2 folder instead cd /D %LOCALAPPDATA%\Plutonium2

      GodofZombieundefined 1 Reply Last reply
      0
      • nightwings3undefined Offline
        nightwings3undefined Offline
        nightwings3
        wrote on last edited by
        #3

        Dear Resxt,

        I'm grateful for your help. The plutonium2 solution works fine. However, would you be so kind to share the GSC code for loading scripts only when the server port is X as well? I have very low familiarity with GSC scripting.

        Regards,
        nightwings3

        Resxtundefined 1 Reply Last reply
        1
        • nightwings3undefined nightwings3

          Dear Resxt,

          I'm grateful for your help. The plutonium2 solution works fine. However, would you be so kind to share the GSC code for loading scripts only when the server port is X as well? I have very low familiarity with GSC scripting.

          Regards,
          nightwings3

          Resxtundefined Offline
          Resxtundefined Offline
          Resxt
          Plutonium Staff
          wrote on last edited by
          #4

          nightwings3 So a GSC script always starts with a Main() or Init() function, this is the entry point.
          Then you usually call OnPlayerSpawned() or something like that.

          If you only want your script to run on a particular server just wrap everything inside the Main or Init function inside a condition.
          You can easily assign only certain part of scripts to a particular server and not another as well.

          For example

          Init()
          {
              if (getDvarInt("net_port") == 27017)
              {
                  // your logic for the server that uses the port 27017 here
              }
          }
          
          1 Reply Last reply
          0
          • Resxtundefined Resxt

            nightwings3 If you only have gsc scripts you can edit them to only load when the server port is X but since you have a dll file I assume you cannot modify it and so the solution would be having 2 different Plutonium folders.

            Here is a bat Mxve gave me to do that
            https://www.mediafire.com/file/czmdkp7g0t64mge/Plutonium2.bat/file

            You simply change installDir to be your Windows user name, save it then put it in the same folder you have plutonium.exe and run it.

            It will then create a new Plutonium folder here %localappdata%\Plutonium2

            Then for the other server you wanna run without what's in the first folder you simply change the start bat file to use the Plutonium2 folder instead cd /D %LOCALAPPDATA%\Plutonium2

            GodofZombieundefined Offline
            GodofZombieundefined Offline
            GodofZombie
            wrote on last edited by
            #5

            Resxt hey bro. your link doesnt work for bat file. can you reupload it?

            Resxtundefined 1 Reply Last reply
            0
            • GodofZombieundefined GodofZombie

              Resxt hey bro. your link doesnt work for bat file. can you reupload it?

              Resxtundefined Offline
              Resxtundefined Offline
              Resxt
              Plutonium Staff
              wrote on last edited by
              #6

              GodofZombie

              https://forum.plutonium.pw/search?in=titlesposts&term=installdir&matchWords=all&by=&categories=&searchChildren=false&hasTags=&replies=&repliesFilter=atleast&timeFilter=newer&timeRange=&sortBy=relevance&sortDirection=desc&showAs=posts

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

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