Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
release v2.40
Browse files Browse the repository at this point in the history
  • Loading branch information
Redbeanw44602 committed Oct 4, 2021
1 parent 6b4d6a2 commit 9c77704
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 37 deletions.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
> Version **2.40**
- [x] 添加语言包各种功能`land language ~`
- [x] 移除OPLMgr中的语言功能
- [x] 修改选点提示方式,改为Title持续提示
- [x] 修复Place相关问题(useitem..
- [x] 拆分凋零破坏与玩家破坏
Expand Down
6 changes: 3 additions & 3 deletions iland-core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
--]] ------------------------------------------------------

plugin_version = '2.31'
plugin_version = '2.40'
DEV_MODE = true

langVer = 231
langVer = 240
minLXLVer = {0,5,6}

json = require('dkjson')
Expand Down Expand Up @@ -3835,7 +3835,7 @@ mc.listen('onServerStarted',function()
perm.allow_entity_destroy=false
perm.useitem=false
end
-- ILAPI.save({1,1,0})
ILAPI.save({1,1,0})
end
end

Expand Down
2 changes: 1 addition & 1 deletion iland/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 230,
"version": 240,
"update_check": true,
"manager": {
"default_language": "zh_CN",
Expand Down
77 changes: 59 additions & 18 deletions iland/lang/en_US.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"VERSION": 231,
"#1": "en_US Translation Contributor: Google Translate",
"VERSION": 240,
"#1": "zh_CN Standard Chinese Translation Contributor: RedbeanW",

"gui.land.title": "Land v<a>",
"gui.oplandmgr.trsland.title": "Forced Transfer Territory",
Expand Down Expand Up @@ -29,8 +29,6 @@
"gui.general.plzchose": "Please select",

"gui.landmgr.landinfo.content": "Owner: <a>\\nLandID: <b>\\nnickname: <c>\\n range: §l<d>§r <e> <f> -> <g>\\nLength/Width/Height: <h>/<i>/<j>\\nBottom area: <k> Square grid volume: <l> Cubic grid",
"gui.landmgr.content": "Welcome to land manager",
"gui.landmgr.ctplus": "\nYou are now on §l<a>§r",
"gui.landmgr.unnamed": "Unnamed",
"gui.landmgr.unmodified": "Unmodified",
"gui.landmgr.options.landinfo": "View Territory Information",
Expand All @@ -40,6 +38,7 @@
"gui.landmgr.options.landtag": "Edit territory nickname",
"gui.landmgr.options.landdescribe": "Edit Territory Notes",
"gui.landmgr.options.landtransfer": "Territory Transfer",
"gui.landmgr.options.reselectrange": "Reenclosure (retain data)",
"gui.landmgr.options.delland": "Delete Territory",
"gui.landmgr.select": "Select the territory to manage",
"gui.landmgr.landperm.basic_options": "§lBasic permissions",
Expand All @@ -48,6 +47,7 @@
"gui.landmgr.landperm.other_options": "§lOther behaviors",
"gui.landmgr.landperm.basic_options.place": "Blocks are allowed to be placed",
"gui.landmgr.landperm.basic_options.destroy": "Blocks are allowed to be destroyed",
"gui.landmgr.landperm.basic_options.entity_destroy": "Allow creatures to destroy blocks (wither)",
"gui.landmgr.landperm.basic_options.dropitem": "Allow drop items",
"gui.landmgr.landperm.basic_options.attack_player": "Allow to attack the player",
"gui.landmgr.landperm.basic_options.attack_animal": "Attack to peaceful creatures is allowed",
Expand All @@ -70,6 +70,7 @@
"gui.landmgr.landperm.funcblock_options.loom": "Loom is allowed",
"gui.landmgr.landperm.funcblock_options.beacon": "Allow operation of beacon",
"gui.landmgr.landperm.funcblock_options.stonecutter": "Stone cutter is allowed",
"gui.landmgr.landperm.funcblock_options.lectern": "Allow to operate the platform",
"gui.landmgr.landperm.contblock_options.barrel": "Allow barrel opening",
"gui.landmgr.landperm.contblock_options.hopper": "Allow to open the funnel",
"gui.landmgr.landperm.contblock_options.dropper": "Allow to open the dropper",
Expand All @@ -92,9 +93,10 @@
"gui.landmgr.landperm.other_options.button": "Allow button press",
"gui.landmgr.landperm.other_options.pressure_plate": "It is allowed to step on the pressure plate",
"gui.landmgr.landperm.other_options.throw_potion": "Potion throwing allowed",
"gui.landmgr.landperm.other_options.respawn_anchor": "Allow use of respawn anchor",
"gui.landmgr.landperm.other_options.respawn_anchor": "Allow use of rebirth anchor",
"gui.landmgr.landperm.other_options.fishing": "Allow the use of fishing rods",
"gui.landmgr.landperm.other_options.bucket": "Allow the use of buckets",
"gui.landmgr.landperm.other_options.useitem": "§lSpecial§r Prohibits all UseItem behaviors, which solves the problem of imperfect placement permissions to a certain extent, but it will also cause some container controls to become invalid, and at the same time cause most container classes /Use class permission directly close, open it carefully, this permission will be removed when there is a better solution to the Place problem.",
"gui.landmgr.landperm.editevent": "Control the events that can occur in (near) the territory, please move to the territory setting tab.",

"gui.fastlmgr.title": "Fast LMgr",
Expand Down Expand Up @@ -127,8 +129,6 @@
"gui.oplandmgr.economy.calculation_3D": "Price calculation method (3D)",
"gui.oplandmgr.economy.calculation_2D": "Price calculation method (two-dimensional)",
"gui.oplandmgr.economy.price": "Price Value",
"gui.oplandmgr.i18n": "§lLanguage Settings",
"gui.oplandmgr.i18n.default": "Default Language",
"gui.oplandmgr.features": "§lFunction Switch",
"gui.oplandmgr.features.landsign": "Territory Tips",
"gui.oplandmgr.features.particles": "Particle Special Effects",
Expand Down Expand Up @@ -185,7 +185,13 @@
"gui.landtrust.rmsuccess": "Removed from the trust list",
"gui.landtag.tip": "The territory nickname helps you distinguish multiple territories without changing the original territory configuration",
"gui.landtransfer.tip": "After the domain transfer is completed, all permissions will be transferred. You are no longer the owner of the domain, but all the configurations of the original domain will not be changed.",

"gui.reselectland.title": "Reselect land area",
"gui.reselectland.tip": "Reenclosure is a complete reselection of the territory, indirectly expanding/reducing the scope of the existing territory. \\nThe price calculation method for the reselection is \\\" the price of the new range-the old range Value \\\", do you want to continue?",
"gui.reselectland.transferDimension": "Select the territory dimension of the new range",
"gui.reselectland.content": "Original territory range (<a>) value: <b>, \\n current territory range (<c>) value: <d>, \\n will <e>you<f ><g>.",
"gui.reselectland.refund": "Refund to",
"gui.reselectland.pay": "Receive",

"gui.landcfg.tip": "Operate the territory function switch here",
"gui.landcfg.landsign": "§lLandSign",
"gui.landcfg.landsign.tome": "Prompt when the master enters",
Expand All @@ -197,7 +203,7 @@
"gui.landcfg.inside.piston_push": "Allow piston push",
"gui.landcfg.inside.fire_spread": "Allow flame to spread",
"gui.landcfg.nearby": "§lNearby Events",
"gui.landtp.point": "Successfully set location [<a>] as territory <b> The transfer point. ",
"gui.landtp.point": "Successfully set the location [<a>] as the teleport point of the territory <b>.",
"gui.landtp.tip": "Please select the target territory to teleport",
"gui.landtp.trusted": "Trusted",

Expand All @@ -212,20 +218,22 @@
"gui.playerselector.back": "Previous page",
"gui.playerselector.num": "Page <a>",

"title.selectrange.mode": "[Enclosure Mode]",
"title.selectrange.spointa": "Please hold <a>, click the square or use /land a to select the first point.",
"title.selectrange.spointb": "Please hold <a>, click the square or use /land b to select the second point.",
"title.selectrange.failbydim": "Sorry, the administrator has turned off the enclosure function for this dimension.",
"title.selectrange.failbystep": "The operation failed! Please follow the steps to enclose the land!",
"title.selectrange.failbycdim": "Failed to select points! It is forbidden to select points across latitudes!",
"title.selectrange.spointa": "Please hold <a>, click the square or use /land a to select the first point.",
"title.selectrange.spointb": "Please hold <a>, click the square or use /land b to select the second point.",
"title.selectrange.bebuy": "Please hold <a>, use /land buy or click any square again to create an order.",
"title.selectrange.seled": "Point <a> selected: <b> (<c>, <d>, <e>)",
"title.selectrange.nople": "You have a large enclosure. To avoid server lag, the particle effects have been temporarily disabled.",
"title.reselectland.complete": "Please hold <a>, and click any square again to complete the selection.",
"title.land.nolicense": "Please use /land new to request to create a new territory",
"title.getlicense.alreadyexists": "Please do not repeat the request!!\n",
"title.getlicense.succeed": "A new territory has been requested\n",
"title.getlicense.limit": "Do you think the local owner? The proletariat cannot have so much land.",
"title.buyland.moneynotenough": "Insufficient balance!\n",
"title.buyland.ordersaved": "Your domain purchase order has been temporarily saved, you can hold <a> and click the ground again to call out the order\nto abandon this purchase, please use\"/land giveup\"",
"title.buyland.ordersaved": "Your domain purchase order has been temporarily saved, you can hold <a> and click the ground again to call out the order\nto abandon this purchase, please use\"/land giveup\"",
"title.buyland.succeed": "Successful purchase!\nRegistration is being registered for you...",
"title.land.deleted": "<a> has been deleted",
"title.landtransfer.toomanyids": "It is not possible to transfer land to more than one person",
Expand All @@ -235,9 +243,11 @@
"title.oplandmgr.transfered": "Transferred to <a>",
"title.oplandmgr.setselectool": "Please hold the enclosure tool you want to select to destroy the block",
"title.oplandmgr.setsuccess": "Success! Selected <a> as enclosure tool",
"title.landmgr.failed": "You don't have a land yet, use \"/land new\" to start creating one!",
"title.landmgr.failed": "There is no land to manage. Use \"/land new\" to create one!",
"title.giveup.succeed": "License has been abandoned",
"title.giveup.failed": "There is no enclosure permit to give up",
"title.reselectland.giveup.succeed": "Re-enclosure has been cancelled",
"title.reselectland.succeed": "Selected successfully! The new territory area has taken effect.",
"title.createorder.toobig": "The enclosing territory is too big, please enclose it again.\n",
"title.createorder.toosmall": "The enclosing territory is too small, please enclose it again.\n",
"title.createorder.toolow": "Three-dimensional enclosure, at least four grids in height.\n",
Expand All @@ -247,11 +257,13 @@
"title.landlimit.nearby": "The operation is cancelled because it is too close to another person's territory",
"title.landtp.fail.noland": "You need to stand on the territory first",
"title.landtp.fail.notowner": "You are not the owner of this land",
"title.landtp.removed": "The teleportation point in this territory has been removed",
"title.landsign.ownenrbuttom": "Landsign <a>",
"title.landsign.visitorbuttom": "This is the territory of <a>",
"title.landtp.failbysame": "This territory has not yet set a teleportation point",
"title.landtp.plzset": "Please use /land point set first.",
"title.landtp.safetp": "The target teleport point may cause suffocation and has stopped teleporting.",
"title.landtp.plzset": "Please use /land tp set first.",
"title.landtp.safetp": "The target teleportation point may cause suffocation and has stopped teleporting.",
"title.landtp.safeset": "Cannot set the target teleport point because it may cause suffocation.",

"sign.listener.ownertitle": "<a>",
"sign.listener.ownersubtitle": "Welcome back",
Expand Down Expand Up @@ -279,7 +291,8 @@
"command.land_b": "Select the second point",
"command.land_buy": "Buy the selected territory",
"command.land_tp": "Teleport to Territory",
"command.land_point": "Set Territory Teleport Point",
"command.land_tp_set": "Set Territory Teleportation Point",
"command.land_tp_rm": "Delete Territory Teleporter",
"command.land_mgr": "Open the OP Land console interface",
"command.land_mgr_selectool": "Select Enclosure Tool",
"command.land_mgr.noperm": "§eThis command is exclusive to the domain administrator, please use §l/land op \"<a>\"§r§e to add yourself as a domain administrator in the console." ,
Expand All @@ -290,13 +303,16 @@
"command.console.land_deop": "Delete Realm Administrator",
"command.console.land_test": "Run Land Performance Test",
"command.console.land_update": "Upgrade iLand",
"command.console.land_language": "Internationalization related",
"command.console.land_language_install": "Installation Language",

"console.landop.add.success": "Successfully added <a> (<b>) as a territory administrator.",
"console.landop.add.failbyexist": "Player <a> is already a realm administrator.",
"console.landop.del.success": "<a>(<b>) has been removed from the list of domain administrators.",
"console.landop.del.failbynull": "The player <a> is not a domain administrator.",
"console.landop.failbyxuid": "Cannot find the XUID information of <a>. Please re-enter the server or check the case and try again.",

"console.update.nodata": "No data, you need to enable update detection before you can use this command.",
"console.update.preview": "Using the unpublished version <a>.",
"console.update.newversion": "Get the new version <a>, you can use /land update to update automatically!",
"console.update.newcontent": "Update content:",
Expand All @@ -308,14 +324,39 @@
"console.autoupdate.start": "Starting automatic update...",
"console.autoupdate.alreadylatest": "Update stopped because it is already the latest version (<a>).",
"console.autoupdate.download": "Downloading... ",
"console.autoupdate.errorbydown": "Failed to download file <a>, error code: <b>. Please check your network or report the problem, the update has been interrupted.",
"console.autoupdate.errorbydown": "Failed to download file <a>, error code: <b>. Please check your network or feedback the problem, the update has been interrupted.",
"console.autoupdate.recoverbackup": "The backup has been restored, and the old version of iLand is being used.",
"console.autoupdate.errorbyverify": "The verification of the file <a> failed. Please check your network or report the problem. The update has been interrupted.",
"console.autoupdate.success": "Automatic update has been completed, restart the server to take effect.",

"console.getonline.failbycode": "Failed to obtain networking information, error code: <a>.",
"console.getonline.failed": "Failed to obtain network information.",
"console.getonline.failbyver": "The online information file version (<a>) that cannot be parsed. Your iLand may be out of date.",

"console.languages.sign": "This server is using <a> language, version: <b>.",
"console.languages.set.misspara": "Missing parameter, example: \"/land language set zh_CN\"",
"console.languages.set.succeed": "Set successfully, the language of the plug-in has been updated to: <a>",
"console.languages.set.nofile": "Cannot find the language (<a>), use \"/land language list\" to view the language installed on the server.",
"console.languages.list.count": "Installed languages: <a> pcs",
"console.languages.list-online.wait": "Please wait, we are getting language warehouse data...",
"console.languages.official": "Officially provided languages:",
"console.languages.3rd": "Language provided by the third party:",
"console.languages.install.misspara": "Missing parameters, example: \"/land language install vi_VN\"",
"console.languages.install.existed": "The language has been installed, if you need to update, please use \"/land language update\"",
"console.languages.install.notfound": "The language to be installed was not found \"<a>\", please use \"/land list-online\" to list all installable languages.",
"console.languages.install.statfail": "An error occurred while downloading language <a>, the error code is: <b>, the installation process has been interrupted.",
"console.languages.install.verifyfail": "An error occurred while verifying language <a>, MD5 does not match, and the installation process has been interrupted.",
"console.languages.install.versionfail": "The language <a> being installed does not match the currently running iLand version (<b>!=<c>), the installation process has been interrupted.",
"console.languages.install.succeed": "Language <a> is installed successfully! Please use \"/land language set <a>\" to set the language used.",
"console.languages.update.alreadylatest": "This language version is already up to date, no need to upgrade.",
"console.languages.update.notfound": "Language <a> not found, please try to install this language with \"land language install <a>\".",
"console.languages.update.notfoundonline": "Language <a> was not found on the server. Maybe it has not been included. The update is aborted.",
"console.languages.update.succeed": "Language <a> has been successfully upgraded!",
"console.languages.update.all": "Starting to upgrade all languages...",
"console.languages.update.single": "Starting to upgrade the language <a> ...",

"console.error.money.protocol": "Unknown economic component'<a>' is being used.",
"console.error.money.scorenull": "The scoreboard object cannot be accessed. The corresponding economic scoreboard may not exist. Please use /land mgr to change to the correct scoreboard or try to restart the server."
"console.error.money.scorenull": "The scoreboard object cannot be accessed. The corresponding economic scoreboard may not exist. Please use /land mgr to change to the correct scoreboard or try to restart the server.",
"console.error.readowner.xuid": "Unrecognized XUID (<a>), the player does not exist in the XUID database, skip reading.",
"console.error.readowner.tipxid": "Try using \"land repair 1\" to delete invalid players, or make players re-enter the server to make XUID database records."
}
2 changes: 1 addition & 1 deletion iland/lang/zh_CN.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION": 231,
"VERSION": 240,
"#1": "zh_CN 标准汉语翻译贡献者:RedbeanW",

"gui.land.title": "Land v<a>",
Expand Down
Loading

0 comments on commit 9c77704

Please sign in to comment.