diff --git a/resources/config/v13/zh/config.yml b/resources/config/v13/zh/config.yml new file mode 100644 index 0000000..b750d3f --- /dev/null +++ b/resources/config/v13/zh/config.yml @@ -0,0 +1,453 @@ +# Brewery插件的配置文件 + +#翻译由Neubulae贡献, mcbbsID: 891215991 + +# -- 设置 -- +# 方框[]内的设定为默认设定 +# 移除某一行可以禁用该功能, 或者true为启用, false为禁用 + +# 语言文件(可在plugins/Brewery/languages下找到) +language: zh + +# 喝高了的下线玩家会在家里醒来(需要/home等功能支持)[true] +enableHome: true + +# 上述功能的回家方式: ['cmd: home'] +# bed = 会在床边醒来 +# 'cmd: home' = 强制让玩家执行/home. 需要设置好玩家权限, 以避免传送出现延迟. +# 'cmd: spawn' = 强制让玩家执行/spawn. +# 'cmd: 指定命令' = 强制让玩家执行该命令, 例如'cmd: warp xxx'等. +homeType: 'cmd: home' + +# 玩家醉酒以后下线一段时间醒来是否会在某些苏醒处醒来(苏醒处需要管理员通过'/brew Wakeup add'进行设定). +# 玩家将会在最近的两个苏醒处之一醒来.[true] +enableWake: true + +# 醉酒的玩家是否需要反复尝试登录才能进入服务器.[true] +enableLoginDisallow: true + +# 饮酒过量的玩家是否会晕倒一小段时间(即被暂时踢出服务器).[false] +enableKickOnOverdrink: false + +# 醉酒程度过高的玩家是否会呕吐(呕吐物在下面定义).[true] +# 物品无法被捡起, 直至消失. +enablePuke: true + +# 呕吐物[Soul_Sand] +pukeItem: Soul_Sand + +# 呕吐物消失的时间, 单位为秒(MC默认为300 = 5分钟)[60] +# 如果spigot.yml中的物品消失时间被变更, 此处也会变更. +pukeDespawntime: 60 + +# 解酒物/解酒强度. 降低玩家一定程度的醉酒程度, 解救强度为百分数.(下列) +drainItems: +- Bread/4 +- Milk_Bucket/2 + +# 最大玩家下线记忆时长(单位为天). 饮酒的记忆保持时间, 便于计算宿醉.[7] +hangoverDays: 7 + +# 饮品上是否显示带颜色的提示, 颜色由执行步骤的正误决定. 第一项为在熟成酒桶内显示颜色, 第二项为在酿造台内显示颜色.[true, true] +colorInBarrels: true +colorInBrewer: true + +# 大型熟成木桶可以通过右击桶身任意一个位置来打开, 而不需要专门右击其龙头. 这一操作对小型酒桶总为真.[true] +openLargeBarrelEverywhere: false + +# How many Brewery drinks can be put into the Minecraft barrels [6] +maxBrewsInMCBarrels: 6 + +# 是否检查更新.[true] +# 若有更新, 服务端后台与上线时的管理员会收到通知. +updateCheck: true + +# 自动保存时间间隔, 单位:分钟.[3] +autosave: 3 + +# 配置文件版本 +version: '1.8' + + +# -- 饮品配方列表 -- + +# name: 饮品名称, 可以为 劣质/普通/优质 三种质量的饮品命名(可插入样式代码, 如:&6). +# ingredients: 配方列表, 格式为"材料名称/数量". +# With an item in your hand, use /brew configname to get its material for use in a recipe +# (请勿使用物品ID, 物品ID已被弃用, 使用材料名称是唯一支持的做法.) +# 材料名称列表详见此处: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html (可能需要挂梯子进行浏览) +# cookingtime: 原料需要在炼药锅内烹制发酵的时间, 单位为现实分钟. +# distillruns: 饮品需要在酿造台上蒸馏的次数(0=无需蒸馏). +# distilltime: 每次蒸馏所需要耗费的时间(0=默认值, 即40秒), MC默认则为20秒/ +# wood: 木桶所需要的木质 0=任意 1=桦木 2=橡木 3=丛林木 4=云杉木 5=金合欢木 6=深色橡木 +# age: 饮品需要在木桶中熟成所需要的时间(MC天). 0=无需熟成. +# color: 饮品制成后的颜色. +# 可用颜色列表: +# DARK_RED(深红), RED(红), BRIGHT_RED(亮红), ORANGE(橙黄), PINK(粉色), BLUE(蓝色), CYAN(靛青), WATER(水色), GREEN(绿色), BLACK(黑色), GREY(灰色), BRIGHT_GREY(亮灰色) +# Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet) +# difficulty: 酿制难度, 1 = 不需要非常精确的操作就可以制出优质饮品, 10 = 需要非常精确的操作才可以制出优质饮品. +# alcohol: 完美质量的饮品所含有的酒精度(百分数, 会被直接添加到玩家身上, 100意为直接昏迷) +# effects: 饮用后能够获得的药效的列表. 格式为"药效/强度/时长(秒)". +# 药效列表: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html +# 药效强度与时长可以用"-"划分区间, 如: "SPEED/1-2/30-40" = 最劣质情况下的饮品会给予速度1三十秒, 最优质则会给予速度2四十秒. +# 区间可以从大到小, 如: "POISON/3-1/20-5"即可让优质饮品的毒性降低. +# 时长极限为1638秒. 药效强度极限为255级. 瞬间型药效无需附加时长. + +recipes: +# 例: + 0: + name: 劣质的 范例饮品/范例饮品/优质的 范例饮品 + ingredients: + - Sugar_Cane/5 + - Diamond/1 + - Cocoa_Beans/20 + - Spruce_Planks/8 + - Bedrock/1 + cookingtime: 3 + distillruns: 2 + distilltime: 60 + wood: 4 + age: 11 + color: DARK_RED + difficulty: 3 + alcohol: 23 + effects: + - FIRE_RESISTANCE/20 + - HEAL/1 + - WEAKNESS/2-3/50-60 + - POISON/1-0/20-0 + 1: + name: 劣质麦啤/麦啤/优质麦啤 + ingredients: + - Wheat/3 + cookingtime: 8 + distillruns: 0 + wood: 1 + age: 2 + color: BRIGHT_GREY + difficulty: 1 + alcohol: 5 + 2: + name: 劣质啤酒/啤酒/鲜啤 + ingredients: + - Wheat/6 + cookingtime: 8 + distillruns: 0 + wood: 0 + age: 3 + color: ORANGE + difficulty: 1 + alcohol: 6 + 3: + name: 劣质黑啤/黑啤/精制黑啤 + ingredients: + - Wheat/6 + cookingtime: 8 + distillruns: 0 + wood: 4 + age: 8 + color: BLACK + difficulty: 2 + alcohol: 7 + 4: + name: 粗制蜜酒/蜜酒/黄金蜜酒 + ingredients: + - Sugar_Cane/6 + cookingtime: 3 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 2 + alcohol: 9 + 5: + name: 苹果蜜酒/甜苹果蜜酒/甘醇黄金苹果蜜酒 + ingredients: + - Sugar_Cane/6 + - Apple/2 + cookingtime: 4 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 4 + alcohol: 12 + effects: + - WATER_BREATHING/1-2/150 + 6: + name: 苦涩的朗姆/辛辣的朗姆/金品朗姆 + ingredients: + - Sugar_Cane/14 + cookingtime: 5 + distillruns: 2 + distilltime: 30 + wood: 2 + age: 14 + color: DARK_RED + difficulty: 6 + alcohol: 30 + effects: + - FIRE_RESISTANCE/1/20-100 + - POISON/1-0/30-0 + 7: + name: 劣质伏特加/伏特加/纯正俄式风味伏特加 + ingredients: + - Potato/10 + cookingtime: 15 + distillruns: 3 + age: 0 + color: BRIGHT_GREY + difficulty: 4 + alcohol: 20 + effects: + - WEAKNESS/15 + - POISON/10 + 8: + name: 劣质苦艾酒/苦艾酒/劲猛苦艾酒 + ingredients: + - Grass/15 + cookingtime: 3 + distillruns: 6 + distilltime: 80 + color: GREEN + difficulty: 8 + alcohol: 45 + effects: + - POISON/20-30 + 9: + name: 土豆汤 + ingredients: + - Potato/5 + - Grass/3 + cookingtime: 3 + color: PINK + difficulty: 1 + effects: + - HEAL/0-1 + 10: + name: 平淡的咖啡/咖啡/浓苦黑咖 + ingredients: + - Cocoa_Beans/12 + - Milk_Bucket/2 + cookingtime: 2 + color: BLACK + difficulty: 3 + effects: + - REGENERATION/1/2-5 + - SPEED/1/30-140 + +# 未来可能加入的酒品配方: 卡沙夏酒, 琴酒, 威士忌, 特基拉酒, 果酒等. 并改进一些物品名称. +# 并不会直接加入到默认配置中, 这会导致游戏玩家偷看配方表进行作弊. +# 插件的本意是让玩家自行实验饮品制造配方, 所以未来的新配方由服管决定是否加入. + + + + +# cooked: 炼药锅中烹制发酵过后的液体名称, 由一个饮品中的第一个原料决定. +# [例] 原料名称: 烹制后的名称 + +cooked: + Wheat: 发酵麦汁 + Sugar_Cane: 糖浆 + Apple: 苹果汁 + Potato: 土豆泥 + Grass: 蒸煮过的药草 + Red_Mushroom: 蘑菇酿 + Cocoa_Beans: 上了色的水 + Milk_Bucket: 乳浊液体 + + + + +# -- 插件兼容性 -- + +# 检查插件以进行权限配置[true] +useWorldGuard: true +useLWC: true +useGriefPrevention: true + +# 对LogBlock启用方块数据录入[true] +useLogBlock: true + + +# -- 口糊设置 -- + +# 醉酒的玩家会口糊, +# 所以聊天框内打出来的东西也会跟着糊. +# 说话说不清的程度取决于玩家有多醉. +# 以下是设置以及具体的口糊方式的配置. + +# 打开聊天口糊功能[true] +enableChatDistortion: true + +# 在服务器后台登记玩家实际输入的内容, 而非口糊后的内容.[false] +logRealChat: false + +# 以下命令后跟随的语句会糊.[- /gl] +distortCommands: +- /gl +- /global +- /fl +- /s +- /letter +- /g +- /l +- /lokal +- /local +- /mail send +- /m +- /msg +- /w +- /whisper +- /reply +- /r +- /t +- /tell + +# 醉酒的时候写下的告示牌内容也会变化.[false] +distortSignText: false + +# 被以下设定字符框住的字眼不会被更改(请使用","(半角逗号)进行分隔) (列表) [- '[,]'] +# 例句: 我~喝~醉了 *但是这里面的话不会变哦!* +distortBypass: +- '*,*' +- '[,]' + +# words: 针对具体词句进行糊化. +# 糊化的执行优先级是表内从上到下. + +# replace: 被替换的字句. (特例: "-space": 替换空格, "-random": 在句子内随机插入, "-all": 整句话, "-start": 句首, "-end": 句末.) +# to: 替换成的内容. +# pre: 前置字眼, 即在被替换的词句前面需要出现的字眼(用","(半角逗号)分隔) +# match: true = 前置字眼必须出现其一, false = 前置字眼不能出现任意一个. +# alcohol: 词句被开始替换所需要的酒精度. +# percentage: 词句被替换的概率. + +words: +- replace: '!!!' + to: '!!!111!!!1111!1!' + pre: '!' + match: false + percentage: 20 + alcohol: 70 + +- replace: '!!!' + to: '!!!111!!!1111!1!' + pre: '!' + match: false + percentage: 20 + alcohol: 70 +- replace: '!' + to: '!!' + pre: '!' + match: false + percentage: 90 + +- replace: '?' + to: '????' + pre: '?' + match: false + percentage: 80 + alcohol: 40 + +- replace: '?' + to: '????' + pre: '?' + match: false + percentage: 80 + alcohol: 40 + +- replace: ',' + to: '' + pre: h,g,w + match: true + alcohol: 10 + +- replace: ',' + to: '' + pre: h,g,w + match: true + alcohol: 10 + +- replace: "." + to: '' + percentage: 30 + alcohol: 35 + +- replace: "。" + to: '' + percentage: 10 + +- replace: -start + to: 呃 + percentage: 15 + alcohol: 50 + +- replace: -start + to: 哼嗯 + percentage: 10 + alcohol: 50 + +- replace: -random + to: 噜 + percentage: 10 + +- replace: -random + to: 啦 + percentage: 10 + alcohol: 50 + +- replace: -random + to: 咕 + percentage: 20 + alcohol: 80 + +- replace: -random + to: 咯 + percentage: 40 + alcohol: 85 + +- replace: -random + to: 嘎 + percentage: 40 + alcohol: 80 + +- replace: -random + to: ' ' + percentage: 100 + alcohol: 70 + +- replace: -end + to: '!' + percentage: 40 + alcohol: 30 + +- replace: -random + to: '*嗝*' + percentage: 80 + alcohol: 70 + +- replace: -random + to: '*嗝*' + percentage: 15 + alcohol: 40 + +- replace: -space + to: '*嗝*' + percentage: 5 + alcohol: 20 + +- replace: -end + to: '*嗝*' + percentage: 70 + alcohol: 50 + +- replace: -all + to: '*嗝儿————*' + percentage: 3 + alcohol: 60 + +- replace: -all + to: '*嗝儿————*' + percentage: 6 + alcohol: 80 diff --git a/resources/languages/tw.yml b/resources/languages/tw.yml new file mode 100644 index 0000000..2deb7c8 --- /dev/null +++ b/resources/languages/tw.yml @@ -0,0 +1,101 @@ +# Brew +Brew_-times: 次 +Brew_BadPotion: 失敗的藥水 +Brew_BarrelRiped: 貯存陳化 +Brew_DistillUndefined: 無法確定的蒸餾 +Brew_Distilled: 蒸餾 +Brew_HundredsOfYears: 數百年 +Brew_Ingredients: 配料 +Brew_MinutePluralPostfix: 的 +Brew_OneYear: 1年 +Brew_ThickBrew: 混濁的釀造 +Brew_Undefined: 無法確定的釀造 +Brew_Woodtype: 木材質 +Brew_Years: 年 +Brew_fermented: 發酵 +Brew_minute: 分鐘 + +# CMD +CMD_CopyNotPersistent: '&e這個釀造的副本不會持久或靜態!' +CMD_Copy_Error: '&6&v1 &c藥水不適合你的庫存' +CMD_Info_Drunk: '&v1 是 &6&v2% &f醉酒,酒的品質為 &6&v3' +CMD_Info_NotDrunk: '&v1 沒有醉酒' +CMD_NonStatic: '&e藥水不再是靜止的,會在桶木中老化.' +CMD_PersistRemove: '&c無法從數據庫中刪除持久性釀造.它會使任何副本無用!' +CMD_Persistent: '&a藥水現在是持久性和靜態,現在可以像任何其他項一樣被複製.您可以使用相同的命令刪除持久性.' +CMD_Player: '&a&v1 現在是 &6&v2% &a醉酒,酒的品質為 &6&v3' +CMD_Player_Error: '&c酒的品質必須在1到10之間!' +CMD_Reload: '&a設定檔已成功重新加載' +CMD_Configname: '&aName for the Config is: &f&v1' +CMD_Configname_Error: '&cCould not find item in your hand' +CMD_Static: '&a藥水現在是靜止的,不會在桶或釀造台上變化.' +CMD_UnLabel: '&a標籤已刪除!' +CMD_UnPersist: '&a持久性和靜態刪除.&e每個隱藏的副本都不用''/brew copy'',現在可能變得無用了!' + +# Error +Error_ConfigUpdate: '未知 釀酒 設定檔版本: v&v1,設定檔沒有更新!' +Error_ItemNotPotion: '&c你手上的物品不能確定為藥水' +Error_NoBarrelAccess: '&c你沒有權限存取!' +Error_NoBrewName: '&c沒有這個配方: ''&v1&c'' 找到!' +Error_NoPermissions: '&c你沒有權限這樣做!' +Error_PersistStatic: '&c持久藥水總是靜止的!' +Error_PlayerCommand: '&c這個指令只能由玩家執行!' +Error_Recipeload: '&c並非所有配方都可以有用:服務器日誌中的更多信息!' +Error_ShowHelp: 使用 &6/brew help &f顯示幫助 +Error_UnknownCommand: 未知的指令 + +# Etc +Etc_Barrel: 釀造桶 +Etc_Page: 頁數 +Etc_Usage: '用法:' + +# Help +Help_Copy: '&6/brew copy [數量]&9 複製手中的藥水' +Help_Create: '&6/brew create <配方> [數量] [玩家] &9創建具有可選酒的品質釀造(1-10)' +Help_Delete: '&6/brew delete &9刪除你手中的藥水' +Help_Help: '&6/brew help [頁數] &9顯示幫助的頁面' +Help_Info: '&6/brew info&9 顯示您當前的醉酒和酒的品質' +Help_InfoOther: '&6/brew info [玩家]&9 顯示 [玩家] 當前醉酒程度和酒的品質程度' +Help_Persist: '&6/brew persist &9使釀造持久化 - >可通過任何插件和技術進行複制' +Help_Player: '&6/brew <玩家> <%醉酒> [數量]&9 設置玩家的醉酒度(和酒的品質)' +Help_Reload: '&6/brew reload &9重新加載設定檔' +Help_Configname: '&6/brew configname &9Display name of item in hand for the config' +Help_Static: '&6/brew static &9使釀造靜止 - >不再進一步老化或蒸餾' +Help_UnLabel: '&6/brew unlabel &9刪除藥水的詳細標籤' +Help_Wakeup: '&6/brew wakeup list <頁數>&9 列出所有喚醒點' +Help_WakeupAdd: '&6/brew wakeup add &9在當前位置添加喚醒點' +Help_WakeupCheck: '&6/brew wakeup check &9傳送到所有喚醒點' +Help_WakeupCheckSpecific: '&6/brew wakeup check &9使用傳送到喚醒點' +Help_WakeupList: '&6/brew wakeup list <頁數> [World]&9 列出的所有喚醒點' +Help_WakeupRemove: '&6/brew wakeup remove &9使用刪除喚醒點' + +# Perms +Perms_NoBarrelCreate: '&c您沒有權限創建釀造桶!' +Perms_NoBigBarrelCreate: '&c你沒有權限創建大釀造桶!' +Perms_NoCauldronFill: '&c你沒有權利從這個鍋釜裡裝滿瓶子!' +Perms_NoCauldronInsert: '&c您無權將材料放入鍋釜中!' +Perms_NoSmallBarrelCreate: '&c您無權創建小釀造桶!' + +# Player +Player_BarrelCreated: 創造釀造桶 +Player_BarrelFull: '&cThis barrel can''t hold any more drinks' +Player_CantDrink: 你不能飲更多了. +Player_CauldronInfo1: 這個鍋釜煮了 &v1 分鐘. +Player_CauldronInfo2: 這個鍋釜剛開始沸騰. +Player_DrunkPassOut: 你喝得太多,昏倒了. +Player_LoginDeny: 你試圖登錄,但是你飲得太醉了,無法找到服務器.再試一次! +Player_LoginDenyLong: 你的角色真的喝醉了,已經昏倒了.10分鐘後再試一次! +Player_TriedToSay: '&v1 試圖說: &0&v2' +Player_Wake: 不好了!我不記得我是怎麼來到這裡的...... +Player_WakeAlreadyDeleted: '&c這個喚醒點 id: &6&v1 &chas 已被刪除!' +Player_WakeCancel: '&6喚醒點檢查被取消' +Player_WakeCreated: '&a這個喚醒點 id: &6&v1 &a成功創建!' +Player_WakeDeleted: '&a這個喚醒點 id: &6&v1 &a成功刪除!' +Player_WakeFilled: '&c這個喚醒點 id: &6&v1&c 在位置 &6&v2 &v3, &v4, &v5&c 充滿了方塊!' +Player_WakeHint1: '到下一個喚醒點:把拳頭打在空中' +Player_WakeHint2: '取消: &9/br wakeup cancel' +Player_WakeLast: '&a這是最後一個喚醒點' +Player_WakeNoCheck: '&c目前沒有喚醒點是處於活動狀態' +Player_WakeNoPoints: '&c沒有喚醒點!' +Player_WakeNotExist: '&c這個喚醒點 id: &6&v1 &c不存在!' +Player_WakeTeleport: '傳送到這個喚醒點 id: &6&v1&f 在位置: &6&v2 &v3, &v4, &v5' diff --git a/resources/languages/zh.yml b/resources/languages/zh.yml new file mode 100644 index 0000000..5c56704 --- /dev/null +++ b/resources/languages/zh.yml @@ -0,0 +1,101 @@ +# Brew +Brew_-times: 次 +Brew_BadPotion: 酿坏了的废液 +Brew_BarrelRiped: 木桶熟成 +Brew_DistillUndefined: 未名蒸馏液 +Brew_Distilled: 蒸馏 +Brew_HundredsOfYears: 百年陈酿 +Brew_Ingredients: 原料 +Brew_MinutePluralPostfix: '' +Brew_OneYear: 一年 +Brew_ThickBrew: 一滩烂糊 +Brew_Undefined: 未名酿制品 +Brew_Woodtype: 木头种类 +Brew_Years: 年 +Brew_fermented: 炖煮发酵 +Brew_minute: 分钟 + +# CMD +CMD_CopyNotPersistent: '&e复制饮品的数据并未静滞或固定! 请多加注意!' +CMD_Copy_Error: '&6&v1&r, &c你的背包塞不下了.' +CMD_Info_Drunk: '&v1醉酒程度为&6&v2%&f, 醉酒质量为&6&v3.' +CMD_Info_NotDrunk: '&v1没醉.' +CMD_NonStatic: '&e饮品已被取消静滞, 现在可以正常地进行蒸馏或进行木桶熟成了.' +CMD_PersistRemove: '&c当前饮品的数据已被固定, 无法从数据库中移除, 否则将使得任何该饮品的复制品无效!' +CMD_Persistent: '&a当前饮品的数据已被固定. 现在你可以正常地对该饮品进行复制. 再执行一次该命令将会撤销固定.' +CMD_Player: '&a&v1醉酒程度为&6&v2%&f, 醉酒质量为&6&v3.' +CMD_Player_Error: '&c醉酒质量必须在1到10之间.' +CMD_Reload: '&a配置文件重载成功.' +CMD_Configname: '&aName for the Config is: &f&v1' +CMD_Configname_Error: '&cCould not find item in your hand' +CMD_Static: '&a饮品已被静滞, 现在其无法被蒸馏或进行木桶熟成.' +CMD_UnLabel: '&a标签已被去除!' +CMD_UnPersist: '&a当前饮品的数据已被撤销固定, 通过非指令方式(/brew copy)复制的饮品将可能无效!' + +# Error +Error_ConfigUpdate: '未知的配置版本:v&v1, 插件配置未更新!' +Error_ItemNotPotion: '&c你手上的物品并未成功地被认定为饮品!' +Error_NoBarrelAccess: '&c你没有权限与该木桶互动!' +Error_NoBrewName: '&c未找到名字为''&v1&c''的饮品!' +Error_NoPermissions: '&c你没有权限这样做.' +Error_PersistStatic: '&c数据固定的饮品一定是静滞化饮品!' +Error_PlayerCommand: '&c该命令必须由玩家执行.' +Error_Recipeload: '&c加载饮品配方时出现问题, 请查看控制台以获得详细信息!' +Error_ShowHelp: 使用&6/brew help&f以查看帮助 +Error_UnknownCommand: 未知命令. + +# Etc +Etc_Barrel: 木桶 +Etc_Page: 页 +Etc_Usage: '用途:' + +# Help +Help_Copy: '&6/brew copy [数量] &9复制当前手中的饮品.' +Help_Create: '&6/brew create <饮品名称(若有颜色符号须附上)> [饮品质量] [授予玩家] &9获得一杯饮品, 质量可为1到10, 越高越好.' +Help_Delete: '&6/brew delete &9删除手中的饮品.' +Help_Help: '&6/brew help [页数] &9显示某一页的帮助.' +Help_Info: '&6/brew info &9显示你目前的醉酒程度与质量, 醉酒质量将会影响宿醉程度.' +Help_InfoOther: '&6/brew info [指定玩家] &9显示指定玩家目前的醉酒程度与质量.' +Help_Persist: '&6/brew persist &9将手中的饮品数据固定在服务端, 这将允许其被任何手段复制并饮用而不影响原饮品本体.' +Help_Player: '&6/brew <目标玩家> <%醉酒程度> [醉酒质量] &9设定目标玩家的醉酒程度与质量.' +Help_Reload: '&6/brew reload &9重载插件配置, 可用以重载饮品配方.' +Help_Configname: '&6/brew configname &9Display name of item in hand for the config' +Help_Static: '&6/brew static &9将手中饮品静滞化, 这将阻止其被蒸馏或继续熟成.' +Help_UnLabel: '&6/brew unlabel &9去除饮品的附加信息.' +Help_Wakeup: '&6/brew wakeup list <页数> &9列出所有的苏醒处, 醉酒后下线的玩家再上线可能会在这些地方醒来.' +Help_WakeupAdd: '&6/brew wakeup add &9添加苏醒处.' +Help_WakeupCheck: '&6/brew wakeup check &9传送至每一个苏醒处进行一一检查.' +Help_WakeupCheckSpecific: '&6/brew wakeup check &9传送至指定苏醒处.' +Help_WakeupList: '&6/brew wakeup list <页数> [世界] &9列出该世界所有的苏醒处.' +Help_WakeupRemove: '&6/brew wakeup remove <页数> &9移除指定id的苏醒处.' + +# Perms +Perms_NoBarrelCreate: '&c你没有权限创造木桶!' +Perms_NoBigBarrelCreate: '&c你没有权限创造大型木桶!' +Perms_NoCauldronFill: '&c你没有权限从这口锅中取用液体!' +Perms_NoCauldronInsert: '&c你没有权限将原料放入这口锅!' +Perms_NoSmallBarrelCreate: '&c你没有权限创造小型木桶!' + +# Player +Player_BarrelCreated: 木桶已创建. +Player_BarrelFull: '&cThis barrel can''t hold any more drinks' +Player_CantDrink: 你不能再喝了. +Player_CauldronInfo1: 这口锅已经炖了&v1分钟了. +Player_CauldronInfo2: 这口锅才刚刚烧开. +Player_DrunkPassOut: 你喝高了, 晕了过去. +Player_LoginDeny: 你的角色试图登入服务器, 可惜的是他晕得找不着北, 再试一次? +Player_LoginDenyLong: 你的角色喝到不省人事, 昏倒在地, 十分钟后再尝试登录吧! +Player_TriedToSay: '&v1试图说出: &0&v2' +Player_Wake: 淦, 我怎么到的这儿...? +Player_WakeAlreadyDeleted: '&cid为: &6&v1 &c的苏醒处已被删除!' +Player_WakeCancel: '&6苏醒处检查已被取消.' +Player_WakeCreated: '&aid为: &6&v1 &a的苏醒处被成功创建!' +Player_WakeDeleted: '&aid为: &6&v1 &a的苏醒处被成功删除!' +Player_WakeFilled: '&cid为: &6&v1 &c所在方位为: &6&v2 &v3, &v4, &v5 &c被填充了方块!' +Player_WakeHint1: '前往下一个苏醒处, 请对空打拳.' +Player_WakeHint2: '取消检查: &9/br wakeup cancel' +Player_WakeLast: '&a这是最后一个苏醒处了.' +Player_WakeNoCheck: '&c目前没有执行苏醒处检查.' +Player_WakeNoPoints: '&c目前没有设定任何一个苏醒处!' +Player_WakeNotExist: '&cid为: &6&v1 &c的苏醒处并不存在!' +Player_WakeTeleport: '前往id为: &6&v1 &f坐标为: &6&v2 &v3, &v4, &v5 &r的苏醒处.' diff --git a/src/com/dre/brewery/P.java b/src/com/dre/brewery/P.java index 58e325f..f891907 100644 --- a/src/com/dre/brewery/P.java +++ b/src/com/dre/brewery/P.java @@ -716,13 +716,15 @@ public class P extends JavaPlugin { private void copyDefaultConfigs(boolean overwrite) { File configs = new File(getDataFolder(), "configs"); File languages = new File(getDataFolder(), "languages"); - for (String l : new String[] {"de", "en", "fr", "it"}) { + for (String l : new String[] {"de", "en", "fr", "it", "zh", "tw"}) { File lfold = new File(configs, l); try { Util.saveFile(getResource("config/" + (use1_13 ? "v13/" : "v12/") + l + "/config.yml"), lfold, "config.yml", overwrite); Util.saveFile(getResource("languages/" + l + ".yml"), languages, l + ".yml", false); // Never overwrite languages for now } catch (IOException e) { - e.printStackTrace(); + if (!(l.equals("zh") || l.equals("tw"))) { + e.printStackTrace(); + } } } }