Minecraft Plugin Programming [Spigot]?

Fr
- in Plugins
4

1. Where is the mistake (See picture) 2. How to best program for Minecraft (I'm only interested in minecraft I just want to program with spigot). 3. How to program a "server rights plugin" or how to do it for me is such a big project.

Minecraft Plugin Programming Spigot
Fl

For questions always send the error message and describe what you had in mind. So it is easier for the helpers!

If you just want to have your plugins for Minecraft and want to do as little programming as possible, then let it be. If you want to learn programming then do not start with Minecraft but with the basics of the language. But since you do not want that, you can leave it.

Alternative would be https://dev.bukkit.org/...cts/skript, use ready-made plugins or looking for a programmer you may have to pay!

At the beginning you do not think about such big projects. For something you need a lot of experience. A good pre-made plugin is Luckperms. Can you configure well enough.

em

For me, it looks like you've forgotten a curly brace, in case of such mistakes the IDE recognizes, it is enough to point the mouse at the notorious place. The error will automatically be displayed.
Try it yourself, you should generally just try around. Never copy / steal source code! Especially not if you do not understand it yourself.
I suppose that you are relatively at the beginning of learning. Such projects are currently unthinkable. Try to implement smaller projects first, if you are not capable, a bigger project is not the right one for you. Every programmer started with such really tiny projects, you do not learn to program in one day and you can't complete huge projects in one day. It's really hard to keep the motiation, it gets lost fast especially if there's nothing going on in the development, such as seemingly unsolvable mistakes or something else. I finished my operating system neither in 2 weeks nor was the development anything but "liquid", I sat partly several weeks at a problem.

Fr

So I did not forget the clip because no matter how I put it, it does not work

pl

So question 1: you have a} clip too little

and question 2:

This programming language is actually Java and there you would have to learn the basics.

Here I would have a crash course that includes only the most important of Java:

https://www.youtube.com/...wMSO8orMEk

Question 3:

Would actually be if you have a command like this:

public class CMD_deinCommand implements CommandExecutor {

@Override
public boolean onCommand (CommandSender cs, Command cmd, String label, String [] args) {
Player p = (player) cs;
if (! (cs instanceof Player)) {
cs.sendMessage ("No player!");
} else {
if (cmd.getName (). EqualsIgnoreCase ("yourCommand")) {
if (p.hasPermission ("yourCommand.perm")) {// this is the permission
p.sendMessage ("You have the rights!");
} else {
p.sendMessage ("You have no rights!");
}
}
}
}
}

Please write the code again, otherwise you will not learn anything.