timbru31/spigot-anti-piracy-backend

Unknow : throws BlacklistedException

Mondaze opened this issue · 5 comments

Here's a problem : http://prntscr.com/etj5rh
How do I start the check in the main class ?

Call the blacklistCheck method?
The BlacklistedException is just a custom Java execption class, e.g.

package your.package;

public class BlacklistedException extends Exception {
    public BlacklistedException() {
        super();
    }

    public BlacklistedException(String message) {
        super(message);
    }

    public BlacklistedException(String message, Throwable cause) {
        super(message, cause);
    }

    public BlacklistedException(Throwable cause) {
        super(cause);
    }
}

Thank you for the quick reply. How can I do to trigger checking with my main class for it to give ID, etc ...

I expect that you have basic knowledge of Java? It's a class, so create a new instance, call the method on it. Regarding the user ID of the buyer, refer to this post: https://www.spigotmc.org/threads/anti-piracy.108864/page-2#post-1188884

Did this solve your problem?

Closing, if you have further questions please comment.