怎么做个判断,是否开启这个功能
比如说砍树
我点一下变成开,然后菜单变成关,点一下变成关,菜单显示开
https://www.mcbbs.net/thread-930425-1-1.html
比如说这个!!
就是那个名字一开始是开,然后点一下关了,然后显示的也是关,如何做,麻烦写一下。
比如说砍树
我点一下变成开,然后菜单变成关,点一下变成关,菜单显示开
https://www.mcbbs.net/thread-930425-1-1.html
比如说这个!!
就是那个名字一开始是开,然后点一下关了,然后显示的也是关,如何做,麻烦写一下。
给所有种类的斧子设置右键触发这条命令即可
至于怎么触发,可以用rpgitem或者其他插件
至于怎么触发,可以用rpgitem或者其他插件
本帖最后由 xmdhs 于 2020-3-27 20:14 编辑
ShopName: 菜单
DisplayName: '菜单'
shop:
1:
RewardType: command
Reward:
- 给 test.2 权限
- 取消 text.1 权限
PriceType: free
MenuItem:
- name:&e开
- id:1
- amount:1
ExtraPermission: 'test.1'
InventoryLocation: 22
2:
RewardType: command
Reward:
- 给 test.1 权限
- 取消 text.2 权限
PriceType: free
MenuItem:
- name:&e关
- id:2
- amount:1
ExtraPermission: 'test.2'
InventoryLocation: 22
类似这样,然后 config.yml 中设置 HideItemsPlayersDoNotHavePermissionsFor: true
ShopName: 菜单
DisplayName: '菜单'
shop:
1:
RewardType: command
Reward:
- 给 test.2 权限
- 取消 text.1 权限
PriceType: free
MenuItem:
- name:&e开
- id:1
- amount:1
ExtraPermission: 'test.1'
InventoryLocation: 22
2:
RewardType: command
Reward:
- 给 test.1 权限
- 取消 text.2 权限
PriceType: free
MenuItem:
- name:&e关
- id:2
- amount:1
ExtraPermission: 'test.2'
InventoryLocation: 22
类似这样,然后 config.yml 中设置 HideItemsPlayersDoNotHavePermissionsFor: true
ShopName: 菜单
DisplayName: '菜单'
shop:
1:
RewardType: command
Reward:
- 给 test.2 权限
- 取消 text.1 权限
PriceType: free
MenuItem:
- name:&e开
- id:1
- amount:1
ExtraPermission: 'test.1'
InventoryLocation: 22
2:
RewardType: command
Reward:
- 给 test.1 权限
- 取消 text.2 权限
PriceType: free
MenuItem:
- name:&e关
- id:2
- amount:1
ExtraPermission: 'test.2'
InventoryLocation: 22
类似这样,然后 config.yml 中设置
emsPlayersDoNotHavePermissionsFor: true
DisplayName: '菜单'
shop:
1:
RewardType: command
Reward:
- 给 test.2 权限
- 取消 text.1 权限
PriceType: free
MenuItem:
- name:&e开
- id:1
- amount:1
ExtraPermission: 'test.1'
InventoryLocation: 22
2:
RewardType: command
Reward:
- 给 test.1 权限
- 取消 text.2 权限
PriceType: free
MenuItem:
- name:&e关
- id:2
- amount:1
ExtraPermission: 'test.2'
InventoryLocation: 22
类似这样,然后 config.yml 中设置
emsPlayersDoNotHavePermissionsFor: true
xmdhs 发表于 2020-3-27 20:14
ShopName: 菜单
DisplayName: '菜单'
shop:
感谢大佬,不过大佬你知道那个伪装插件为啥不能攻击吗,我另外一个帖子有,https://www.mcbbs.net/thread-999100-1-1.html
能帮我看看为啥打不了怪吗
不提示东西,就跟打空气一样
唯爱她° 发表于 2020-3-27 20:43
感谢大佬,不过大佬你知道那个伪装插件为啥不能攻击吗,我另外一个帖子有,https://www.mcbbs.net/thread ...
没有了解过的。
xmdhs 发表于 2020-3-27 20:43
没有了解过的。
好吧。。不知道为啥打不了怪,很烦,不过我把配置传上去了,方便的话可以帮我看看吗