mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 21:27:44 +01:00
Added Island's UUID in Island#showInfo(User)
This commit is contained in:
parent
2eba3224b7
commit
e44894a803
@ -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 {
|
||||||
|
@ -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]"
|
||||||
|
Loading…
Reference in New Issue
Block a user