Explicit plugin overriding

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Explicit plugin overriding

#1

Post by Lobby »

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.

Return to “Tutorials and Documentation”