wisp-gg / frontend

The frontend for WISP Game Panel
https://wisp.gg
MIT License
42 stars 15 forks source link

Rust server Oxide Plugin Bug? #376

Open TheGitTurtle opened 1 year ago

TheGitTurtle commented 1 year ago

Describe the bug

Normally when I reload a plugin on a rust server, running the o.relaod "plugin name" command in the console it will unload that plugin from the oxide plugin folder and reload it. Seems like 50% of the time or more when I reload a plugin or add a new plugin it reloads all the plugins which I've never seen before on any other panels. Most cases it wouldn't be such an issue except my servers are very custom and its causing issues for my players.

Expected Behavior

O.reload "plugin name" should unload and reload just the plugin specified. image

Actual Behavior

Doesn't happen all the time but when I reload one plugin or upload 1 plugin it will reload them all at once which causes some issues for my players as it teleports them to one of my main lobbies and deletes their items if that happens.

Steps to Reproduce

Install a rust server, install oxide, download a bunch of plugins from umod.org. Upload them 1 by one and watch the console, run o.reload "plugin name" and watch the console.

Browser Details

chrome

Operating System

windows 10

Optional additional information

No response

pedrotski commented 1 year ago

Might be a little late but this has something to do with how the WISP file manager works. There is a check or rename that happens after a file is uploaded.

A workaround is to disable the Oxide plugin watcher in oxide/oxide.config.json

Setting this to false means it won't watch the plugins folder for updates and wait for manual plugin reloads.