Skip to content

Commit

Permalink
LAST release
Browse files Browse the repository at this point in the history
  • Loading branch information
workonfire committed Sep 28, 2023
1 parent b5cb070 commit d4054fa
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 793 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

[Polish version here](README.pl.md)

# WARNING: This project is not supported anymore.

## Features
- Fully customizable block generators
- Custom permissions for many things
Expand Down Expand Up @@ -52,6 +54,3 @@ Thanks to [@k073l](https://github.com/k073l) and [@oliwier975PL](https://github.

## License
This project is licensed under the [GNU GPL-3.0 License](LICENSE).

## Project status
I've run out of energy, so currently this project is not actively maintained. Although if I come up with an idea or someone reports me a critical bug, I'll release an update. :smile:
7 changes: 3 additions & 4 deletions README.pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
[![JavaDoc Badge](https://img.shields.io/badge/JavaDoc-here!-orange?logo=java)](https://workonfi.re/bucik/generators/apidocs)
![Made with love in Poland](https://madewithlove.now.sh/pl?heart=true)

[Polish version here](README.pl.md)
[English version here](README.md)

# UWAGA: Ten projekt nie jest już wspierany.

## Funkcje
- W pełni dostosowywalne generatory bloków
Expand Down Expand Up @@ -52,6 +54,3 @@ Specjalne podziękowania dla [@k073l](https://github.com/k073l) i [@oliwier975PL

## Licencja
Ten projekt jest na licencji [GNU GPL-3.0](LICENSE).

## Status projektu
Skończyły mi się siły i chęci, więc obecnie nie są prowadzone prace nad tym projektem. Chociaż jeśli wpadnę na pomysł lub ktoś zgłosi mi krytyczny błąd, wydam aktualizację. :smile:
21 changes: 5 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>pl.workonfire</groupId>
<artifactId>BucikGenerators</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
<packaging>jar</packaging>

<name>BucikGenerators</name>
Expand All @@ -21,7 +21,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand All @@ -30,7 +30,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.2</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -51,17 +51,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<show>private</show>
<nohelp>true</nohelp>
<doclint>none</doclint>
<source>8</source>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
Expand Down Expand Up @@ -90,7 +79,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.16.5-R0.1-SNAPSHOT</version>
<version>1.20.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -102,7 +91,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.16</version>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
19 changes: 7 additions & 12 deletions src/main/java/pl/workonfire/bucik/generators/BucikGenerators.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 workonfire
* Copyright (C) 2020-2023 workonfire
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -22,7 +22,6 @@
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import pl.workonfire.bucik.generators.data.GeneratorDurabilities;
import pl.workonfire.bucik.generators.data.Metrics;
import pl.workonfire.bucik.generators.managers.ConfigManager;
import pl.workonfire.bucik.generators.managers.utils.Logger;
import pl.workonfire.bucik.generators.managers.utils.Util;
Expand All @@ -33,10 +32,12 @@
* Made with ♥
*
* @author workonfire, aka Buty935
* @version 1.3.0
* @version 1.3.1
* @since 2020-06-13
*/

// This project is NOT supported anymore.


public final class BucikGenerators extends JavaPlugin {
@Getter private static BucikGenerators instance;
Expand All @@ -54,22 +55,16 @@ public void onEnable() {
Util.registerCommands();
VaultHandler.setupEconomy();

Util.systemMessage(Logger.INFO, "&fBucikGenerators &6" + getPluginVersion() + " &fby Buty935. Discord: &9workonfire#8262");
Util.systemMessage(Logger.DEBUG, "Debug mode enabled. IF YOU ENCOUNTER ANY BUGS, PLEASE REPORT THEM.");
Util.systemMessage(Logger.INFO, "BucikGenerators " + getPluginVersion() + " by Buty935. Discord: workonfire");
Util.systemMessage(Logger.WARN, "Unfortunately, this plugin is not supported anymore. Don't report any bugs. Sorry :(");
Util.systemMessage(Logger.DEBUG, "Debug mode enabled.");
Util.systemMessage(Logger.DEBUG, "Economy setup: " + VaultHandler.getEconomy());

int dataSaveInterval = ConfigManager.getConfig().getInt("options.auto-save-interval");
if (dataSaveInterval != 0)
Bukkit.getScheduler().scheduleSyncRepeatingTask(getInstance(), ConfigManager::updateDb, 0, dataSaveInterval);
Util.registerRecipes();

if (ConfigManager.getConfig().getBoolean("options.metrics")) {
new Metrics(getInstance(), 7854);
Util.systemMessage(Logger.INFO,
"bStats service has been &2enabled&r! Set &6metrics &rto &cfalse &rin " +
"&f&nconfig.yml&r in order to disable metrics.");
}

if (Util.isServerLegacy()) Util.systemMessage(Logger.WARN,
"Although this plugin works on some versions older than 1.13, the support for legacy versions" +
" is very limited.\nDon't expect everything to work fine. For example, not all of the item types" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void run(CommandSender sender, String[] args) {
"§bBucikGenerators §6" + BucikGenerators.getPluginVersion() + "\n" +
"§6by §c§lB§6§lu§e§lt§a§ly§b§l9§3§l3§9§l5\n" +
"§6§ohttps://github.com/workonfire\n" +
"§c§lWARNING: §fThis plugin is unsupported anymore.\n" +
line.replace("\n", ""));
}

Expand Down
Loading

0 comments on commit d4054fa

Please sign in to comment.