Skip to content

Commit 52de81b

Browse files
2 parents a3f3f9c + 18c7f8d commit 52de81b

File tree

8 files changed

+6
-149
lines changed

8 files changed

+6
-149
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ body:
5555
[TARDIS] CoreProtect version: 20.3
5656
[TARDIS] Essentials version: 2.19.3-dev+1-05ce11f
5757
[TARDIS] floodgate version: 2.1.0-SNAPSHOT
58-
[TARDIS] Checking for new TARDIS builds...
59-
[TARDIS] You are 5 builds behind! Type /tadmin update_plugins to update!
6058
```
6159
6260
</details>

.github/workflows/gradle.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
1+
# This workflow will build a Java project with Gradle
72

83
name: Java CI with Gradle
94

@@ -62,3 +57,5 @@ jobs:
6257
tag_name: '1.21.8'
6358
files: build/libs/*.jar
6459
fail_on_unmatched_files: false
60+
body: "- ${{ github.event.head_commit.message }}"
61+
append_body: true

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ Plugin documentation can be found here:
2121

2222
[Join the TARDIS Community Discord server](https://discord.gg/sfuPVHh)
2323

24-
Jenkins CI builds can be found here:
25-
[http://tardisjenkins.duckdns.org:8080/job/TARDIS/](http://tardisjenkins.duckdns.org:8080/job/TARDIS/)
24+
GitHub continuously integrated builds (updated when changes are pushed to this repositiory) can be found on the [Releases](https://github.com/eccentricdevotion/TARDIS/releases) page.
2625

27-
[![Jenkins status](https://img.shields.io/website?down_message=offline&label=Jenkins&style=for-the-badge&up_message=online&url=http%3A%2F%2Ftardisjenkins.duckdns.org%3A8080%2F)](http://tardisjenkins.duckdns.org:8080/job/TARDIS/)
28-
![Build Status](https://img.shields.io/jenkins/build?jobUrl=http://tardisjenkins.duckdns.org:8080/job/TARDIS&style=for-the-badge)
2926
![GitHub last commit](https://img.shields.io/github/last-commit/eccentricdevotion/TARDIS?style=for-the-badge)
3027

3128
![GitHub top language](https://img.shields.io/github/languages/top/eccentricdevotion/TARDIS?style=for-the-badge)
@@ -36,6 +33,7 @@ Jenkins CI builds can be found here:
3633
![Spigot downloads](https://img.shields.io/spiget/downloads/45729?label=Spigot%20downloads&style=for-the-badge)
3734
![bStats Servers](https://img.shields.io/bstats/servers/11698?style=for-the-badge)
3835

36+
![1.21.8 downloads](https://img.shields.io/github/downloads/eccentricdevotion/TARDIS/1.21.8/total?style=for-the-badge)
3937
![1.21.5 downloads](https://img.shields.io/github/downloads/eccentricdevotion/TARDIS/1.21.5/total?style=for-the-badge)
4038
![1.21.4 downloads](https://img.shields.io/github/downloads/eccentricdevotion/TARDIS/1.21.4/total?style=for-the-badge)
4139
![1.21.3 downloads](https://img.shields.io/github/downloads/eccentricdevotion/TARDIS/1.21.3/total?style=for-the-badge)

src/main/java/me/eccentric_nz/TARDIS/commands/admin/TARDISAdminCommands.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import me.eccentric_nz.TARDIS.enumeration.TardisModule;
2525
import me.eccentric_nz.TARDIS.maze.TARDISMazeBuilder;
2626
import me.eccentric_nz.TARDIS.maze.TARDISMazeGenerator;
27-
import me.eccentric_nz.TARDIS.utility.UpdateTARDISPlugins;
2827
import org.bukkit.Location;
2928
import org.bukkit.block.BlockFace;
3029
import org.bukkit.command.Command;
@@ -86,7 +85,6 @@ public TARDISAdminCommands(TARDIS plugin) {
8685
firstsStr.add("set_size");
8786
firstsStr.add("spawn_abandoned");
8887
firstsStr.add("undisguise");
89-
firstsStr.add("update_plugins");
9088
}
9189

9290
@Override
@@ -123,13 +121,6 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
123121
return true;
124122
}
125123
}
126-
case "update_plugins" -> {
127-
if (!sender.isOp()) {
128-
plugin.getMessenger().message(sender, "You must be a server operator to run this command!");
129-
return true;
130-
}
131-
return new UpdateTARDISPlugins(plugin).fetchFromJenkins(sender);
132-
}
133124
case "maze" -> {
134125
if (sender instanceof Player p) {
135126
Location l = p.getTargetBlock(plugin.getGeneralKeeper().getTransparent(), 16).getRelative(BlockFace.UP).getLocation();

src/main/java/me/eccentric_nz/TARDIS/commands/admin/TARDISAdminTabComplete.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*/
4040
public class TARDISAdminTabComplete extends TARDISCompleter implements TabCompleter {
4141

42-
private final ImmutableList<String> ROOT_SUBS = ImmutableList.of("add_regions", "arch", "assemble", "clean", "condenser", "config", "convert_database", "create", "decharge", "delete", "disguise", "dispersed", "enter", "find", "list", "make_preset", "maze", "mvimport", "playercount", "prune", "prunelist", "purge", "purge_portals", "recharger", "region_flag", "reload", "repair", "revoke", "set_size", "spawn_abandoned", "undisguise", "update_plugins");
42+
private final ImmutableList<String> ROOT_SUBS = ImmutableList.of("add_regions", "arch", "assemble", "clean", "condenser", "config", "convert_database", "create", "decharge", "delete", "disguise", "dispersed", "enter", "find", "list", "make_preset", "maze", "mvimport", "playercount", "prune", "prunelist", "purge", "purge_portals", "recharger", "region_flag", "reload", "repair", "revoke", "set_size", "spawn_abandoned", "undisguise");
4343
private final ImmutableList<String> ASS_SUBS = ImmutableList.of("clear", "list");
4444
private final ImmutableList<String> COMPASS_SUBS = ImmutableList.of("NORTH", "EAST", "SOUTH", "WEST");
4545
private final ImmutableList<String> ENTITY_SUBS;

src/main/java/me/eccentric_nz/TARDIS/messaging/AdventureComponents.java

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -53,39 +53,6 @@ public static TextComponent getModule(TardisModule module) {
5353
.build();
5454
}
5555

56-
public static TextComponent getJenkinsUpdateReady(int current, int latest) {
57-
return Component.text("There is a new TARDIS build! You are using ", NamedTextColor.RED)
58-
.append(Component.text("#" + current, NamedTextColor.GOLD))
59-
.append(Component.text(", the latest build is ", NamedTextColor.RED))
60-
.append(Component.text("#" + latest, NamedTextColor.GOLD))
61-
.append(Component.text("!", NamedTextColor.RED));
62-
}
63-
64-
public static TextComponent getUpdateCommand() {
65-
return Component.text("Visit ", NamedTextColor.GOLD)
66-
.append(Component.text("http://tardisjenkins.duckdns.org:8080/job/TARDIS/")
67-
.clickEvent(ClickEvent.openUrl("http://tardisjenkins.duckdns.org:8080/job/TARDIS/"))
68-
)
69-
.append(Component.text(" or run the "))
70-
.append(Component.text("'/tardisadmin update_plugins'")
71-
.color(NamedTextColor.AQUA)
72-
.clickEvent(ClickEvent.suggestCommand("/tardisadmin update_plugins"))
73-
)
74-
.append(Component.text(" command"));
75-
}
76-
77-
public static TextComponent getBuildsBehind(int behind) {
78-
return getModule(TardisModule.TARDIS)
79-
.color(NamedTextColor.WHITE)
80-
.append(Component.text("You are "))
81-
.append(Component.text(behind))
82-
.append(Component.text(" builds behind! Type "))
83-
.append(Component.text("/tadmin update_plugins", NamedTextColor.AQUA)
84-
.clickEvent(ClickEvent.suggestCommand("/tadmin update_plugins"))
85-
)
86-
.append(Component.text(" to update!"));
87-
}
88-
8956
public static TextComponent getRequestComehereAccept(String key, String command) {
9057
return Component.text(key, NamedTextColor.AQUA)
9158
.hoverEvent(HoverEvent.showText(Component.text("Click me!")))

src/main/java/me/eccentric_nz/TARDIS/utility/UpdateTARDISPlugins.java

Lines changed: 0 additions & 91 deletions
This file was deleted.

src/main/resources/plugin.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,9 +1199,6 @@ commands:
11991199
undisguise:
12001200
description: Remove a disguise from a player.
12011201
usage: /<command> undisguise [player]
1202-
update_plugins:
1203-
description: Download the latest TARDIS plugin from the Jenkins server. Restart the server to update the plugin.
1204-
usage: /<command> update_plugins
12051202
tardisconfig:
12061203
aliases: tconfig
12071204
description: Set TARDIS configuration options and world inclusion.

0 commit comments

Comments
 (0)