#Bedwars plugin help
1 messages · Page 1 of 1 (latest)
this should lead to my code
Please help me
Im trying to create a Bedwars plugin
I always get an error on "start" at "public class start implements CommandExecutor {", @Override and at "onCommand" when I Insert:
public Deque<Player> createRandomOnlinePlayerQueue() {
List<Player> list = new ArrayList<>(Bukkit.getOnlinePlayers());
Collections.shuffle(list);
return new ArrayDeque<>(list);
I think it just doesn't find the unimplementet methods correctly, but I dont know how to fix this
send the error please.
start: The type start must implement the inherited abstract method CommandExecutor.onCommand(CommandSender, Command, String, String[])
@Override: The annotation @Override is disallowed for this location
do u add the closing bracket?
onCommand: Illegal modifier for parameter onCommand; only final is permitted
is this code producing error?