Explicit plugin overriding

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Posts: 3406
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

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: No registered users and 3 guests