Unknow : throws BlacklistedException
Mondaze opened this issue · 5 comments
Mondaze commented
Here's a problem : http://prntscr.com/etj5rh
How do I start the check in the main class ?
timbru31 commented
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);
}
}
Mondaze commented
Thank you for the quick reply. How can I do to trigger checking with my main class for it to give ID, etc ...
timbru31 commented
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
timbru31 commented
Did this solve your problem?
timbru31 commented
Closing, if you have further questions please comment.