What are causes?

I know what causes are, they are “what” causes some change. But what should I include? How do I include it?

For example should I always include my plugin, even if a player caused it by running a command? Should the command be included or only the player? Are there any things that should ALWAYS be included?

It would be helpful if this could be included in the spongedocs.

You contractually are obliged to provide your PluginContainer instance, if a Player is doing something or you’re acting on behalf of the Player, add the Player to the Cause. I’d probably have to ask @blood to elaborate on what he expects as a protection plugin for these cases.

2 Likes