Added Island's UUID in Island#showInfo(User)

This commit is contained in:
Florian CUNY 2019-02-20 15:38:38 +01:00
parent 2eba3224b7
commit e44894a803
2 changed files with 2 additions and 0 deletions

View File

@ -708,6 +708,7 @@ public class Island implements DataObject {
public boolean showInfo(User user) { public boolean showInfo(User user) {
BentoBox plugin = BentoBox.getInstance(); BentoBox plugin = BentoBox.getInstance();
user.sendMessage("commands.admin.info.title"); user.sendMessage("commands.admin.info.title");
user.sendMessage("commands.admin.info.island-uuid", "[uuid]", uniqueId);
if (owner == null) { if (owner == null) {
user.sendMessage("commands.admin.info.unowned"); user.sendMessage("commands.admin.info.unowned");
} else { } else {

View File

@ -120,6 +120,7 @@ commands:
description: "get info on where you are or player's island" description: "get info on where you are or player's island"
no-island: "&cYou are not in an island right now..." no-island: "&cYou are not in an island right now..."
title: "========== Island Info ============" title: "========== Island Info ============"
island-uuid: "UUID: [uuid]"
owner: "Owner: [owner] ([uuid])" owner: "Owner: [owner] ([uuid])"
last-login: "Last login: [date]" last-login: "Last login: [date]"
deaths: "Deaths: [number]" deaths: "Deaths: [number]"