Skip to content

Commit 3457765

Browse files
committed
Removed some useless things
1 parent 5c20270 commit 3457765

File tree

142 files changed

+550
-1884
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+550
-1884
lines changed

README.md

+3-36
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ BossBarAPI, ActionBarAPI & TitleAPI for 1.8.X (Very Lightweight)
1717
<dependency>
1818
<groupId>me.classy</groupId>
1919
<artifactId>ba-api</artifactId>
20-
<version>2.1.1</version>
20+
<version>2.2</version>
2121
</dependency>
2222
</dependencies>
2323
```
@@ -33,7 +33,7 @@ repositories {
3333

3434
```groovy
3535
dependencies {
36-
implementation "me.classy:ba-api:2.1.1"
36+
implementation "me.classy:ba-api:2.2"
3737
}
3838
```
3939

@@ -57,43 +57,10 @@ actionBar.sendToAll(); // Send the actionbar to all the players online on the se
5757
Title title = new Title();
5858
title.sentToPlayer(p, "Hello World (Title)", "Hello World (Subtitle)", 10, 70, 20); // Hello World (title) and Hello World (subtitle) for 3.5 seconds (70 ticks)
5959
title.sentToAll("Hello World (Title)", "Hello World (Subtitle)", 10, 70, 20); // Hello World (title) and Hello World (subtitle) for 3.5 seconds (70 ticks) to all players
60-
61-
// Example Command
62-
package me.classy.baapi.commands;
63-
64-
import org.bukkit.entity.Player;
65-
import org.bukkit.command.CommandSender;
66-
67-
import me.classy.baapi.commandsapi.BaseCommand;
68-
import me.classy.baapi.utility.Util;
69-
70-
public class ECommand extends BaseCommand {
71-
72-
public ECommand() {
73-
super("example", new String[]{"ex", "e"}, "I made this command for example, if you want to make a command then use this for example.", "/example <message> OR /ex <message> OR /e <message>", "e.command");
74-
}
75-
76-
@Override
77-
public void execute(CommandSender sender, String[] args) {
78-
if (sender instanceof Player) {
79-
80-
Player p = (Player) sender;
81-
82-
if (args.length > 0) {
83-
String message = String.join(" ", args);
84-
p.sendMessage(Util.setColor("&b[TEST] &f" + message));
85-
} else {
86-
p.sendMessage(Util.setColor("&eUsage: &b" + getUsage()));
87-
}
88-
} else {
89-
sender.sendMessage("Nuh uh");
90-
}
91-
}
92-
} // This is just an example on how you can create commands using our api.
9360
```
9461
## Tested Versions
9562

96-
* 1.8 <br>
63+
* 1.8
9764
If you test it in other versions make a pull request. Please check [**pull request template.**](https://github.com/Posse-Plugins/BA-API/blob/master/PULL_REQUEST_TEMPLATE.md).
9865

9966
## Authors

target/apidocs/allclasses-index.html renamed to docs/allclasses-index.html

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Wed Jun 12 09:38:20 GMT 2024 -->
5-
<title>All Classes (BA-API 2.1.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Oct 25 04:06:06 GMT 2024 -->
5+
<title>All Classes (BA-API 2.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2024-06-12">
8+
<meta name="dc.created" content="2024-10-25">
99
<meta name="description" content="class index">
1010
<meta name="generator" content="javadoc/AllClassesIndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@@ -73,16 +73,12 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
7373
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
7474
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/api/BaAPIImpl.html" title="class in me.classy.baapi.api">BaAPIImpl</a></div>
7575
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
76-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/commandsapi/BaseCommand.html" title="class in me.classy.baapi.commandsapi">BaseCommand</a></div>
76+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/bossbarapi/BossBar.html" title="class in me.classy.baapi.bossbarapi">BossBar</a></div>
77+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
78+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab7"><a href="me/classy/baapi/utility/Credit.html" title="annotation interface in me.classy.baapi.utility">Credit</a></div>
79+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab7">&nbsp;</div>
80+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/gui/example/ExampleGUI.html" title="class in me.classy.baapi.gui.example">ExampleGUI</a></div>
7781
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
78-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/bossbarapi/BossBar.html" title="class in me.classy.baapi.bossbarapi">BossBar</a></div>
79-
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
80-
<div class="col-first even-row-color all-classes-table all-classes-table-tab1"><a href="me/classy/baapi/commandsapi/Command.html" title="interface in me.classy.baapi.commandsapi">Command</a></div>
81-
<div class="col-last even-row-color all-classes-table all-classes-table-tab1">&nbsp;</div>
82-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/commandsapi/CommandRegistery.html" title="class in me.classy.baapi.commandsapi">CommandRegistery</a></div>
83-
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
84-
<div class="col-first even-row-color all-classes-table all-classes-table-tab7"><a href="me/classy/baapi/utility/Credit.html" title="annotation interface in me.classy.baapi.utility">Credit</a></div>
85-
<div class="col-last even-row-color all-classes-table all-classes-table-tab7">&nbsp;</div>
8682
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/gui/GUI.html" title="class in me.classy.baapi.gui">GUI</a></div>
8783
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
8884
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/gui/GUIUtils.html" title="class in me.classy.baapi.gui">GUIUtils</a></div>
@@ -93,14 +89,12 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
9389
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
9490
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/holo/HologramManager.html" title="class in me.classy.baapi.holo">HologramManager</a></div>
9591
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
96-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/commandsapi/ICommandExecutor.html" title="class in me.classy.baapi.commandsapi">ICommandExecutor</a></div>
92+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/holo/StaticHologram.html" title="class in me.classy.baapi.holo">StaticHologram</a></div>
9793
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
98-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/holo/StaticHologram.html" title="class in me.classy.baapi.holo">StaticHologram</a></div>
94+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/titleapi/Title.html" title="class in me.classy.baapi.titleapi">Title</a></div>
9995
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
100-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/titleapi/Title.html" title="class in me.classy.baapi.titleapi">Title</a></div>
96+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/utility/Util.html" title="class in me.classy.baapi.utility">Util</a></div>
10197
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
102-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="me/classy/baapi/utility/Util.html" title="class in me.classy.baapi.utility">Util</a></div>
103-
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
10498
</div>
10599
</div>
106100
</div>

target/apidocs/allpackages-index.html renamed to docs/allpackages-index.html

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Wed Jun 12 09:38:20 GMT 2024 -->
5-
<title>All Packages (BA-API 2.1.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Oct 25 04:06:06 GMT 2024 -->
5+
<title>All Packages (BA-API 2.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2024-06-12">
8+
<meta name="dc.created" content="2024-10-25">
99
<meta name="description" content="package index">
1010
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@@ -63,18 +63,16 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
6363
<div class="col-last even-row-color">&nbsp;</div>
6464
<div class="col-first odd-row-color"><a href="me/classy/baapi/bossbarapi/package-summary.html">me.classy.baapi.bossbarapi</a></div>
6565
<div class="col-last odd-row-color">&nbsp;</div>
66-
<div class="col-first even-row-color"><a href="me/classy/baapi/commandsapi/package-summary.html">me.classy.baapi.commandsapi</a></div>
66+
<div class="col-first even-row-color"><a href="me/classy/baapi/gui/package-summary.html">me.classy.baapi.gui</a></div>
6767
<div class="col-last even-row-color">&nbsp;</div>
68-
<div class="col-first odd-row-color"><a href="me/classy/baapi/gui/package-summary.html">me.classy.baapi.gui</a></div>
68+
<div class="col-first odd-row-color"><a href="me/classy/baapi/gui/example/package-summary.html">me.classy.baapi.gui.example</a></div>
6969
<div class="col-last odd-row-color">&nbsp;</div>
70-
<div class="col-first even-row-color"><a href="me/classy/baapi/gui/example/package-summary.html">me.classy.baapi.gui.example</a></div>
70+
<div class="col-first even-row-color"><a href="me/classy/baapi/holo/package-summary.html">me.classy.baapi.holo</a></div>
7171
<div class="col-last even-row-color">&nbsp;</div>
72-
<div class="col-first odd-row-color"><a href="me/classy/baapi/holo/package-summary.html">me.classy.baapi.holo</a></div>
72+
<div class="col-first odd-row-color"><a href="me/classy/baapi/titleapi/package-summary.html">me.classy.baapi.titleapi</a></div>
7373
<div class="col-last odd-row-color">&nbsp;</div>
74-
<div class="col-first even-row-color"><a href="me/classy/baapi/titleapi/package-summary.html">me.classy.baapi.titleapi</a></div>
74+
<div class="col-first even-row-color"><a href="me/classy/baapi/utility/package-summary.html">me.classy.baapi.utility</a></div>
7575
<div class="col-last even-row-color">&nbsp;</div>
76-
<div class="col-first odd-row-color"><a href="me/classy/baapi/utility/package-summary.html">me.classy.baapi.utility</a></div>
77-
<div class="col-last odd-row-color">&nbsp;</div>
7876
</div>
7977
</main>
8078
<footer role="contentinfo">

target/apidocs/element-list renamed to docs/element-list

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ me.classy.baapi
22
me.classy.baapi.actionbarapi
33
me.classy.baapi.api
44
me.classy.baapi.bossbarapi
5-
me.classy.baapi.commandsapi
65
me.classy.baapi.gui
76
me.classy.baapi.gui.example
87
me.classy.baapi.holo

target/apidocs/help-doc.html renamed to docs/help-doc.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Wed Jun 12 09:38:20 GMT 2024 -->
5-
<title>API Help (BA-API 2.1.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Oct 25 04:06:06 GMT 2024 -->
5+
<title>API Help (BA-API 2.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2024-06-12">
8+
<meta name="dc.created" content="2024-10-25">
99
<meta name="description" content="help">
1010
<meta name="generator" content="javadoc/HelpWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

0 commit comments

Comments
 (0)