File tree Expand file tree Collapse file tree
src/main/java/nl/ordewittetafel/minecom_plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import org .bukkit .plugin .java .JavaPlugin ;
88
99public class Main extends JavaPlugin {
10- private FileConfiguration config ;
11-
1210 @ Override
1311 public void onEnable () {
14- config = getConfig ();
12+ FileConfiguration config = getConfig ();
1513 /*
1614 * The next config values may be changed according to your Discord bot settings in config.yml after the plugin
1715 * has been run once
Original file line number Diff line number Diff line change 1212
1313import java .io .IOException ;
1414
15+ /**
16+ * This class waits for a player to join or quit and then sends a message about it to the Discord bot connected to this
17+ * plugin
18+ */
1519public class JoinQuitListener implements Listener {
1620 private final JavaPlugin plugin ;
1721 private final FileConfiguration config ;
You can’t perform that action at this time.
0 commit comments