mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-03 09:30:28 +01:00
Merge pull request #291 from necrodoom/patch-32
display name instead of path for /mancheckw
This commit is contained in:
commit
09851acd1b
@ -1975,8 +1975,8 @@ public class GroupManager extends JavaPlugin {
|
|||||||
|
|
||||||
sender.sendMessage(ChatColor.YELLOW + "You have selected world '" + dataHolder.getName() + "'.");
|
sender.sendMessage(ChatColor.YELLOW + "You have selected world '" + dataHolder.getName() + "'.");
|
||||||
sender.sendMessage(ChatColor.YELLOW + "This world is using the following data files..");
|
sender.sendMessage(ChatColor.YELLOW + "This world is using the following data files..");
|
||||||
sender.sendMessage(ChatColor.YELLOW + "Groups: " + dataHolder.getGroupsFile().getAbsolutePath());
|
sender.sendMessage(ChatColor.YELLOW + "Groups:" + ChatColor.GREEN + " " + dataHolder.getGroupsFile().getDataSource.getName());
|
||||||
sender.sendMessage(ChatColor.YELLOW + "Users: " + dataHolder.getUsersFile().getAbsolutePath());
|
sender.sendMessage(ChatColor.YELLOW + "Users:" + ChatColor.GREEN + " " + dataHolder.getUsersFile().getDataSource.getName());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
@ -42,6 +42,11 @@ public class GroupsDataHolder {
|
|||||||
group.setDataSource(this.dataSource);
|
group.setDataSource(this.dataSource);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public WorldDataHolder getDataSource() {
|
||||||
|
|
||||||
|
return this.dataSource;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the defaultGroup
|
* @return the defaultGroup
|
||||||
@ -123,4 +128,4 @@ public class GroupsDataHolder {
|
|||||||
this.timeStampGroups = timeStampGroups;
|
this.timeStampGroups = timeStampGroups;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,11 @@ public class UsersDataHolder {
|
|||||||
|
|
||||||
return users;
|
return users;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public WorldDataHolder getDataSource() {
|
||||||
|
|
||||||
|
return this.dataSource;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resets the Users
|
* Resets the Users
|
||||||
@ -106,4 +111,4 @@ public class UsersDataHolder {
|
|||||||
this.timeStampUsers = timeStampUsers;
|
this.timeStampUsers = timeStampUsers;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user