Giter VIP home page Giter VIP logo

Comments (7)

JHarris12345 avatar JHarris12345 commented on July 17, 2024 1

So what is the difference between /plugin disable and /plugin unload

from plugman.

kennyrkun avatar kennyrkun commented on July 17, 2024 1

The server is not aware of the existence of an unloaded plugin -- it has no idea it's even real. The server is aware of disabled plugins, it just ignores them.

For example, plugins that attempt to load at server startup but fail will be disabled by the server. They're still loaded, but the server does not attempt to use them.

If a plugin is not loaded, the server doesn't even touch it's .jar file or named folder.

from plugman.

kennyrkun avatar kennyrkun commented on July 17, 2024

Answer to the second question: /plugman unload is not meant to delete the jar from the server, only unload it. The plugin will be loaded again next time the server is started.

What plugin are you trying to load? Some plugins don't support runtime loading and should only be loaded during server-startup. Perhaps you can provide us with a complete log file?

from plugman.

JHarris12345 avatar JHarris12345 commented on July 17, 2024

Does /plugman disable stop it loading on next restart?

from plugman.

kennyrkun avatar kennyrkun commented on July 17, 2024

No, /plugman disable does not stop the plugin from loading when the server is started, it simple disables the plugin during server runtime. This is different from /plugman unload which both disables and then unloads the plugin. When the plugin is disabled, it is still loaded on the server, but the server just doesn't let it do anything.

from plugman.

JHarris12345 avatar JHarris12345 commented on July 17, 2024

So /plugman unload stops the server enabling it on next restart? Different from what the first guy said. Also what about plugman load not having commands for a plugin despite it being installed

from plugman.

kennyrkun avatar kennyrkun commented on July 17, 2024

/plugman unload both disables and unloads the plugin from the server while it is running. the command does not stop the server from reloading the file the next time it starts. this plugin has no mechanism in place to provide that kind of functionality, all loads/unloads/enables/disables happen during runtime and will not persist across server restarts.

as for plugins not having commands after being loaded using /plugman load, I don't know the cause. I suspect the reason is that your plugin is not being loaded correctly and the commands aren't being registered. however, I cannot confirm this without a specific log file from the server.

from plugman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.