Explicit plugin overriding

Learn here how to create and use plugins.

Moderator: Plugin Moderators

Online
User avatar
Lobby
Developer
Reactions:
Posts: 3127
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Explicit plugin overriding

Post by Lobby » Tue Jun 20, 2017 12:38

To avoid problems that result from accidentally plugin overriding we will forbid overriding unless you specify

Code: Select all

"override":true
in your overriding plugin.

You only have to use this flag if you really want to override another plugin. If you use the same id as an existing plugin by accident, you will be notified about that fact so you can fix it. This pattern of explicit overriding is pretty common for error avoidance, also in programming languages.
...Have a nice stay

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: Lobby and 2 guests