forked from Minecraft/QoL
parent
0aab560cbb
commit
9a7fd8247c
|
@ -60,9 +60,9 @@ public class PortalCommand implements CommandExecutor {
|
|||
message.append("\n" + ChatColor.GREEN + "Location in the " + worldStr + ": " + newX + ", " + y + ", " + newZ);
|
||||
EtzTechUtil.sms(commandSender, message.toString());
|
||||
|
||||
// Send link to image for setting up nether portal
|
||||
// Send link to instructions for setting up nether portal
|
||||
TextComponent link = new TextComponent(ChatColor.GREEN + "Click here for directions on how to set up a nether portal.");
|
||||
link.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://i.imgur.com/tQCbI0C.png"));
|
||||
link.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, plugin.getConfig().getString("portal-link", "https://i.imgur.com/tQCbI0C.png")));
|
||||
commandSender.spigot().sendMessage(link);
|
||||
|
||||
return true;
|
||||
|
|
|
@ -47,6 +47,9 @@ grief-alert:
|
|||
lines: 5
|
||||
webhook: ''
|
||||
|
||||
# The link to open for portal setup instructions
|
||||
portal-link: 'https://i.imgur.com/tQCbI0C.png'
|
||||
|
||||
# The range after which a player will be marked as "outside the border"
|
||||
worldinfo:
|
||||
world: 5000
|
||||
|
|
Loading…
Reference in New Issue