title: This method requires a body instead of a semicolon
body: <p>Selected lines "&lt;------- These" gives an erroror: This method requires a body instead of a semicolon</p>
  
  <p>Both files must work together. 
  How to fix it I need quick help. Does anyone have any idea but i dont?</p>
  
  <pre><code>package API.Info;
  
  import Mains.MiniEvents;
  import org.bukkit.configuration.file.FileConfiguration;
  import org.bukkit.entity.Player;
  
  import java.util.HashMap;
  
  public class ApiInfo {
      public static MiniEvents plugin;
  
      public ApiInfo(MiniEvents plugin) {
          ApiInfo.plugin = plugin;
      }
  
      /**
       * @return number of players in the event.
       */
      public int eventSize() {
          return plugin.getInfo().eventSize();
      }
  
      /**
       * @return "code" name of the current event running; else, "none"
       * It will return one of the following:
       * horse, koth, oitc, paint, tdm, ko, lms, parkour, spleef, tnt
       */
      public String getEventName() {
          return plugin.getInfo().getEventName();
      }
  
      /**
       * @return TRUE if an event is starting (counting down).
       */
      public boolean eventStarting(){
          return plugin.getInfo().eventStarting();
      }
  
      /**
       * @return TRUE if an event has started.
       */
      public boolean eventStarted();     &lt;------- These
  
      /**
       * @param player - Player to check.
       * @return TRUE if a player is currently playing in an event.
       */
      public boolean inEvent(Player player);     &lt;------- These
  
      /**
       * @return the "formal" name of an event that is running.
       * param eventName - the event for which to return the formal name for.
       */
      public String eventFormalEventName(String eventName);     &lt;------- These
  
      /**
       * @return time left until the event starts
       */
      public int getTimeLeft();     &lt;------- These
  
      /**
       * @param player - Gets that player's file.
       * @return the FileConfiguration where individual player data is stored.
       */
      public FileConfiguration getPlayerFile(Player player);     &lt;------- These
  
      /**
       * The is a big "inevent" HashSet&lt;Player&gt; that contains a player no matter what event
       * that player is in.
       *
       * @return the "inevent" HashSet.
       */
      public HashMap&lt;String, String&gt; getPlayersInEvent();     &lt;------- These
  
      /**
       * @return true if a player is currently in spectate mode.
       */
      public boolean inSpectateMode(Player player);     &lt;------- These
  
  }
  
  
  
  File Info.jar 
  package Util.Methods;
  
  import API.Info.ApiInfo;
  import Mains.MiniEvents;
  import org.bukkit.configuration.file.FileConfiguration;
  import org.bukkit.entity.Player;
  import org.bukkit.scoreboard.Scoreboard;
  
  import java.util.HashMap;
  import java.util.HashSet;
  
  public class Info extends ApiInfo{
      public MiniEvents plugin;
  
  
      public Info(MiniEvents plugin) {
          super(plugin);
          this.plugin = plugin;
      }
      public boolean eventstarting = false;
      public boolean eventstarted = false;
      public boolean cancelled = false;
      public final HashSet&lt;String&gt; sbefore = new HashSet&lt;&gt;();
      public final HashSet&lt;String&gt; sblue = new HashSet&lt;&gt;();
      public final HashSet&lt;String&gt; sred = new HashSet&lt;&gt;();
      public final HashSet&lt;String&gt; sfire = new HashSet&lt;&gt;();
      public final HashMap&lt;String, String&gt; inevent = new HashMap&lt;&gt;();
      public final HashMap&lt;String, Scoreboard&gt; scoreboard = new HashMap&lt;&gt;();
  
      public int eventSize(){
          return inevent.size();
      }
      public String getEventName(){
          return plugin.getEventName();
  
      }
      public boolean eventStarting(){
          return eventstarting;
      }
      public boolean eventStarted(){
          return eventstarted;
      }
      public boolean inEvent(Player player){
          return inevent.containsKey(player.getName());
      }
      public String eventFormalEventName(String s){
          return plugin.getFormalName(s);
      }
      public int getTimeLeft(){
          return plugin.getTimerMain().getTimeLeft();
      }
      public FileConfiguration getPlayerFile(Player player){
          return plugin.playerFile(player.getName().toLowerCase());
      }
      public HashMap&lt;String, String&gt; getPlayersInEvent(){
          return inevent;
      }
      public boolean inSpectateMode(Player player){
          return plugin.getSpectateMode().inspec.contains(player.getName());
      }
  }
  </code></pre>