Compare commits
5 Commits
1b589759fb
...
14.2
Author | SHA1 | Date | |
---|---|---|---|
37db515726 | |||
|
6c412f5360 | ||
0fcf436dbf | |||
1762afce07 | |||
9916040c63 |
37
.gitea/ISSUE_TEMPLATE/bug_report.md
Normal file
37
.gitea/ISSUE_TEMPLATE/bug_report.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels:
|
||||||
|
- "bug report"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Description of issue:**
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Plugin Version (using`/t2c info`):**
|
||||||
|
|
||||||
|
**Server Type (Spigot/Paperspigot/etc):**
|
||||||
|
|
||||||
|
**Server Version (using `/ver`):**
|
||||||
|
|
||||||
|
**Relevant plugins (Delete if this isn't needed):**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**ERROR (DELETE IF YOU HAVE NO ERROR):**
|
||||||
|
```
|
||||||
|
######################
|
||||||
|
## REPLACE WITH ERROR ##
|
||||||
|
######################
|
||||||
|
```
|
||||||
|
|
||||||
|
**CONFIG SECTION (DELETE IF NOT RELEVANT):**
|
||||||
|
```
|
||||||
|
#######################################
|
||||||
|
## REPLACE WITH RELEVANT CONFIG SECTION ##
|
||||||
|
#######################################
|
||||||
|
```
|
21
.gitea/ISSUE_TEMPLATE/feature_request.md
Normal file
21
.gitea/ISSUE_TEMPLATE/feature_request.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea/improvement
|
||||||
|
title: ''
|
||||||
|
labels:
|
||||||
|
- "feature request"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Description of feature request:**
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Plugin Version (using`/t2c info`):**
|
||||||
|
|
||||||
|
**Server Type (Spigot/Paperspigot/etc):**
|
||||||
|
|
||||||
|
**Server Version (using `/ver`):**
|
||||||
|
|
||||||
|
**Relevant plugins (Delete if this isn't needed):**
|
22
.gitea/ISSUE_TEMPLATE/question.md
Normal file
22
.gitea/ISSUE_TEMPLATE/question.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: Ask a question or get advice
|
||||||
|
title: ''
|
||||||
|
labels:
|
||||||
|
- question
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Share your question here:**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Plugin Version (using`/t2c info`):**
|
||||||
|
|
||||||
|
**Server Type (Spigot/Paperspigot/etc):**
|
||||||
|
|
||||||
|
**Server Version (using `/ver`):**
|
||||||
|
|
||||||
|
**Relevant plugins (Delete if this isn't needed):**
|
||||||
|
|
||||||
|
---
|
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>T2CodeLib</artifactId>
|
<artifactId>T2CodeLib</artifactId>
|
||||||
<version>14.2_DEV-1</version>
|
<version>14.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
|
||||||
|
@@ -104,7 +104,7 @@ public class T2Ctemplate {
|
|||||||
String pr = premiumVerified != null ? "<br><dark_red>║</dark_red> <yellow>Premium verified:</yellow> [pr]".replace("[pr]", premiumVerified ? "<dark_green>YES</dark_green>" : "<red>NO</red>") : "";
|
String pr = premiumVerified != null ? "<br><dark_red>║</dark_red> <yellow>Premium verified:</yellow> [pr]".replace("[pr]", premiumVerified ? "<dark_green>YES</dark_green>" : "<red>NO</red>") : "";
|
||||||
|
|
||||||
String stMSG = text == null || text.equals("") ? "" : "<br><dark_red>║</dark_red> " + text + "<br>";
|
String stMSG = text == null || text.equals("") ? "" : "<br><dark_red>║</dark_red> " + text + "<br>";
|
||||||
T2Csend.sender(sender, "<dark_red>╔══════════════════════════════════════</dark_red>"
|
T2Csend.sender(sender, "<dark_red>╔════════════════════════════════</dark_red>"
|
||||||
+ "<br>" + stPlugin
|
+ "<br>" + stPlugin
|
||||||
+ stMSG
|
+ stMSG
|
||||||
+ stVersion
|
+ stVersion
|
||||||
@@ -113,7 +113,7 @@ public class T2Ctemplate {
|
|||||||
+ "<br>" + stStable
|
+ "<br>" + stStable
|
||||||
+ "<br>" + stLink
|
+ "<br>" + stLink
|
||||||
+ pr
|
+ pr
|
||||||
+ "<br><dark_red>╚══════════════════════════════════════</dark_red>");
|
+ "<br><dark_red>╚════════════════════════════════</dark_red>");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void sendInfo(CommandSender sender, Plugin plugin, int spigotID, String discord, String text) {
|
public static void sendInfo(CommandSender sender, Plugin plugin, int spigotID, String discord, String text) {
|
||||||
|
@@ -5,6 +5,7 @@ import net.t2code.t2codelib.SPIGOT.api.update.T2CupdateAPI;
|
|||||||
import net.t2code.t2codelib.SPIGOT.api.bungeePlayers.T2CbungeePlayers;
|
import net.t2code.t2codelib.SPIGOT.api.bungeePlayers.T2CbungeePlayers;
|
||||||
import net.t2code.t2codelib.T2CupdateObject;
|
import net.t2code.t2codelib.T2CupdateObject;
|
||||||
import net.t2code.t2codelib.SPIGOT.system.config.config.SelectLibConfig;
|
import net.t2code.t2codelib.SPIGOT.system.config.config.SelectLibConfig;
|
||||||
|
import net.t2code.t2codelib.Util;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandExecutor;
|
import org.bukkit.command.CommandExecutor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
@@ -41,6 +42,7 @@ public class CmdExecuter implements CommandExecutor, TabCompleter {
|
|||||||
return false;
|
return false;
|
||||||
case "reloadconfig":
|
case "reloadconfig":
|
||||||
SelectLibConfig.onSelect();
|
SelectLibConfig.onSelect();
|
||||||
|
T2Csend.sender(sender, Util.getPrefix() + " §2Config successfully reloaded");
|
||||||
return false;
|
return false;
|
||||||
case "debug":
|
case "debug":
|
||||||
Commands.debug(sender,args);
|
Commands.debug(sender,args);
|
||||||
|
Reference in New Issue
Block a user