MCPcopy Create free account
hub / github.com/Teneted/Tenet / init

Method init

src/main/java/org/bukkit/plugin/java/JavaPlugin.java:271–280  ·  view source on GitHub ↗
(@NotNull PluginLoader loader, @NotNull Server server, @NotNull PluginDescriptionFile description, @NotNull File dataFolder, @NotNull File file, @NotNull ClassLoader classLoader)

Source from the content-addressed store, hash-verified

269
270
271 final void init(@NotNull PluginLoader loader, @NotNull Server server, @NotNull PluginDescriptionFile description, @NotNull File dataFolder, @NotNull File file, @NotNull ClassLoader classLoader) {
272 this.loader = loader;
273 this.server = server;
274 this.file = file;
275 this.description = description;
276 this.dataFolder = dataFolder;
277 this.classLoader = classLoader;
278 this.configFile = new File(dataFolder, "config.yml");
279 this.logger = new PluginLogger(this);
280 }
281
282 /**
283 * {@inheritDoc}

Callers 1

JavaPluginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected