Skip to content

Commit

Permalink
+ ASCII Text logo
Browse files Browse the repository at this point in the history
  • Loading branch information
joserodpt committed Jan 26, 2024
1 parent ed14d30 commit af94561
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 21 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

![Logo](https://i.imgur.com/nTk9ZGd.png)
## RealScoreboard - Best scoreboard plugin.
[![Build](https://img.shields.io/github/actions/workflow/status/joserodpt/RealScoreboard/maven.yml?branch=master)](https://github.com/JoseGamerPT/RealScoreboard/actions)
![Issues](https://img.shields.io/github/issues-raw/JoseGamerPT/RealScoreboard)
[![Stars](https://img.shields.io/github/stars/JoseGamerPT/RealScoreboard)](https://github.com/JoseGamerPT/RealScoreboard/stargazers)
[![Build](https://img.shields.io/github/actions/workflow/status/joserodpt/RealScoreboard/maven.yml?branch=master)](https://github.com/joserodpt/RealScoreboard/actions)
![Issues](https://img.shields.io/github/issues-raw/joserodpt/RealScoreboard)
[![Stars](https://img.shields.io/github/stars/joserodpt/RealScoreboard)](https://github.com/joserodpt/RealScoreboard/stargazers)
[![Chat)](https://img.shields.io/discord/817810368649887744?logo=discord&logoColor=white)](https://discord.gg/t7gfnYZKy8)

<a href="/#"><img src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/compact/supported/spigot_46h.png" height="35"></a>
Expand Down Expand Up @@ -44,7 +44,7 @@ Welcome to **RealScoreboard!** This Scoreboard plugin was created to be efficien
----

## Links
* [API](https://github.com/JoseGamerPT/RealScoreboard/blob/master/api.md)
* [API](https://github.com/joserodpt/RealScoreboard/blob/master/api.md)
* [SpigotMC](https://www.spigotmc.org/resources/realscoreboard-1-13-to-1-19-2.22928/)
* [Discord Server](https://discord.gg/t7gfnYZKy8)
* [bStats](https://bstats.org/plugin/bukkit/RealScoreboard/10080)
4 changes: 2 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
```
```xml
<dependency>
<groupId>josegamerpt.realscoreboard</groupId>
<groupId>joserodpt.realscoreboard</groupId>
<artifactId>realscoreboard-api</artifactId>
<version>10-12-2022 Build 2</version>
</dependency>
Expand All @@ -31,7 +31,7 @@ maven {
}
```
```groovy
implementation "josegamerpt.realscoreboard:RealScoreboard-API:10-11-2022 Build 5"
implementation "joserodpt.realscoreboard:RealScoreboard-API:10-11-2022 Build 5"
```

----
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>josegamerpt.realscoreboard</groupId>
<groupId>joserodpt.realscoreboard</groupId>
<artifactId>realscoreboard-parent</artifactId>
<version>1.3.3</version>
<packaging>pom</packaging>
Expand All @@ -14,7 +14,7 @@

<developers>
<developer>
<id>JoseGamerPT</id>
<id>joserodpt</id>
</developer>
<developer>
<id>neziw</id>
Expand Down Expand Up @@ -50,7 +50,7 @@

<issueManagement>
<system>GitHub</system>
<url>https://github.com/JoseGamerPT/RealScoreboard/issues</url>
<url>https://github.com/joserodpt/RealScoreboard/issues</url>
</issueManagement>

<distributionManagement>
Expand Down
2 changes: 1 addition & 1 deletion realscoreboard-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>josegamerpt.realscoreboard</groupId>
<groupId>joserodpt.realscoreboard</groupId>
<artifactId>realscoreboard-parent</artifactId>
<version>1.3.3</version>
<relativePath>../pom.xml</relativePath>
Expand Down
4 changes: 2 additions & 2 deletions realscoreboard-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>josegamerpt.realscoreboard</groupId>
<groupId>joserodpt.realscoreboard</groupId>
<artifactId>realscoreboard-parent</artifactId>
<version>1.3.3</version>
<relativePath>../pom.xml</relativePath>
Expand Down Expand Up @@ -99,7 +99,7 @@

<dependencies>
<dependency>
<groupId>josegamerpt.realscoreboard</groupId>
<groupId>joserodpt.realscoreboard</groupId>
<artifactId>realscoreboard-api</artifactId>
<version>${project.version}</version>
<type>jar</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@ public class RealScoreboardPlugin extends JavaPlugin {

@Override
public void onEnable() {
instance = this;
printASCII();
Config.setup(this);

instance = this;
realScoreboard = new RealScoreboard(this);
RealScoreboardAPI.setInstance(realScoreboard);
String header = "<------------------ RealScoreboard PT ------------------>".replace("PT", this.getDescription().getVersion());
getLogger().info(header);

getLogger().info("Your config version: " + Config.file().getString("Version"));

if (Bukkit.getPluginManager().isPluginEnabled("Vault")) {
setupEconomy();
setupPermissions();
Expand All @@ -72,7 +75,6 @@ public void onEnable() {
getLogger().warning("PlaceholderAPI is not installed on the server.");
}

getLogger().info("Your config version is: " + Config.file().getString("Version"));
Bukkit.getPluginManager().registerEvents(new PlayerManager(realScoreboard), this);
CommandManager cm = new CommandManager(this);

Expand Down Expand Up @@ -106,8 +108,22 @@ public void onEnable() {
new ExternalPluginPermission("realscoreboard.toggle", "Allow permission to toggle the scoreboard.", Arrays.asList("rsb on", "rsb off", "rsb toggle", "rsb t"))), this.getDescription().getVersion()));
}

Arrays.asList("Finished loading RealScoreboard.", "Server version: " + getServerVersion() + " | Plugin Version: " + getDescription().getVersion()).forEach(s -> getLogger().info(s));
getLogger().info(header);
Arrays.asList("Plugin has been loaded.", "Server version: " + getServerVersion()).forEach(s -> getLogger().info(s));
getLogger().info("<------------------ RealScoreboard | vPT ------------------>".replace("PT", this.getDescription().getVersion()));
}

private void printASCII() {
logWithColor("&d ____ _ ____ _ _");
logWithColor("&d | _ \\ ___ __ _| / ___| ___ ___ _ __ ___| |__ ___ __ _ _ __ __| |");
logWithColor("&d | |_) / _ \\/ _` | \\___ \\ / __/ _ \\| '__/ _ \\ '_ \\ / _ \\ / _` | '__/ _` |");
logWithColor("&d | _ < __/ (_| | |___) | (_| (_) | | | __/ |_) | (_) | (_| | | | (_| |");
logWithColor("&d |_| \\_\\___|\\__,_|_|____/ \\___\\___/|_| \\___|_.__/ \\___/ \\__,_|_| \\__,_|");
logWithColor(" &8Made by: &9JoseGamer_PT &8Version: &9" + this.getVersion());
getLogger().info("");
}

public void logWithColor(String s) {
getServer().getConsoleSender().sendMessage("[" + this.getDescription().getName() + "] " + Text.color(s));
}

private void setupEconomy() {
Expand Down
4 changes: 2 additions & 2 deletions realscoreboard-plugin/src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#✦------------------------------------------------------✦
#| Main Config |
#✦------------------------------------------------------✦
#RealScoreboard created by JoseGamerPT and maintained by Neziw
#RealScoreboard created by joserodpt and maintained by Neziw
#
#Useful links:
#SpigotMC - https://www.spigotmc.org/resources/realscoreboard-1-13-to-1-19-2.22928/
#Discord Server - https://discord.gg/t7gfnYZKy8
#bStats - https://bstats.org/plugin/bukkit/RealScoreboard/10080
#HEX Color Formats: https://github.com/Iridium-Development/IridiumColorAPI
#API for Developers: https://github.com/JoseGamerPT/RealScoreboard/blob/master/api.md
#API for Developers: https://github.com/joserodpt/RealScoreboard/blob/master/api.md
Debug: false
Config:
ItemAdder-Support: false
Expand Down
2 changes: 1 addition & 1 deletion realscoreboard-plugin/src/main/resources/sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#Discord Server - https://discord.gg/t7gfnYZKy8
#bStats - https://bstats.org/plugin/bukkit/RealScoreboard/10080
#HEX Color Formats: https://github.com/Iridium-Development/IridiumColorAPI
#API for Developers: https://github.com/JoseGamerPT/RealScoreboard/blob/master/api.md
#API for Developers: https://github.com/joserodpt/RealScoreboard/blob/master/api.md
driver: "SQLITE"
host: "localhost"
database: "RealScoreboard"
Expand Down

0 comments on commit af94561

Please sign in to comment.