Skip to content

Rust plugin to load/unload/reload plugins from a config list (Useful for purge or other events)

Notifications You must be signed in to change notification settings

sickness0666/PurgePlugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PurgePlugins

Plugin made for the game Rust. Allows for you to specify a list of plugins that can all be loaded/unloaded from a single command. Also allows for you to send a list of broadcast messages after the plugins are loaded/unloaded.

Use case example: Purge on a PVE server. This can also be done via other plugins, but this was a simple plugin custom made for a friends server, for free.

Authors

Commands

Unload plugins from config list (from RCON, or admin F1 console)

  purge_plugins  OR   purge_plugins unload

Load plugins from config list (from RCON, or admin F1 console)

  purge_plugins load

Default Config

{
  "Plugins to load/unload (Case Sensitive)": [
    "TruePVE",
    "ZoneManager"
  ],
  "Plugins to reload (Case Sensitive)": [
    "PVxZoneStatus"
  ],
  "Seconds before reloading plugins from reload list (10 default)": 10,
  "Broadcast Prefix": "ADMIN",
  "Send broadcasts on unload": false,
  "Messages to broadcast on plugin list unload": [
    "PURGE IS LIVE!",
    "PURGE IS LIVE!",
    "PURGE IS LIVE!"
  ],
  "Send broadcasts on load": false,
  "Messages to broadcast on plugin list load": [
    "PURGE IS OVER!",
    "PURGE IS OVER!",
    "PURGE IS OVER!"
  ]
}

Contributing

Contributions are always welcome!

About

Rust plugin to load/unload/reload plugins from a config list (Useful for purge or other events)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages