Jump to content

it only shuts down the server but doesn't restart it

Closed 1.0.6 2.1.2

Galostar
Galostar

Posted

The plugin doesn't work, it only shuts down the server but doesn't restart it, could you please update it?

crash

Posted

Hello, could you elaborate more? Whenever the plugin gets to the last second it triggers the command quit. a.k.a restart.

Galostar

Posted

In the console only server shutdown appears, but it never starts again.
I have to start it manually.

 

Galostar

Posted

10/8 10:42:43 AM [Info] [AutoRestart] The server is shutting down now...

10/8 10:42:43 AM [Info] Unloaded plugin Admin Panel v1.4.7 by nivex

10/8 10:42:43 AM [Info] Unloaded plugin Any Map Vendor v1.0.0 by Adem

10/8 10:42:43 AM [Info] [AutoRestart] The server is shutting down now...

10/8 10:42:43 AM [Info] Unloaded plugin Admin Panel v1.4.7 by nivex

10/8 10:42:43 AM [Info] Unloaded plugin Auto Broadcast v1.0.9 by Wulf

10/8 10:42:43 AM [Info] Unloaded plugin Any Map Vendor v1.0.0 by Adem

10/8 10:42:43 AM [Info] Unloaded plugin Auto Broadcast v1.0.9 by Wulf

10/8 10:42:43 AM [Info] Unloaded plugin Auto Engine Parts v1.0.0 by WhiteThunder

10/8 10:42:43 AM [Info] Unloaded plugin Auto Engine Parts v1.0.0 by WhiteThunder

10/8 10:42:43 AM [Info] Unloaded plugin AutoRestart v1.0.6 by crash

10/8 10:42:43 AM [Info] Unloaded plugin Building Workbench v1.4.1 by MJSU

10/8 10:42:43 AM [Info] Unloaded plugin AutoRestart v1.0.6 by crash

10/8 10:42:43 AM [Info] Unloaded plugin Building Workbench v1.4.1 by MJSU

10/8 10:42:43 AM [Info] Unloaded plugin Car Radio v1.0.70 by TCM420G

10/8 10:42:43 AM [Info] Unloaded plugin Copy Paste v4.2.0 by misticos

10/8 10:42:43 AM [Info] Unloaded plugin DTags v2.2.2 by Gt403cyl2

10/8 10:42:43 AM [Info] Unloaded plugin Default Radio Station v1.1.0 by marcuzz

10/8 10:42:43 AM [Info] Unloaded plugin ExtractionRareMinerals v1.2.12 by DAez

10/8 10:42:43 AM [Info] Unloaded plugin Car Radio v1.0.70 by TCM420G

10/8 10:42:43 AM [Info] Unloaded plugin Copy Paste v4.2.0 by misticos

10/8 10:42:43 AM [Info] Unloaded plugin DTags v2.2.2 by Gt403cyl2

10/8 10:42:43 AM [Info] Unloaded plugin Default Radio Station v1.1.0 by marcuzz

10/8 10:42:43 AM [Info] Unloaded plugin ExtractionRareMinerals v1.2.12 by DAez

10/8 10:42:44 AM [Info] Calling 'Unload' on 'GatherManager v2.2.78' took 193ms

10/8 10:42:44 AM [Info] Unloaded plugin Gather Manager v2.2.78 by Mughisi

10/8 10:42:44 AM [Info] Calling 'Unload' on 'GatherManager v2.2.78' took 193ms

10/8 10:42:44 AM [Info] Unloaded plugin GhostRider v1.2.0 by 0xF

10/8 10:42:44 AM [Info] Unloaded plugin Instant Barrels v1.0.3 by Mevent

10/8 10:42:44 AM [Info] Unloaded plugin Inventory Viewer v4.1.2 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Lock Barrels v1.0.2 by Julio Juajez

10/8 10:42:44 AM [Info] Unloaded plugin Lock Master v1.1.8 by FastBurst

10/8 10:42:44 AM [Info] Unloaded plugin Mini-Copter Options v2.5.1 by Pho3niX90

10/8 10:42:44 AM [Info] Unloaded plugin Minicopter Seating v1.1.7 by Bazz3l

10/8 10:42:44 AM [Info] Unloaded plugin Night Zombies v3.4.2 by 0x89A

10/8 10:42:44 AM [Info] Unloaded plugin No Give Notices v0.3.0 by Wulf

10/8 10:42:44 AM [Info] Unloaded plugin No Green v1.3.10 by Iv Misticos

10/8 10:42:44 AM [Info] Unloaded plugin NpcSpawn v2.7.8 by KpucTaJl

10/8 10:42:44 AM [Info] Calling 'Unload' on 'OxidationTrollRocketMan v1.0.2' took 174ms

10/8 10:42:44 AM [Info] Unloaded plugin OxidationTrollRocketMan v1.0.2 by kasvoton

10/8 10:42:44 AM [Info] Unloaded plugin PlayerAdministration v1.6.9 by ThibmoRozier

10/8 10:42:44 AM [Info] Unloaded plugin Player Connect/Disconnect Notifier v1.1.0 by TuNombre

10/8 10:42:44 AM [Info] Unloaded plugin Radtown Animals v0.3.2 by k1lly0u

10/8 10:42:44 AM [Info] Unloaded plugin Remover Tool v4.3.43 by Reneb/Fuji/Arainrr/Tryhard

10/8 10:42:44 AM [Info] Unloaded plugin SaddleBags v1.1.0 by magado

10/8 10:42:44 AM [Info] Unloaded plugin Server Pop v1.1.2 by Mabel

10/8 10:42:44 AM [Info] [The Red Button] ButtonData saved

10/8 10:42:44 AM [Info] Unloaded plugin The Red Button v1.8.6 by NooBlet

10/8 10:42:44 AM [Info] Unloaded plugin Sign Artist v1.4.1 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Simple Kill Feed v2.2.8 by Krungh Crow

10/8 10:42:44 AM [Info] [Stack Size Controller] Reverting stack sizes to vanilla defaults.

10/8 10:42:44 AM [Info] Unloaded plugin Stack Size Controller v4.1.3 by AnExiledDev/patched by chrome

10/8 10:42:44 AM [Info] Unloaded plugin TheCupboard v1.0.0 by Wolfurr

10/8 10:42:44 AM [Info] Unloaded plugin Vanish v1.8.7 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Decay Protection v2.6.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Deployed Locks v1.13.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Zone Manager v3.1.5 by k1lly0u

10/8 10:42:44 AM [Info] Unloaded plugin Gather Manager v2.2.78 by Mughisi

10/8 10:42:44 AM [Info] Invalidate Network Cache took 0.00 seconds

10/8 10:42:44 AM [Info] Unloaded plugin GhostRider v1.2.0 by 0xF

10/8 10:42:44 AM [Info] Unloaded plugin Instant Barrels v1.0.3 by Mevent

10/8 10:42:44 AM [Info] Unloaded plugin Inventory Viewer v4.1.2 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Lock Barrels v1.0.2 by Julio Juajez

10/8 10:42:44 AM [Info] Unloaded plugin Lock Master v1.1.8 by FastBurst

10/8 10:42:44 AM [Info] Unloaded plugin Mini-Copter Options v2.5.1 by Pho3niX90

10/8 10:42:44 AM [Info] Unloaded plugin Minicopter Seating v1.1.7 by Bazz3l

10/8 10:42:44 AM [Info] Unloaded plugin Night Zombies v3.4.2 by 0x89A

10/8 10:42:44 AM [Info] Unloaded plugin No Give Notices v0.3.0 by Wulf

10/8 10:42:44 AM [Info] Unloaded plugin No Green v1.3.10 by Iv Misticos

10/8 10:42:44 AM [Info] Unloaded plugin NpcSpawn v2.7.8 by KpucTaJl

10/8 10:42:44 AM [Info] Calling 'Unload' on 'OxidationTrollRocketMan v1.0.2' took 174ms

10/8 10:42:44 AM [Info] Unloaded plugin OxidationTrollRocketMan v1.0.2 by kasvoton

10/8 10:42:44 AM [Info] Unloaded plugin PlayerAdministration v1.6.9 by ThibmoRozier

10/8 10:42:44 AM [Info] Unloaded plugin Player Connect/Disconnect Notifier v1.1.0 by TuNombre

10/8 10:42:44 AM [Info] Unloaded plugin Radtown Animals v0.3.2 by k1lly0u

10/8 10:42:44 AM [Info] Unloaded plugin Remover Tool v4.3.43 by Reneb/Fuji/Arainrr/Tryhard

10/8 10:42:44 AM [Info] Unloaded plugin SaddleBags v1.1.0 by magado

10/8 10:42:44 AM [Info] Unloaded plugin Server Pop v1.1.2 by Mabel

10/8 10:42:44 AM [Info] [The Red Button] ButtonData saved

10/8 10:42:44 AM [Info] Unloaded plugin The Red Button v1.8.6 by NooBlet

10/8 10:42:44 AM [Info] Unloaded plugin Sign Artist v1.4.1 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Simple Kill Feed v2.2.8 by Krungh Crow

10/8 10:42:45 AM [Info] Saved 30,082 ents, cache(0.41), write(0.01), disk(0.02).

10/8 10:42:45 AM [Info] Saving complete

10/8 10:42:44 AM [Info] [Stack Size Controller] Reverting stack sizes to vanilla defaults.

10/8 10:42:45 AM [Info] Config Saved

10/8 10:42:44 AM [Info] Unloaded plugin Stack Size Controller v4.1.3 by AnExiledDev/patched by chrome

10/8 10:42:44 AM [Info] Unloaded plugin TheCupboard v1.0.0 by Wolfurr

10/8 10:42:44 AM [Info] Unloaded plugin Vanish v1.8.7 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Decay Protection v2.6.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Deployed Locks v1.13.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Zone Manager v3.1.5 by k1lly0u

10/8 10:42:44 AM [Info] 45.179.160.84:54426/76561199638362767/Srdann73 kicked: Server Shutting Down

10/8 10:42:44 AM [Info] 73.26.6.107:52051/76561199107905788/Galostar kicked: Server Shutting Down

10/8 10:42:44 AM [Info] Invalidate Network Cache took 0.00 seconds

10/8 10:42:45 AM [Info] Saved 30,082 ents, cache(0.41), write(0.01), disk(0.02).

10/8 10:42:45 AM [Info] Saving complete

10/8 10:42:45 AM [Info] Config Saved

10/8 10:42:45 AM [Info] [Raknet] Server Shutting Down (quit)

10/8 10:42:45 AM [System] Server has stopped.

 

crash

Posted

30 minutes ago, Galostar said:

10/8 10:42:43 AM [Info] [AutoRestart] The server is shutting down now...

10/8 10:42:43 AM [Info] Unloaded plugin Admin Panel v1.4.7 by nivex

10/8 10:42:43 AM [Info] Unloaded plugin Any Map Vendor v1.0.0 by Adem

10/8 10:42:43 AM [Info] [AutoRestart] The server is shutting down now...

10/8 10:42:43 AM [Info] Unloaded plugin Admin Panel v1.4.7 by nivex

10/8 10:42:43 AM [Info] Unloaded plugin Auto Broadcast v1.0.9 by Wulf

10/8 10:42:43 AM [Info] Unloaded plugin Any Map Vendor v1.0.0 by Adem

10/8 10:42:43 AM [Info] Unloaded plugin Auto Broadcast v1.0.9 by Wulf

10/8 10:42:43 AM [Info] Unloaded plugin Auto Engine Parts v1.0.0 by WhiteThunder

10/8 10:42:43 AM [Info] Unloaded plugin Auto Engine Parts v1.0.0 by WhiteThunder

10/8 10:42:43 AM [Info] Unloaded plugin AutoRestart v1.0.6 by crash

10/8 10:42:43 AM [Info] Unloaded plugin Building Workbench v1.4.1 by MJSU

10/8 10:42:43 AM [Info] Unloaded plugin AutoRestart v1.0.6 by crash

10/8 10:42:43 AM [Info] Unloaded plugin Building Workbench v1.4.1 by MJSU

10/8 10:42:43 AM [Info] Unloaded plugin Car Radio v1.0.70 by TCM420G

10/8 10:42:43 AM [Info] Unloaded plugin Copy Paste v4.2.0 by misticos

10/8 10:42:43 AM [Info] Unloaded plugin DTags v2.2.2 by Gt403cyl2

10/8 10:42:43 AM [Info] Unloaded plugin Default Radio Station v1.1.0 by marcuzz

10/8 10:42:43 AM [Info] Unloaded plugin ExtractionRareMinerals v1.2.12 by DAez

10/8 10:42:43 AM [Info] Unloaded plugin Car Radio v1.0.70 by TCM420G

10/8 10:42:43 AM [Info] Unloaded plugin Copy Paste v4.2.0 by misticos

10/8 10:42:43 AM [Info] Unloaded plugin DTags v2.2.2 by Gt403cyl2

10/8 10:42:43 AM [Info] Unloaded plugin Default Radio Station v1.1.0 by marcuzz

10/8 10:42:43 AM [Info] Unloaded plugin ExtractionRareMinerals v1.2.12 by DAez

10/8 10:42:44 AM [Info] Calling 'Unload' on 'GatherManager v2.2.78' took 193ms

10/8 10:42:44 AM [Info] Unloaded plugin Gather Manager v2.2.78 by Mughisi

10/8 10:42:44 AM [Info] Calling 'Unload' on 'GatherManager v2.2.78' took 193ms

10/8 10:42:44 AM [Info] Unloaded plugin GhostRider v1.2.0 by 0xF

10/8 10:42:44 AM [Info] Unloaded plugin Instant Barrels v1.0.3 by Mevent

10/8 10:42:44 AM [Info] Unloaded plugin Inventory Viewer v4.1.2 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Lock Barrels v1.0.2 by Julio Juajez

10/8 10:42:44 AM [Info] Unloaded plugin Lock Master v1.1.8 by FastBurst

10/8 10:42:44 AM [Info] Unloaded plugin Mini-Copter Options v2.5.1 by Pho3niX90

10/8 10:42:44 AM [Info] Unloaded plugin Minicopter Seating v1.1.7 by Bazz3l

10/8 10:42:44 AM [Info] Unloaded plugin Night Zombies v3.4.2 by 0x89A

10/8 10:42:44 AM [Info] Unloaded plugin No Give Notices v0.3.0 by Wulf

10/8 10:42:44 AM [Info] Unloaded plugin No Green v1.3.10 by Iv Misticos

10/8 10:42:44 AM [Info] Unloaded plugin NpcSpawn v2.7.8 by KpucTaJl

10/8 10:42:44 AM [Info] Calling 'Unload' on 'OxidationTrollRocketMan v1.0.2' took 174ms

10/8 10:42:44 AM [Info] Unloaded plugin OxidationTrollRocketMan v1.0.2 by kasvoton

10/8 10:42:44 AM [Info] Unloaded plugin PlayerAdministration v1.6.9 by ThibmoRozier

10/8 10:42:44 AM [Info] Unloaded plugin Player Connect/Disconnect Notifier v1.1.0 by TuNombre

10/8 10:42:44 AM [Info] Unloaded plugin Radtown Animals v0.3.2 by k1lly0u

10/8 10:42:44 AM [Info] Unloaded plugin Remover Tool v4.3.43 by Reneb/Fuji/Arainrr/Tryhard

10/8 10:42:44 AM [Info] Unloaded plugin SaddleBags v1.1.0 by magado

10/8 10:42:44 AM [Info] Unloaded plugin Server Pop v1.1.2 by Mabel

10/8 10:42:44 AM [Info] [The Red Button] ButtonData saved

10/8 10:42:44 AM [Info] Unloaded plugin The Red Button v1.8.6 by NooBlet

10/8 10:42:44 AM [Info] Unloaded plugin Sign Artist v1.4.1 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Simple Kill Feed v2.2.8 by Krungh Crow

10/8 10:42:44 AM [Info] [Stack Size Controller] Reverting stack sizes to vanilla defaults.

10/8 10:42:44 AM [Info] Unloaded plugin Stack Size Controller v4.1.3 by AnExiledDev/patched by chrome

10/8 10:42:44 AM [Info] Unloaded plugin TheCupboard v1.0.0 by Wolfurr

10/8 10:42:44 AM [Info] Unloaded plugin Vanish v1.8.7 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Decay Protection v2.6.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Deployed Locks v1.13.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Zone Manager v3.1.5 by k1lly0u

10/8 10:42:44 AM [Info] Unloaded plugin Gather Manager v2.2.78 by Mughisi

10/8 10:42:44 AM [Info] Invalidate Network Cache took 0.00 seconds

10/8 10:42:44 AM [Info] Unloaded plugin GhostRider v1.2.0 by 0xF

10/8 10:42:44 AM [Info] Unloaded plugin Instant Barrels v1.0.3 by Mevent

10/8 10:42:44 AM [Info] Unloaded plugin Inventory Viewer v4.1.2 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Lock Barrels v1.0.2 by Julio Juajez

10/8 10:42:44 AM [Info] Unloaded plugin Lock Master v1.1.8 by FastBurst

10/8 10:42:44 AM [Info] Unloaded plugin Mini-Copter Options v2.5.1 by Pho3niX90

10/8 10:42:44 AM [Info] Unloaded plugin Minicopter Seating v1.1.7 by Bazz3l

10/8 10:42:44 AM [Info] Unloaded plugin Night Zombies v3.4.2 by 0x89A

10/8 10:42:44 AM [Info] Unloaded plugin No Give Notices v0.3.0 by Wulf

10/8 10:42:44 AM [Info] Unloaded plugin No Green v1.3.10 by Iv Misticos

10/8 10:42:44 AM [Info] Unloaded plugin NpcSpawn v2.7.8 by KpucTaJl

10/8 10:42:44 AM [Info] Calling 'Unload' on 'OxidationTrollRocketMan v1.0.2' took 174ms

10/8 10:42:44 AM [Info] Unloaded plugin OxidationTrollRocketMan v1.0.2 by kasvoton

10/8 10:42:44 AM [Info] Unloaded plugin PlayerAdministration v1.6.9 by ThibmoRozier

10/8 10:42:44 AM [Info] Unloaded plugin Player Connect/Disconnect Notifier v1.1.0 by TuNombre

10/8 10:42:44 AM [Info] Unloaded plugin Radtown Animals v0.3.2 by k1lly0u

10/8 10:42:44 AM [Info] Unloaded plugin Remover Tool v4.3.43 by Reneb/Fuji/Arainrr/Tryhard

10/8 10:42:44 AM [Info] Unloaded plugin SaddleBags v1.1.0 by magado

10/8 10:42:44 AM [Info] Unloaded plugin Server Pop v1.1.2 by Mabel

10/8 10:42:44 AM [Info] [The Red Button] ButtonData saved

10/8 10:42:44 AM [Info] Unloaded plugin The Red Button v1.8.6 by NooBlet

10/8 10:42:44 AM [Info] Unloaded plugin Sign Artist v1.4.1 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Simple Kill Feed v2.2.8 by Krungh Crow

10/8 10:42:45 AM [Info] Saved 30,082 ents, cache(0.41), write(0.01), disk(0.02).

10/8 10:42:45 AM [Info] Saving complete

10/8 10:42:44 AM [Info] [Stack Size Controller] Reverting stack sizes to vanilla defaults.

10/8 10:42:45 AM [Info] Config Saved

10/8 10:42:44 AM [Info] Unloaded plugin Stack Size Controller v4.1.3 by AnExiledDev/patched by chrome

10/8 10:42:44 AM [Info] Unloaded plugin TheCupboard v1.0.0 by Wolfurr

10/8 10:42:44 AM [Info] Unloaded plugin Vanish v1.8.7 by Whispers88

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Decay Protection v2.6.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Vehicle Deployed Locks v1.13.1 by WhiteThunder

10/8 10:42:44 AM [Info] Unloaded plugin Zone Manager v3.1.5 by k1lly0u

10/8 10:42:44 AM [Info] 45.179.160.84:54426/76561199638362767/Srdann73 kicked: Server Shutting Down

10/8 10:42:44 AM [Info] 73.26.6.107:52051/76561199107905788/Galostar kicked: Server Shutting Down

10/8 10:42:44 AM [Info] Invalidate Network Cache took 0.00 seconds

10/8 10:42:45 AM [Info] Saved 30,082 ents, cache(0.41), write(0.01), disk(0.02).

10/8 10:42:45 AM [Info] Saving complete

10/8 10:42:45 AM [Info] Config Saved

10/8 10:42:45 AM [Info] [Raknet] Server Shutting Down (quit)

10/8 10:42:45 AM [System] Server has stopped.

 

I see, could you please go to line 685 and find this: 

ConsoleSystem.Run(ConsoleSystem.Option.Server, "quit");

change it to this > 

ConsoleSystem.Run(ConsoleSystem.Option.Server, "restart 1");

and let me know how it goes. Im making version 2.0.0 right now and it'll be like that.

Galostar

Posted

It remains the same despite the change
10/8 1:40:31 PM [Info] [Raknet] Server Shutting Down (quit)
10/8 1:40:31 PM [System] Server has stopped.

crash

Posted

5 minutes ago, Galostar said:

It remains the same despite the change
10/8 1:40:31 PM [Info] [Raknet] Server Shutting Down (quit)
10/8 1:40:31 PM [System] Server has stopped.

That is weird. I've just tried both ways and it works just fine. are you using some type of hosting provider? I've just tried on Pterodactyl and it works just right, I've tried on windows cmd and it works too.

Could you clarify me on that?

crash

Posted

7 minutes ago, Galostar said:

Shockbyte

Okay, I realize that it is because of how ShockByte handles restarts: it is very safe to say that ShockByte when restarting the server with the button that they have in their panel will call another variable that they have defined and that is why my plugin only restarts your server and doens't starts until YOU press the start button.

The option I see is to contact ShockByte support and they will tell you what variable they call or how they handle their restarts. If you do so, I can make a customized version for you.

Galostar

Posted

They answered this


I understand that you're having trouble with a plugin that is supposed to restart your Rust server at specific intervals, but it's not functioning as expected with Shockbyte. The issue may be related to how the plugin interacts with the server start-up process.

In Shockbyte's environment, server startup and management can be slightly different from standard setups. Plugins that manage server restarts typically require access to the server's console commands. Here’s how you can manage server restarts effectively:

1. **Use RCON**: Ensure that your plugin is configured to use RCON commands to restart the server. RCON allows you to send commands directly to your server console.

2. **Set Up the RCON Password**: Make sure you've set an RCON password in your Rust server settings. You can do this by navigating to the **Config** tab and opening the **Rust Server Settings** file.

3. **Restart Command**: The command to restart the server via RCON is typically `restart` or `server.restart`. Make sure the plugin is using the correct command syntax.

4. **Check Plugin Documentation**: Verify that the plugin's documentation specifies any unique variables or methods required for the Shockbyte platform. Some plugins may need specific configuration adjustments. If the plugin continues to have issues, please consider reaching out to the plugin creator for any platform-specific instructions. If you need further assistance or have any other questions, feel free to let me know! Kind regards,

crash

Posted

27 minutes ago, Galostar said:

They answered this


I understand that you're having trouble with a plugin that is supposed to restart your Rust server at specific intervals, but it's not functioning as expected with Shockbyte. The issue may be related to how the plugin interacts with the server start-up process.

In Shockbyte's environment, server startup and management can be slightly different from standard setups. Plugins that manage server restarts typically require access to the server's console commands. Here’s how you can manage server restarts effectively:

1. **Use RCON**: Ensure that your plugin is configured to use RCON commands to restart the server. RCON allows you to send commands directly to your server console.

2. **Set Up the RCON Password**: Make sure you've set an RCON password in your Rust server settings. You can do this by navigating to the **Config** tab and opening the **Rust Server Settings** file.

3. **Restart Command**: The command to restart the server via RCON is typically `restart` or `server.restart`. Make sure the plugin is using the correct command syntax.

4. **Check Plugin Documentation**: Verify that the plugin's documentation specifies any unique variables or methods required for the Shockbyte platform. Some plugins may need specific configuration adjustments. If the plugin continues to have issues, please consider reaching out to the plugin creator for any platform-specific instructions. If you need further assistance or have any other questions, feel free to let me know! Kind regards,

Please answer them with this: The plugin triggers the following command ConsoleSystem.Run(ConsoleSystem.Option.Server, "restart 1"); it restarts the server, however, it doenst starts up again.

 

Again, i've tried my plugin on pterodactyl and windows server and it works as described.

crash

Posted

Changed Status from Pending to Can't Reproduce

Changed Fixed In to 1.0.6

dfgas

Posted

On 10/8/2024 at 12:17 PM, crash said:

I see, could you please go to line 685 and find this: 

ConsoleSystem.Run(ConsoleSystem.Option.Server, "quit");

change it to this > 

ConsoleSystem.Run(ConsoleSystem.Option.Server, "restart 1");

and let me know how it goes. Im making version 2.0.0 right now and it'll be like that.

Can you make this an option on how it restarts? i would prefer restart instead of quit. Now i did change it. i prefer restart because when it gets down to so many seconds, it will count down. the kick message will also be restarting, now shutting down server. 

crash

Posted (edited)

5 hours ago, dfgas said:

Can you make this an option on how it restarts? i would prefer restart instead of quit. Now i did change it. i prefer restart because when it gets down to so many seconds, it will count down. the kick message will also be restarting, now shutting down server. 

Sure, ill add in config if you want to use quit or restart 1, give me a second.

Edited by crash
crash

Posted

Added "UseQuitCommand": on 2.1.2 True for quit command and false for restart 1 command.

crash

Posted

Changed Status from Can't Reproduce to Closed

Changed Fixed In from 1.0.6 to 2.1.2

dfgas

Posted

i was going to say too, when you tried to replicate his issue from above, if you are doing this on windows and he is on linux. windows default script will automatically restart the server where linux default script does not. i actually had to make a script to fix that. 

crash

Posted

36 minutes ago, dfgas said:

i was going to say too, when you tried to replicate his issue from above, if you are doing this on windows and he is on linux. windows default script will automatically restart the server where linux default script does not. i actually had to make a script to fix that. 

Yes, it will happen to you with any restart plugin that uses quit. That's why I added restart, however, as you say, I haven't tested it thoroughly with Windows.

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.