Raffiii Posted April 11, 2021 Posted April 11, 2021 (edited) Hey liebe Community, Ich habe heute ein Plugin geschrieben, was ein /pay befehl ausgeben soll. Es gibt aber ein Fehler; https://pastebin.com/xCJFWX9F Code: https://pastebin.com/Xnmrqbjs Zeile 40: this.getCommand("pay").setExecutor(new PayCommand(this)); Ich freue mich über eine Antwort. Mit freundlichen Grüßen Raffiii Edited April 11, 2021 by Raffiii
TileEntity Posted April 11, 2021 Posted April 11, 2021 Hast du den Befehl in der plugin.yml mit eingetragen? Sowas wie: commands: pay: description: Pay something permission: cbsystem.pay usage: /<command>
Raffiii Posted April 11, 2021 Author Posted April 11, 2021 vor 2 Stunden schrieb Bedrock: Hast du den Befehl in der plugin.yml mit eingetragen? Sowas wie: commands: pay: description: Pay something permission: cbsystem.pay usage: /<command> Ja. Geht trozdem nicht
TileEntity Posted April 12, 2021 Posted April 12, 2021 at de.cbsystem.Main.onEnable(Main.java:40) Laut Error wäre das dieser Teil: public static Main getInstance() { return instance; }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now