My code now works - I realised an indent was missing! Corrected code: https://paste.gg/p/anonymous/049b3351fe224868bb79b38ebc3cd181 Thank you...
Hey Tim, Please find the pastebin for my full code below: https://paste.gg/p/anonymous/3849c42277304ba3a1a9a1c4e12bd06a Thank you so much for...
Apologies for the confusion. Please find the full code below: @SuppressWarnings("deprecation") public class Main extends JavaPlugin implements...
I have this here (see code below). Would that not do the job? :) @EventHandler public void onEnable() {...
I have tried that and they are not appearing on-screen or in the log… :(
Sorry, my explanation should have said light_weighted_pressure_plate instead of heavy_weighted_pressure_plate!
Sorry, that's a typo - I mean heavy_weighted_pressure_plate :)
The material is a heavy_weighted_pressure_plate. Thus, when a player named 'Tao_927' stands on the heavy_weighted_pressure_plate, it then dresses...
So sorry, please the corrected code below: @SuppressWarnings("deprecation") public class Main extends JavaPlugin implements Listener { private...
It is within the code block above. Apologies if you did not see it! I have put it below too: if (event.getAction() == Action.PHYSICAL &&...
Hey all, I have the following code below. The aim of this code is to place a particular coloured top in a given player's inventory and dress the...
Hey all, I have the following code: @EventHandler public void onEntityClick(PlayerInteractEntityEvent event) { Entity clickedEntity...
I am unfortunately unable to share my log due to an issue with the Shockbyte server :(
I really hope this is helpful! :) 05.10 15:48:58 [Server] WARN java.lang.NullPointerException 05.10 15:48:59 [Server] WARN...
@timtower - I get the following error message: 05.10 12:27:39 [Server] WARN java.lang.NullPointerException: Cannot invoke...
Hey all, I've updated my Minecraft version to the latest version 1.20.2. I am using a paper server, hosted by shockbyte, using paper version -...
Hey all, I have the following code below. I am recording the time at which a player presses a stone button (first event). I am also recording...
I would like to synchronise my game with the fMRI machine - therefore, I need to record when the player presses a key on the keyboard. Is there...
Hey all, I have the following code which will display a message when a player logs into the minecraft server (bukkit/spigot API): @EventHandler...
Thank you so much for all your help, and to those above! I have come up with my own solution that does not involve arrays. This ensures that the...
Separate names with a comma.