2.0.0
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
#配置文件版本,请勿修改
|
||||
version: 1.8.3
|
||||
|
||||
configNotFound: '§a[EnderDragon] config.yml不存在, 已自动创建.'
|
||||
dataNotFound: '§a[EnderDragon] data.yml不存在, 已自动创建.'
|
||||
messageNotFound: '§a[EnderDragon] message.yml不存在, 已自动创建.'
|
||||
configWrongVersion: '§c[EnderDragon] config.yml版本与插件不对应,请更新配置文件'
|
||||
dataWrongVersion: '§c[EnderDragon] data.yml版本与插件不对应,请更新配置文件'
|
||||
langWrongVersion: '§c[EnderDragon] 语言文件版本与插件不对应,请更新语言文件'
|
||||
messageWrongVersion: '§c[EnderDragon] message.yml版本与插件不对应,请更新配置文件'
|
||||
loaded: '§a[EnderDragon] 插件已加载'
|
||||
checkingUpdate: '§a[EnderDragon] 正在为您检查更新...'
|
||||
OutOfDate1: '§e[EnderDragon] 您正在使用的插件版本: v{0}'
|
||||
OutOfDate2: '§e[EnderDragon] 检测到新版插件v{1}已发布,请尽快更新'
|
||||
OutOfDate3: '§e[EnderDragon] 下载地址:https://www.mcbbs.net/thread-1314199-1-1.html'
|
||||
UpToDate: '§a[EnderDragon] 您正在使用最新版的插件(v{1})...'
|
||||
onDisable: '§e[EnderDragon] 插件已卸载'
|
||||
|
||||
NoCommandPermission: '§4你没有使用该命令的权限'
|
||||
configReloaded: '§a配置文件已重载'
|
||||
PlayerCommand: '§c这个指令只能由玩家执行'
|
||||
DropItemAddFail: '§c添加掉落物失败,你手上没有拿物品...'
|
||||
DropItemAddSucceed: '§a掉落物添加成功,概率为: §c{chance}%'
|
||||
MustNumber: '§c您应该输入数字而不是 '
|
||||
Number: '数字'
|
||||
DropChance: '掉落概率'
|
||||
ClearDropItemConfig: '§a掉落物配置已清空'
|
||||
CommandTips1: '§e/ed reload 重载配置文件'
|
||||
CommandTips2: '§e/ed drop 特殊龙掉落物设置'
|
||||
|
||||
#消息提示前缀
|
||||
prefix: '§7[§eEnderDragon§7]§r '
|
||||
|
||||
#末影龙生成时全服提示内容
|
||||
#仅在此处有效:可用%times%代替这条末影龙的数字序号,输入“none”代表不提示
|
||||
dragon-spawn-broadcast: '§a第 %times% 条末影龙已被复活'
|
||||
|
||||
#生成特殊龙后全服提醒内容
|
||||
#只有当上一个值为true时,该提醒内容才有效
|
||||
special-broadcast: '§6这条末影龙散发着神秘的气息...'
|
||||
|
||||
#末影龙被击杀时全服提示内容
|
||||
#仅在此处有效:可用%times%代替这条末影龙的数字序号,可用%player%代替击杀末影龙的玩家的名字
|
||||
#插件会智能检测周围的玩家来替换%player%,如果实在检测不到将用下方条目中的内容替代%player%
|
||||
dragon-killing-broadcast: '§b第 %times% 条末影龙已被 %player% 击杀'
|
||||
|
||||
#无玩家参与时,%player%将被该项代替
|
||||
nobody-kill: '玩家远程'
|
||||
|
||||
#发给击杀特殊龙的玩家的话
|
||||
killer-message: '§6恭喜你,这条龙掉落了龙蛋和大量经验!'
|
||||
|
||||
#每次玩家攻击末影龙时,显示给攻击者的提示
|
||||
#仅在此处有效:可用%damage%代替伤害数值
|
||||
damage-display: '对末影龙的攻击伤害:%damage%'
|
||||
|
||||
#特殊末影龙成功掉落物品,但是击杀者背包已满时,显示给击杀者的提示
|
||||
player-inv-full: '§c您的背包没有空余格子,特殊末影龙战利品可能已掉落在您脚下'
|
||||
@@ -1,57 +0,0 @@
|
||||
version: 1.8.3
|
||||
|
||||
configNotFound: '§a[EnderDragon] File config.yml Not Found,Creating a new one...'
|
||||
dataNotFound: '§a[EnderDragon] File data.yml Not Found,Creating a new one...'
|
||||
messageNotFound: '§a[EnderDragon] File message.yml Not Found,Creating a new one...'
|
||||
configWrongVersion: '§c[EnderDragon] File config.yml out of date,please update it.'
|
||||
dataWrongVersion: '§c[EnderDragon] File data.yml out of date,please update it.'
|
||||
langWrongVersion: '§c[EnderDragon] language file out of date,please update it.'
|
||||
messageWrongVersion: '§c[EnderDragon] File message.yml out of date,please update it.'
|
||||
loaded: '§a[EnderDragon] Enabling the plugin...'
|
||||
checkingUpdate: '§a[EnderDragon] Checking update...'
|
||||
OutOfDate1: '§e[EnderDragon] Your version: v{0}'
|
||||
OutOfDate2: '§e[EnderDragon] New version: v{1}'
|
||||
OutOfDate3: '§e[EnderDragon] Download Link: https://www.spigotmc.org/resources/enderdragon.101583'
|
||||
UpToDate: '§a[EnderDragon] You are using the latest version (v{1})...'
|
||||
onDisable: '§e[EnderDragon] Disabling the plugin...'
|
||||
|
||||
NoCommandPermission: '§4Sorry,but you do not have permission to do that.'
|
||||
configReloaded: '§aConfig reload complete.'
|
||||
PlayerCommand: '§cOnly player can do this.'
|
||||
DropItemAddFail: '§cYour hand is empty!!Please hold something.'
|
||||
DropItemAddSucceed: '§aAdd succeed,drop-chance is §c{chance}%'
|
||||
MustNumber: '§cYou should enter a figure instead of this: '
|
||||
Number: '<amount>'
|
||||
DropChance: 'chance'
|
||||
ClearDropItemConfig: '§aDrop-item config has been cleared.'
|
||||
CommandTips1: '§e/ed reload §a reload the config'
|
||||
CommandTips2: '§e/ed drop §a set the drop-item'
|
||||
|
||||
prefix: '§7[§eEnderDragon§7]§r '
|
||||
|
||||
#message been sent to everyone when every dragon is respawned
|
||||
#You can use %times% to stand for the order number of dragon.
|
||||
#If you enter "none",noting will be sent.
|
||||
dragon-spawn-broadcast: '§aDragon No.%times% has spawned.'
|
||||
|
||||
#message been sent to everyone when a special dragon is respawned
|
||||
#You can shut it in config.yml.
|
||||
special-broadcast: '§6This dragon is emitting ancient mystery...'
|
||||
|
||||
#message been sent to everyone when every dragon is killed
|
||||
#You can use %times% to stand for the order number of dragon, and use %player% to stand for killer's name.
|
||||
#Plugin will judge killer intelligently,if plugin can't find the killer,%player% will be replaced by what is in 'nobody-kill'.
|
||||
dragon-killing-broadcast: '§bDragon No.%times% has been killed by %player%'
|
||||
|
||||
nobody-kill: 'mysterious man'
|
||||
|
||||
#message been sent to the killer of special dragon
|
||||
killer-message: '§6Congratulations!This dragon dropped lots of exp and a dragon egg'
|
||||
|
||||
#message been sent to the attacker if he or she is trying to hurt a dragon
|
||||
#You can use %damage% to stand for damage amount.
|
||||
damage-display: 'Damage amount to dragon : %damage%'
|
||||
|
||||
#message been sent to the killer of special dragon
|
||||
#called when special-ender-dragon drop item , but the inventory of the killer doesn't have empty slot.
|
||||
player-inv-full: '§cYour inventory is full,special drop-item maybe fell at your feet.'
|
||||
@@ -1,72 +0,0 @@
|
||||
package xanadu.enderdragon.lang;
|
||||
|
||||
import static xanadu.enderdragon.EnderDragon.lang;
|
||||
|
||||
public class Message {
|
||||
public static String configNotFound;
|
||||
public static String dataNotFound;
|
||||
public static String messageNotFound;
|
||||
public static String configWrongVersion;
|
||||
public static String dataWrongVersion;
|
||||
public static String langWrongVersion;
|
||||
public static String messageWrongVersion;
|
||||
public static String loaded;
|
||||
public static String checkingUpdate;
|
||||
public static String OutOfDate1;
|
||||
public static String OutOfDate2;
|
||||
public static String OutOfDate3;
|
||||
public static String UpToDate;
|
||||
public static String onDisable;
|
||||
public static String NoCommandPermission;
|
||||
public static String configReloaded;
|
||||
public static String PlayerCommand;
|
||||
public static String DropItemAddFail;
|
||||
public static String DropItemAddSucceed;
|
||||
public static String MustNumber;
|
||||
public static String Number;
|
||||
public static String DropChance;
|
||||
public static String ClearDropItemConfig;
|
||||
public static String CommandTips1;
|
||||
public static String CommandTips2;
|
||||
public static String DamageDisplay;
|
||||
public static String KillerMessage;
|
||||
public static String DragonKillingBroadcast;
|
||||
public static String NobodyKill;
|
||||
public static String PlayerInvFull;
|
||||
public static String DragonSpawnBroadcast;
|
||||
public static String SpecialBroadcast;
|
||||
public static void loadLanguage(){
|
||||
configNotFound = lang.getString("configNotFound","§a[EnderDragon] config.yml不存在, 已自动创建.");
|
||||
dataNotFound = lang.getString("dataNotFound","§a[EnderDragon] data.yml不存在, 已自动创建.");
|
||||
messageNotFound = lang.getString("messageNotFound","§a[EnderDragon] message.yml不存在, 已自动创建.");
|
||||
configWrongVersion = lang.getString("configWrongVersion","§c[EnderDragon] config.yml版本与插件不对应,请更新配置文件");
|
||||
dataWrongVersion = lang.getString("dataWrongVersion","§c[EnderDragon] data.yml版本与插件不对应,请更新配置文件");
|
||||
langWrongVersion = lang.getString("langWrongVersion","§c[EnderDragon] 语言文件版本与插件不对应,请更新语言文件");
|
||||
messageWrongVersion = lang.getString("messageWrongVersion","§c[EnderDragon] message.yml版本与插件不对应,请更新配置文件");
|
||||
loaded = lang.getString("loaded","§a[EnderDragon] 插件已加载");
|
||||
checkingUpdate = lang.getString("checkingUpdate","§a[EnderDragon] 正在为您检查更新...");
|
||||
OutOfDate1 = lang.getString("OutOfDate1","§e[EnderDragon] 您正在使用的插件版本: v{0}");
|
||||
OutOfDate2 = lang.getString("OutOfDate2","§e[EnderDragon] 检测到新版插件v{1}已发布,请尽快更新");
|
||||
OutOfDate3 = lang.getString("OutOfDate3","§e[EnderDragon] 下载地址:https://github.com/iXanadu13/EnderDragon/");
|
||||
UpToDate = lang.getString("UpToDate","§a[EnderDragon] 您正在使用最新版的插件(v{1})...");
|
||||
onDisable = lang.getString("onDisable","§e[EnderDragon] 插件已卸载");
|
||||
NoCommandPermission = lang.getString("NoCommandPermission","§4你没有使用该命令的权限");
|
||||
configReloaded = lang.getString("configReloaded","§a配置文件已重载");
|
||||
PlayerCommand = lang.getString("PlayerCommand","§c这个指令只能由玩家执行");
|
||||
DropItemAddFail = lang.getString("DropItemAddFail","§c添加掉落物失败,你手上没有拿物品...");
|
||||
DropItemAddSucceed = lang.getString("DropItemAddSucceed","§a掉落物添加成功,概率为: §c{chance}%");
|
||||
MustNumber = lang.getString("MustNumber","§c您应该输入数字而不是 ");
|
||||
Number = lang.getString("Number","数字");
|
||||
DropChance = lang.getString("DropChance","掉落概率");
|
||||
ClearDropItemConfig = lang.getString("ClearDropItemConfig","§a掉落物配置已清空");
|
||||
CommandTips1 = lang.getString("CommandTips1","§e/ed reload 重载配置文件");
|
||||
CommandTips2 = lang.getString("CommandTips2","§e/ed drop 特殊龙掉落物设置");
|
||||
DamageDisplay = lang.getString("damage-display","对末影龙的攻击伤害:%damage%");
|
||||
KillerMessage = lang.getString("killer-message","§6恭喜你,这条龙掉落了龙蛋和大量经验!");
|
||||
DragonKillingBroadcast = lang.getString("dragon-killing-broadcast","§b第 %times% 条末影龙已被 %player% 击杀");
|
||||
NobodyKill = lang.getString("nobody-kill","玩家远程");
|
||||
PlayerInvFull = lang.getString("player-inv-full","§c您的背包没有空余格子,特殊末影龙战利品可能已掉落在您脚下");
|
||||
DragonSpawnBroadcast = lang.getString("dragon-spawn-broadcast","§a第 %times% 条末影龙已被复活");
|
||||
SpecialBroadcast = lang.getString("special-broadcast","§6这条末影龙散发着神秘的气息...");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user