Jumbapablo You want to use yml files? Well, in my opinion it would be better to create per-player files (.yml) on PlayerJoinEvent with some...
Tecno_Wizard If you're storing the shooter just until the arrow hits a block, then yes, it's safe. You can store temporary data with player name....
winitro You want to check, if the chestplate has some color? Example: ItemStack chestplate = new ItemStack(Material.LEATHER_CHESTPLATE);...
Minesuchtiiii I know about UUIDs. This was just an example. :)
Minesuchtiiii Send a SQL query. Create table example CREATE TABLE IF NOT EXISTS `databaseName`.`tablename` (`id` INT NOT NULL...
Hi, I'm now working with frequently called SQL queries in my plugin. That's why I was thinking about using a seperate thread for them. But...
ProStriker123 You need to get o boolean, if pvp is enabled (true) or not (false). boolean pvpEnabled =...
BogdanAlex13 Read my post above. You can simply use a HashMap for storing players on duty. HashMap<String, Boolean> onDuty = new HashMap<String,...
ProStriker123 You mean, if the PvP is enabled in some world?
BogdanAlex13 You can use a HashMap, for example. Store their name (or UUID) with boolean (if they're on duty, or not). HashMap<String, Boolean>...
Can we see your code (or some error message)?
If it's supposed to run after the server starts, then yes, into the onEnable method. You need to create repeating task. You should take a look at...
if (e.getItemInHand().getItemMeta().getDisplayName().equalsIgnoreCase(D001a)) You should add a null check. And also replace "e" with "p". if...
Btw, don't copy and paste the code. Read it and try to understand. Then make your own based code on what people give you. :) \\Edit: Oh, you...
You should create a boolean variable at first. private boolean dropEnabled; And completly rewrite the onCommand method. Example: public boolean...
Separate names with a comma.