mirror of
https://e.coding.net/circlecloud/Residence.git
synced 2025-11-24 21:46:16 +00:00
14
pom.xml
14
pom.xml
@@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>cn.citycraft</groupId>
|
<groupId>cn.citycraft</groupId>
|
||||||
<artifactId>Residence</artifactId>
|
<artifactId>Residence</artifactId>
|
||||||
<version>2.8.1.7</version>
|
<version>2.8.1.8</version>
|
||||||
<name>Residence</name>
|
<name>Residence</name>
|
||||||
<description>重制版本的领地插件 - 喵♂呜</description>
|
<description>重制版本的领地插件 - 喵♂呜</description>
|
||||||
<ciManagement>
|
<ciManagement>
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<properties>
|
<properties>
|
||||||
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
<jenkins.url>http://hs.yumc.pw:8080</jenkins.url>
|
||||||
<update.description>&c屏蔽1.6.x版本部分不存在的方法...</update.description>
|
<update.description>&4紧急更新!!! 普通玩家无视SetOwner权限问题...</update.description>
|
||||||
<update.changes></update.changes>
|
<update.changes></update.changes>
|
||||||
<env.GIT_COMMIT>Debug</env.GIT_COMMIT>
|
<env.GIT_COMMIT>Debug</env.GIT_COMMIT>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<version>1.8.8-R0.1-SNAPSHOT</version>
|
<version>1.9-R0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.earth2me</groupId>
|
<groupId>com.earth2me</groupId>
|
||||||
@@ -90,10 +90,8 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.milkbowl.vault</groupId>
|
<groupId>net.milkbowl.vault</groupId>
|
||||||
<artifactId>VaultAPI</artifactId>
|
<artifactId>Vault</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.5.6</version>
|
||||||
<scope>system</scope>
|
|
||||||
<systemPath>${project.basedir}/lib/Vault.jar</systemPath>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sk89q</groupId>
|
<groupId>com.sk89q</groupId>
|
||||||
|
|||||||
@@ -29,16 +29,16 @@ public class CommandSetOwner extends BaseCommand {
|
|||||||
final Language language = plugin.getLanguage();
|
final Language language = plugin.getLanguage();
|
||||||
if (!resadmin) {
|
if (!resadmin) {
|
||||||
sender.sendMessage(ChatColor.RED + language.getPhrase("NoPermission"));
|
sender.sendMessage(ChatColor.RED + language.getPhrase("NoPermission"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
final ClaimedResidence area = rmanager.getByName(args[0]);
|
final ClaimedResidence area = rmanager.getByName(args[0]);
|
||||||
if (area != null) {
|
if (area != null) {
|
||||||
area.getPermissions().setOwner(args[1], true);
|
area.getPermissions().setOwner(args[1], true);
|
||||||
if (area.getParent() == null) {
|
if (area.getParent() == null) {
|
||||||
sender.sendMessage(
|
sender.sendMessage(ChatColor.GREEN + language.getPhrase("ResidenceOwnerChange", ChatColor.YELLOW + " " + args[0] + " " + ChatColor.GREEN + "." + ChatColor.YELLOW + args[1] + ChatColor.GREEN));
|
||||||
ChatColor.GREEN + language.getPhrase("ResidenceOwnerChange", ChatColor.YELLOW + " " + args[0] + " " + ChatColor.GREEN + "." + ChatColor.YELLOW + args[1] + ChatColor.GREEN));
|
|
||||||
} else {
|
} else {
|
||||||
sender.sendMessage(ChatColor.GREEN + language.getPhrase("SubzoneOwnerChange",
|
sender.sendMessage(ChatColor.GREEN
|
||||||
ChatColor.YELLOW + " " + args[0].split("\\.")[args[1].split("\\.").length - 1] + " " + ChatColor.GREEN + "." + ChatColor.YELLOW + args[1] + ChatColor.GREEN));
|
+ language.getPhrase("SubzoneOwnerChange", ChatColor.YELLOW + " " + args[0].split("\\.")[args[1].split("\\.").length - 1] + " " + ChatColor.GREEN + "." + ChatColor.YELLOW + args[1] + ChatColor.GREEN));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sender.sendMessage(ChatColor.RED + language.getPhrase("InvalidResidence"));
|
sender.sendMessage(ChatColor.RED + language.getPhrase("InvalidResidence"));
|
||||||
|
|||||||
Reference in New Issue
Block a user