Explicit plugin overriding

Learn here how to create and use plugins.
Post Reply
User avatar
Lobby
Developer of TheoTown
Posts: 1853
Joined: Sun Oct 26, 2008 12:34

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 "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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest