@timtower Okay, everything is in my Main class. What do I do now?
@timtower So put my EventHandler in my Main class?
Umm, Idk how to do that. It's my first time doing this. Idk if I'm suppose to make another ArrayList for List?
@timtower How do I do that?
So I'm creating a StaffMode plugin and I made it so when you type /StaffMode it will put you in StaffMode and make it so you can't pickup items...
I'm making a StaffMode plugin so when a Staff member types /StaffMode or /Staff it will put them in vanish and disable item pickup. But I just can...
package staffMode; import org.bukkit.plugin.java.JavaPlugin; public class Main extends JavaPlugin{ @Override public void onEnable() {...
@timtower How do I make it so it will go to my Command class it keeps trying to make a new class.
@timtower I implemented Listener but it still isn't working.
@Zombie_Striker I put this in @EventHandler public void onPickUp(PlayerPickupItemEvent e) { Player p = (Player) e; ((PlayerPickupItemEvent)...
I'm trying to make it so players can't pick up items when they type a command but its not working even though I put p.setCanPickUpItems(false);...
Okay, thank you sooo much! I finally finished the plugin, you guys are awesome!
@GayZoTe When I type the command it just keeps telling me the 2nd part "You are Invisble!" Here is all my code, if you want my Main class just...
@AlvinB @SeniorCluckers May I ask you how I check if the player is vanished or isnt vanished?
So I am a new coder and I want to try to make it so when I type /incognito it puts me in vanish (I already did that) but then im trying to make it...
Separate names with a comma.