Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

<groupId>me.plytki</groupId>
<artifactId>VirtualRealty</artifactId>
<version>1.2.1-SNAPSHOT</version>
<version>1.2.2</version>
<packaging>jar</packaging>

<name>VirtualRealty</name>

<description>This plugin allows players to have their own protected spaces.</description>
<description>A plot creation and management plugin for Minecraft</description>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -87,7 +87,7 @@
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.200</version>
<scope>provided</scope>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
2 changes: 0 additions & 2 deletions src/main/java/me/plytki/virtualrealty/VirtualRealty.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

public final class VirtualRealty extends JavaPlugin {

private static final String PLUGIN_VERSION = "V1.2.1_SNAPSHOT";
private static VirtualRealty instance;
public static final String PREFIX = "§a§lVR §8§l» §7";
public static ArrayList<BukkitTask> tasks = new ArrayList<>();
Expand All @@ -40,7 +39,6 @@ public final class VirtualRealty extends JavaPlugin {
public void onEnable() {
// Plugin startup logic
instance = this;
//this.getServer().getConsoleSender().sendMessage("");
setCompatibleVersions();
if (!checkCompatibleVersion(Bukkit.getBukkitVersion())) {
closedDueToIncompatibleVersion = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command
// text1.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{new TextComponent("§7§oClick to teleport to the cords!")}));
// text1.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/tppos " + plot.getBottomLeftCorner().getBlockX() + " " + plot.getBottomLeftCorner().getBlockY() + " " + plot.getBottomLeftCorner().getBlockZ()));
// BaseComponent text12 = new TextComponent(" §7Pos 1 §8| §7X §8| §7Y §8| §7Z §8| §8§l‣ §f");
// p.spigot().sendMessage(text12, text1);
p.sendMessage(" §7Pos 1 §8| §7X §8| §7Y §8| §7Z §8| §8§l‣ §f" + plot.getBottomLeftCorner().toString());
// BaseComponent text2 = new TextComponent(plot.getBottomLeftCorner().toString());
// text2.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{new TextComponent("§7§oClick to teleport to the cords!")}));
Expand Down