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

Commit 9c77704

Browse files
committed
release v2.40
1 parent 6b4d6a2 commit 9c77704

File tree

6 files changed

+120
-37
lines changed

6 files changed

+120
-37
lines changed

TODO.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
> Version **2.40**
22
- [x] 添加语言包各种功能`land language ~`
3+
- [x] 移除OPLMgr中的语言功能
34
- [x] 修改选点提示方式,改为Title持续提示
45
- [x] 修复Place相关问题(useitem..
56
- [x] 拆分凋零破坏与玩家破坏

iland-core.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
1313
--]] ------------------------------------------------------
1414

15-
plugin_version = '2.31'
15+
plugin_version = '2.40'
1616
DEV_MODE = true
1717

18-
langVer = 231
18+
langVer = 240
1919
minLXLVer = {0,5,6}
2020

2121
json = require('dkjson')
@@ -3835,7 +3835,7 @@ mc.listen('onServerStarted',function()
38353835
perm.allow_entity_destroy=false
38363836
perm.useitem=false
38373837
end
3838-
-- ILAPI.save({1,1,0})
3838+
ILAPI.save({1,1,0})
38393839
end
38403840
end
38413841

iland/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 230,
2+
"version": 240,
33
"update_check": true,
44
"manager": {
55
"default_language": "zh_CN",

iland/lang/en_US.json

+59-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"VERSION": 231,
3-
"#1": "en_US Translation Contributor: Google Translate",
2+
"VERSION": 240,
3+
"#1": "zh_CN Standard Chinese Translation Contributor: RedbeanW",
44

55
"gui.land.title": "Land v<a>",
66
"gui.oplandmgr.trsland.title": "Forced Transfer Territory",
@@ -29,8 +29,6 @@
2929
"gui.general.plzchose": "Please select",
3030

3131
"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",
32-
"gui.landmgr.content": "Welcome to land manager",
33-
"gui.landmgr.ctplus": "\nYou are now on §l<a>§r",
3432
"gui.landmgr.unnamed": "Unnamed",
3533
"gui.landmgr.unmodified": "Unmodified",
3634
"gui.landmgr.options.landinfo": "View Territory Information",
@@ -40,6 +38,7 @@
4038
"gui.landmgr.options.landtag": "Edit territory nickname",
4139
"gui.landmgr.options.landdescribe": "Edit Territory Notes",
4240
"gui.landmgr.options.landtransfer": "Territory Transfer",
41+
"gui.landmgr.options.reselectrange": "Reenclosure (retain data)",
4342
"gui.landmgr.options.delland": "Delete Territory",
4443
"gui.landmgr.select": "Select the territory to manage",
4544
"gui.landmgr.landperm.basic_options": "§lBasic permissions",
@@ -48,6 +47,7 @@
4847
"gui.landmgr.landperm.other_options": "§lOther behaviors",
4948
"gui.landmgr.landperm.basic_options.place": "Blocks are allowed to be placed",
5049
"gui.landmgr.landperm.basic_options.destroy": "Blocks are allowed to be destroyed",
50+
"gui.landmgr.landperm.basic_options.entity_destroy": "Allow creatures to destroy blocks (wither)",
5151
"gui.landmgr.landperm.basic_options.dropitem": "Allow drop items",
5252
"gui.landmgr.landperm.basic_options.attack_player": "Allow to attack the player",
5353
"gui.landmgr.landperm.basic_options.attack_animal": "Attack to peaceful creatures is allowed",
@@ -70,6 +70,7 @@
7070
"gui.landmgr.landperm.funcblock_options.loom": "Loom is allowed",
7171
"gui.landmgr.landperm.funcblock_options.beacon": "Allow operation of beacon",
7272
"gui.landmgr.landperm.funcblock_options.stonecutter": "Stone cutter is allowed",
73+
"gui.landmgr.landperm.funcblock_options.lectern": "Allow to operate the platform",
7374
"gui.landmgr.landperm.contblock_options.barrel": "Allow barrel opening",
7475
"gui.landmgr.landperm.contblock_options.hopper": "Allow to open the funnel",
7576
"gui.landmgr.landperm.contblock_options.dropper": "Allow to open the dropper",
@@ -92,9 +93,10 @@
9293
"gui.landmgr.landperm.other_options.button": "Allow button press",
9394
"gui.landmgr.landperm.other_options.pressure_plate": "It is allowed to step on the pressure plate",
9495
"gui.landmgr.landperm.other_options.throw_potion": "Potion throwing allowed",
95-
"gui.landmgr.landperm.other_options.respawn_anchor": "Allow use of respawn anchor",
96+
"gui.landmgr.landperm.other_options.respawn_anchor": "Allow use of rebirth anchor",
9697
"gui.landmgr.landperm.other_options.fishing": "Allow the use of fishing rods",
9798
"gui.landmgr.landperm.other_options.bucket": "Allow the use of buckets",
99+
"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.",
98100
"gui.landmgr.landperm.editevent": "Control the events that can occur in (near) the territory, please move to the territory setting tab.",
99101

100102
"gui.fastlmgr.title": "Fast LMgr",
@@ -127,8 +129,6 @@
127129
"gui.oplandmgr.economy.calculation_3D": "Price calculation method (3D)",
128130
"gui.oplandmgr.economy.calculation_2D": "Price calculation method (two-dimensional)",
129131
"gui.oplandmgr.economy.price": "Price Value",
130-
"gui.oplandmgr.i18n": "§lLanguage Settings",
131-
"gui.oplandmgr.i18n.default": "Default Language",
132132
"gui.oplandmgr.features": "§lFunction Switch",
133133
"gui.oplandmgr.features.landsign": "Territory Tips",
134134
"gui.oplandmgr.features.particles": "Particle Special Effects",
@@ -185,7 +185,13 @@
185185
"gui.landtrust.rmsuccess": "Removed from the trust list",
186186
"gui.landtag.tip": "The territory nickname helps you distinguish multiple territories without changing the original territory configuration",
187187
"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.",
188-
188+
"gui.reselectland.title": "Reselect land area",
189+
"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?",
190+
"gui.reselectland.transferDimension": "Select the territory dimension of the new range",
191+
"gui.reselectland.content": "Original territory range (<a>) value: <b>, \\n current territory range (<c>) value: <d>, \\n will <e>you<f ><g>.",
192+
"gui.reselectland.refund": "Refund to",
193+
"gui.reselectland.pay": "Receive",
194+
189195
"gui.landcfg.tip": "Operate the territory function switch here",
190196
"gui.landcfg.landsign": "§lLandSign",
191197
"gui.landcfg.landsign.tome": "Prompt when the master enters",
@@ -197,7 +203,7 @@
197203
"gui.landcfg.inside.piston_push": "Allow piston push",
198204
"gui.landcfg.inside.fire_spread": "Allow flame to spread",
199205
"gui.landcfg.nearby": "§lNearby Events",
200-
"gui.landtp.point": "Successfully set location [<a>] as territory <b> The transfer point. ",
206+
"gui.landtp.point": "Successfully set the location [<a>] as the teleport point of the territory <b>.",
201207
"gui.landtp.tip": "Please select the target territory to teleport",
202208
"gui.landtp.trusted": "Trusted",
203209

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

221+
"title.selectrange.mode": "[Enclosure Mode]",
222+
"title.selectrange.spointa": "Please hold <a>, click the square or use /land a to select the first point.",
223+
"title.selectrange.spointb": "Please hold <a>, click the square or use /land b to select the second point.",
215224
"title.selectrange.failbydim": "Sorry, the administrator has turned off the enclosure function for this dimension.",
216225
"title.selectrange.failbystep": "The operation failed! Please follow the steps to enclose the land!",
217226
"title.selectrange.failbycdim": "Failed to select points! It is forbidden to select points across latitudes!",
218-
"title.selectrange.spointa": "Please hold <a>, click the square or use /land a to select the first point.",
219-
"title.selectrange.spointb": "Please hold <a>, click the square or use /land b to select the second point.",
220227
"title.selectrange.bebuy": "Please hold <a>, use /land buy or click any square again to create an order.",
221228
"title.selectrange.seled": "Point <a> selected: <b> (<c>, <d>, <e>)",
222229
"title.selectrange.nople": "You have a large enclosure. To avoid server lag, the particle effects have been temporarily disabled.",
230+
"title.reselectland.complete": "Please hold <a>, and click any square again to complete the selection.",
223231
"title.land.nolicense": "Please use /land new to request to create a new territory",
224232
"title.getlicense.alreadyexists": "Please do not repeat the request!!\n",
225233
"title.getlicense.succeed": "A new territory has been requested\n",
226234
"title.getlicense.limit": "Do you think the local owner? The proletariat cannot have so much land.",
227235
"title.buyland.moneynotenough": "Insufficient balance!\n",
228-
"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\"",
236+
"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\"",
229237
"title.buyland.succeed": "Successful purchase!\nRegistration is being registered for you...",
230238
"title.land.deleted": "<a> has been deleted",
231239
"title.landtransfer.toomanyids": "It is not possible to transfer land to more than one person",
@@ -235,9 +243,11 @@
235243
"title.oplandmgr.transfered": "Transferred to <a>",
236244
"title.oplandmgr.setselectool": "Please hold the enclosure tool you want to select to destroy the block",
237245
"title.oplandmgr.setsuccess": "Success! Selected <a> as enclosure tool",
238-
"title.landmgr.failed": "You don't have a land yet, use \"/land new\" to start creating one!",
246+
"title.landmgr.failed": "There is no land to manage. Use \"/land new\" to create one!",
239247
"title.giveup.succeed": "License has been abandoned",
240248
"title.giveup.failed": "There is no enclosure permit to give up",
249+
"title.reselectland.giveup.succeed": "Re-enclosure has been cancelled",
250+
"title.reselectland.succeed": "Selected successfully! The new territory area has taken effect.",
241251
"title.createorder.toobig": "The enclosing territory is too big, please enclose it again.\n",
242252
"title.createorder.toosmall": "The enclosing territory is too small, please enclose it again.\n",
243253
"title.createorder.toolow": "Three-dimensional enclosure, at least four grids in height.\n",
@@ -247,11 +257,13 @@
247257
"title.landlimit.nearby": "The operation is cancelled because it is too close to another person's territory",
248258
"title.landtp.fail.noland": "You need to stand on the territory first",
249259
"title.landtp.fail.notowner": "You are not the owner of this land",
260+
"title.landtp.removed": "The teleportation point in this territory has been removed",
250261
"title.landsign.ownenrbuttom": "Landsign <a>",
251262
"title.landsign.visitorbuttom": "This is the territory of <a>",
252263
"title.landtp.failbysame": "This territory has not yet set a teleportation point",
253-
"title.landtp.plzset": "Please use /land point set first.",
254-
"title.landtp.safetp": "The target teleport point may cause suffocation and has stopped teleporting.",
264+
"title.landtp.plzset": "Please use /land tp set first.",
265+
"title.landtp.safetp": "The target teleportation point may cause suffocation and has stopped teleporting.",
266+
"title.landtp.safeset": "Cannot set the target teleport point because it may cause suffocation.",
255267

256268
"sign.listener.ownertitle": "<a>",
257269
"sign.listener.ownersubtitle": "Welcome back",
@@ -279,7 +291,8 @@
279291
"command.land_b": "Select the second point",
280292
"command.land_buy": "Buy the selected territory",
281293
"command.land_tp": "Teleport to Territory",
282-
"command.land_point": "Set Territory Teleport Point",
294+
"command.land_tp_set": "Set Territory Teleportation Point",
295+
"command.land_tp_rm": "Delete Territory Teleporter",
283296
"command.land_mgr": "Open the OP Land console interface",
284297
"command.land_mgr_selectool": "Select Enclosure Tool",
285298
"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." ,
@@ -290,13 +303,16 @@
290303
"command.console.land_deop": "Delete Realm Administrator",
291304
"command.console.land_test": "Run Land Performance Test",
292305
"command.console.land_update": "Upgrade iLand",
306+
"command.console.land_language": "Internationalization related",
307+
"command.console.land_language_install": "Installation Language",
293308

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

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

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

336+
"console.languages.sign": "This server is using <a> language, version: <b>.",
337+
"console.languages.set.misspara": "Missing parameter, example: \"/land language set zh_CN\"",
338+
"console.languages.set.succeed": "Set successfully, the language of the plug-in has been updated to: <a>",
339+
"console.languages.set.nofile": "Cannot find the language (<a>), use \"/land language list\" to view the language installed on the server.",
340+
"console.languages.list.count": "Installed languages: <a> pcs",
341+
"console.languages.list-online.wait": "Please wait, we are getting language warehouse data...",
342+
"console.languages.official": "Officially provided languages:",
343+
"console.languages.3rd": "Language provided by the third party:",
344+
"console.languages.install.misspara": "Missing parameters, example: \"/land language install vi_VN\"",
345+
"console.languages.install.existed": "The language has been installed, if you need to update, please use \"/land language update\"",
346+
"console.languages.install.notfound": "The language to be installed was not found \"<a>\", please use \"/land list-online\" to list all installable languages.",
347+
"console.languages.install.statfail": "An error occurred while downloading language <a>, the error code is: <b>, the installation process has been interrupted.",
348+
"console.languages.install.verifyfail": "An error occurred while verifying language <a>, MD5 does not match, and the installation process has been interrupted.",
349+
"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.",
350+
"console.languages.install.succeed": "Language <a> is installed successfully! Please use \"/land language set <a>\" to set the language used.",
351+
"console.languages.update.alreadylatest": "This language version is already up to date, no need to upgrade.",
352+
"console.languages.update.notfound": "Language <a> not found, please try to install this language with \"land language install <a>\".",
353+
"console.languages.update.notfoundonline": "Language <a> was not found on the server. Maybe it has not been included. The update is aborted.",
354+
"console.languages.update.succeed": "Language <a> has been successfully upgraded!",
355+
"console.languages.update.all": "Starting to upgrade all languages...",
356+
"console.languages.update.single": "Starting to upgrade the language <a> ...",
357+
319358
"console.error.money.protocol": "Unknown economic component'<a>' is being used.",
320-
"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."
359+
"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.",
360+
"console.error.readowner.xuid": "Unrecognized XUID (<a>), the player does not exist in the XUID database, skip reading.",
361+
"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."
321362
}

iland/lang/zh_CN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"VERSION": 231,
2+
"VERSION": 240,
33
"#1": "zh_CN 标准汉语翻译贡献者:RedbeanW",
44

55
"gui.land.title": "Land v<a>",

0 commit comments

Comments
 (0)