• 【MineBBS社区发展意见征集】

    欢迎参与MineBBS社区调查,助力打造更好Minecraft社区!完成问卷可获赠200金粒,优质回答可额外获得200金粒(限5名),快来参与吧!【点击参与】

iLand - 多经济|全GUI操作|多国语言|50余种权限控制|圈地粒子|大量API导出

资源 iLand - 多经济|全GUI操作|多国语言|50余种权限控制|圈地粒子|大量API导出 2.84 with Helper 1.3.1

登录后下载
Ok so I figured it out thank God.

In iland-core.lua needs to be like this for height x length x width to calculate accurately:

local height = math.abs(land_data[landid].range.start_position[2] - land_data[landid].range.end_position[2])+1
local length = math.abs(land_data[landid].range.start_position[1] - land_data[landid].range.end_position[1])+1
local width = math.abs(land_data[landid].range.start_position[3] - land_data[landid].range.end_position[3])+1

The +1 needs to be added to each one.

Also:

if index==1 then return end

needs to be added so player can cancel purchase in:

function FORM_land_buy(player,index,text)
if index==1 then return end
local xuid = Actor:getXuid(player)
local player_credits = money_get(player)
if newLand[player].landprice>player_credits then
Actor:sendText(player,_tr('title.buyland.moneynotenough'),5);return
else
money_del(player,newLand[player].landprice)
end
Actor:sendText(player,_tr('title.buyland.succeed'),5)
local A=newLand[player].posA
local B=newLand[player].posB
local result={formatXYZ(A.x,A.y,A.z,B.x,B.y,B.z)}
ILAPI_CreateLand(xuid,result[1],result[2],newLand[player].dim)
newLand[player]=nil
GUI(player,'ModalForm','FORM_BACK_LandMgr',"Complete.",
_tr('gui.buyland.succeed'),
_tr('gui.general.looklook'),
_tr('gui.general.cancel'))
end

Also in en_US.json & zh_TW.json there is a space here which prevents the value from showing properly:

<d >

It should be:

"gui.landmgr.landinfo.content": "Owner:<a>\\nLandID: <m>\\nNickname: <n>\\nRange (range): <b>,<c>,<d> -> <e>,<f>,<g>

Hope this helps.

.Thank you, I will merge it into 1.1.4, next time you can submit a Pr :)
 
Minimum land selection area = 5x5 blocks, even though config file says 4x4. Also land information shows 4x4 block area when actually 5x5 block area. Maybe something wrong with calculation?
I re-looked at the problem, and the problem does not seem to exist.
The land_min_square and land_max_square in the configuration file both represent the area. The correct one is that the side length should be √square , for example, the default 4, the side length should be √4=2, 2x2
 
Redbeanw 升级了 iLand - 新时代的领地插件 的新版本:

v1.1.4 bugfix and feature update.

  • [+] 支持设定圈地工具 /land mgr selectool
  • [+] 新增API: ILAPI_GetChunk 通过区块内一点坐标取到区块能所有领地list
  • [+] 圈地完成后边框粒子效果
  • [-] 取消对1.0.9之前的配置文件自动转换支持
  • 修复构建区块中的两处潜在问题
  • 修复领地冲突检测中的一处问题
  • 修复服务器语言不是中文因为导致的无法圈地的问题
  • 修复领地购买订单GUI的一处问题
  • 优化旧代码

阅读此次升级的详细信息...
 
I re-looked at the problem, and the problem does not seem to exist.
The land_min_square and land_max_square in the configuration file both represent the area. The correct one is that the side length should be √square , for example, the default 4, the side length should be √4=2, 2x2
Even in 1.1.4 the problem does still exist. All that need be done is a 4 x 4 x 4 cube be selected with the tool and you will see that the domain purchase will show 3 x 3 x 3 on the GUI. +1 can be added to the ends of the lines in iland-core.lua as mentioned before. The line numbers are:

390-392
467-469
575-577

Example:

local length = math.abs(land_data[landid].range.start_position[1] - land_data[landid].range.end_position[1])+1
 
最后编辑:
The selection tool name does not change here:

"title.selectrange.spointa": "Please hold a wooden axe and try to destroy the block to select the first point.",
"title.selectrange.spointb": "Please hold a wooden axe and try to destroy the block to select the second point.",
"title.selectrange.bebuy": "Please hold a wooden axe and try to break the block again to create an order.",
 
Even in 1.1.4 the problem does still exist. All that need be done is a 4 x 4 x 4 cube be selected with the tool and you will see that the domain purchase will show 3 x 3 x 3 on the GUI. +1 can be added to the ends of the lines in iland-core.lua as mentioned before. The line numbers are:

390-392
467-469
575-577

Example:

local length = math.abs(land_data[landid].range.start_position[1] - land_data[landid].range.end_position[1])+1
The selection tool name does not change here:

"title.selectrange.spointa": "Please hold a wooden axe and try to destroy the block to select the first point.",
"title.selectrange.spointb": "Please hold a wooden axe and try to destroy the block to select the second point.",
"title.selectrange.bebuy": "Please hold a wooden axe and try to break the block again to create an order.",
I just confirmed that these problems do exist and they will be fixed in the next version. Thank you for your feedback.
 
作者问一个问题,我把它(新时代的Lua加载器 0610)放在plugins文件夹下。 然后把领地插件放入LiteLuaLoader这里么?然后服务器exe文件就一直打不开
缺依赖吧,认真读帖
 
Redbeanw 升级了 iLand - 新时代的领地插件 的新版本:

端午更新

先祝大家端午安康!

  • [+] 修复 Issue: (MB)iland.6145/post-38217
  • [+] 修复 Issue:(MB)iland.6145/post-38223
  • [+] 修复圈地粒子y坐标偏差
  • [+] 修复空手操作造成的崩服
  • [+] 支持指令添加领地管理员(新增控制台指令land op land deop)
  • [+] OPLmgr更多设置项
  • [+] 优化区块表重载逻辑
  • [+] 加回指令圈地方式,支持杂糅方式圈地(新增指令land a land b land buy)
  • [+] 修改ILAPI调用方式
  • [+] 圈地发生领地冲突可显示冲突点坐标
  • [+] LandMgr新增独立LandSign开关
  • [+] 领地传送,支持选择传送点(新增指令land tp land point)
  • [+] 改善OPLMgr拒绝访问提示
  • [-] 从插件主体分离Libs(AirLibs)

阅读此次升级的详细信息...
 
作者,我看了一下 ,我装了加载

LuaUtils加载我把libcrypto和libssl-1放在了bedrock_server.exe问价里面,LuaUtilApi.dll我放在了plugins里面。​

LLL0613哪个压缩包,解压后我全放在Plugins里面,接下来就跟着教程走但还是没有用。
自行排查
 
The selection tool name does not change here:

"title.selectrange.spointa": "Please hold a wooden axe and try to destroy the block to select the first point.",
"title.selectrange.spointb": "Please hold a wooden axe and try to destroy the block to select the second point.",
"title.selectrange.bebuy": "Please hold a wooden axe and try to break the block again to create an order.",
Thankyou for the update with some fixes and extra features. However the above is still an issue. It might have been fixed for the first selection I tested it on but not sure. However after that it shows wooden axe even if another tool is the selectool.
 
最后编辑:
Thankyou for the update with some fixes and extra features. However the above is still an issue. It might have been fixed for the first selection I tested it on but not sure. However after that it shows wooden axe even if another tool is the selectool.
You need to set the tool name in config.json, it does not support automatic acquisition of the tool name for the time being.
 
For anyone having trouble with /land point and /land tp. Try deleting all lands and re create them. This worked for me.
 
Redbeanw 升级了 iLand - 新时代的领地插件 的新版本:

暑假更新 #1

  • [+] OPLMgr支持显示脚下的领地
  • [+] 圈地过大自动关闭粒子特效(features->player_max_ple)
  • [+] 开桶直接拦截,不再传送
  • [+] 添加FastLMgr,站在领地上使用/land即可直接管理此领地
  • [+] 添加SafeLandTp,防止传送卡墙
  • [+] 支持强制所有插件提示信息为聊天形式
  • [+] 修改/land命令功能,不站在领地上使用此命令打开简单领地菜单
  • [+] 优化指令处理机制
  • [+] 修改ILAPI.GetChunk,现在需要传入dimid
  • [+] 自实现XUIDDB,不再使用LiteLoader的xidreg(因为收到多起相关问题反馈)
  • [+] 修改版本号格式
  • [+] 将”使用物品“权限控制分割为使用床、使用工作台、使用营火、操作堆肥桶、操作潜匿箱、操作音符盒、操作唱片机、敲钟、开活板门、开栏栅门、使用讲台、使用炼药锅
  • [+]...

阅读此次升级的详细信息...
 

在线会员

  • yidoor
  • linghun91
  • yuhang2006
  • Hao_Se
  • Little_Flower_7XX
  • 秦羽
  • 云澜
  • 北君玄
  • biubiubai6
  • laozei233
  • 眠悠子Miyoz
  • 晚风吻尽荷花叶
  • Capella051
  • 红烧羊肉
  • morhe
  • ZYTX_ZERO
  • uuioaa
  • Love7
  • 阿凡
  • 1212as
  • 铭记mingji
...和 63 更多。
后退
顶部 底部