• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Towny/权限节点”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“===权限节点=== 城镇插件的权限默认是配置好的了,基本上不怎么需要修改.<br /> 但如果你想修改权限的话,你也可以用Groupmanger...”)
 
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
 +
{|class="common-box" style="margin: 0px 0%; width:{{{width|98%}}}; background: #e7f1f4;  ;"
 +
|-
 +
|<center>{{Template:TownyBox}}</center>
 +
如果在Townyperms.yml内的权限设置无效,你可以使用其他权限插件来给玩家权限
 
===权限节点===
 
===权限节点===
城镇插件的权限默认是配置好的了,基本上不怎么需要修改.<br />
 
但如果你想修改权限的话,你也可以用Groupmanger之类的权限插件或在Townyperms.yml文件内在你想要的头衔下增减相应权限
 
 
----
 
----
 
====管理员权限节点====
 
====管理员权限节点====
第300行: 第302行:
 
        towny_maxplots: -1
 
        towny_maxplots: -1
 
</spoiler>
 
</spoiler>
 +
 +
 +
|-
 +
!
 +
|}

2019年5月19日 (日) 22:40的最新版本

如果在Townyperms.yml内的权限设置无效,你可以使用其他权限插件来给玩家权限

权限节点


管理员权限节点

towny.admin: 管理员权限,可以使用/townyadmin, 也可以在任何地方建筑/破坏,建立城镇或国家
towny.command.townyadmin.*
towny.command.townyadmin.set.*
towny.command.townyadmin.set.mayor - 设置城主
towny.command.townyadmin.town.* – 允许玩家使用 ‘/ta town add/kick’
 towny.command.townyadmin.town.new  建城
 towny.command.townyadmin.town.add  邀请玩家进城
 towny.command.townyadmin.town.kick  踢出玩家
 towny.command.townyadmin.town.delete  删除玩家数据
 towny.command.townyadmin.town.rename  重命名城镇
 towny.command.townyadmin.town.spawn   城镇传送权限
  towny.command.townyadmin.town.spawn.freecharge  强制城镇传送收费
towny.command.townyadmin.nation.* – 允许玩家使用 ‘/ta nation add/kick’
 towny.command.townyadmin.nation.add  邀请城镇加入国家
 towny.command.townyadmin.nation.delete  灭国
 towny.command.townyadmin.nation.rename  重命国名
towny.command.townyadmin.toggle.* – 允许使用‘/ta toggle …’
 towny.command.townyadmin.toggle.war  开启战争
 towny.command.townyadmin.toggle.neutral  开启中立
 towny.command.townyadmin.toggle.npc  开启npc
 towny.command.townyadmin.toggle.devmode  开启开发模式
 towny.command.townyadmin.toggle.debug  开启调试模式
 towny.command.townyadmin.toggle.townwithdraw  开关城镇取钱
 towny.command.townyadmin.toggle.nationwithdraw  开关国家取钱
towny.command.townyadmin.givebonus –允许使用 ‘/ta givebonus …’
towny.command.townyadmin.reload – 允许使用 ‘/ta reload’
towny.command.townyadmin.reset – 生成新的 config.yml 并完全重载城镇.
towny.command.townyadmin.backup – 执行备份
towny.command.townyadmin.newday –开始城镇新的一天来收税.
towny.command.townyadmin.purge – 移除一段时间前的居民数据 ‘ta purge 30’(清除30天未登录玩家的数据)
towny.command.townyadmin.unclaim – 放弃所站在的土地.
towny.command.townyadmin.resident.delete – 删除某个居民 ‘/ta res delete {名称}’
towny.claimed.* : 在所有城镇内的建筑/破坏/使用开关/使用物品的权限. 大多数情况下这个权限应该给予主持人.
 towny.claimed.owntown.*
  towny.claimed.owntown.build.* : 可在城镇内建筑.
  towny.claimed.owntown.destroy.* : 可在城镇内破坏.
  towny.claimed.owntown.switch.* : 可在城镇内使用开关.
  towny.claimed.owntown.item_use.* : 可在城镇内使用物品.
 towny.claimed.alltown.*
  towny.claimed.alltown.build.* :  可在所有城镇内建筑.
  towny.claimed.alltown.destroy.* :  可在所有城镇内破坏.
  towny.claimed.alltown.switch.* :  可在所有城镇内使用开关.
  towny.claimed.alltown.item_use.* :  可在所有城镇内使用物品.
 towny.claimed.townowned.* : 可以在自己的地皮内编辑特定或所有种类的方块 (只用于城镇,不作用于居民).
  towny.claimed.townowned.build.* : 可在所有城镇内建筑.
  towny.claimed.townowned.destroy.* :在所有城镇内破坏.
  towny.claimed.townowned.switch.* : 可在所有城镇内使用开关.
  towny.claimed.townowned.item_use.* : 可在所有城镇内使用物品.

土地/plot权限节点

towny.command.plot.*
towny.command.plot.asmayor – 对于城市土地管理,给予你想要的任何头衔的能力:从镇上的玩家那里重新声明土地.
在城镇内的任一土地上开启权限和土地设置.
城主和助手不需要权限仍可以设置土地出售.(城主权限)
towny.command.plot.claim  圈地
towny.command.plot.unclaim  放弃圈地
towny.command.plot.notforsale  不出售土地
towny.command.plot.forsale  出售土地
towny.command.plot.perm  土地权限
towny.command.plot.toggle.*  土地开关
 towny.command.plot.toggle.pvp  PVP
 towny.command.plot.toggle.explosion  爆炸
 towny.command.plot.toggle.fire  火焰
 towny.command.plot.toggle.mobs  怪物生成
towny.command.plot.set.*    设置土地类型
 towny.command.plot.set.perm 设置土地权限
 towny.command.plot.set.reset 重置土地权限
 towny.command.plot.set.shop  设置为商店
 towny.command.plot.set.embassy  设置为大使馆
 towny.command.plot.set.arena  设置为竞技场
 towny.command.plot.set.wilds  设置为荒野
 towny.command.plot.set.inn    设置为旅店
 towny.command.plot.set.jail   设置为监狱
 towny.command.plot.set.spleef  设置为决一死战区块
 towny.command.plot.clear

居民/resident权限节点

towny.command.resident.*
 towny.command.resident.list 同城居民列表
 towny.command.resident.tax  城镇税收
 towny.command.resident.jail  收监
 towny.command.resident.otherresident  其他居民
 towny.command.resident.set.*   居民设置
  towny.command.resident.set.perm  设置个人权限
  towny.command.resident.set.mode  设置模式
  towny.command.resident.spawn  设置个人传送点
towny.command.resident.toggle.*   个人开关
 towny.command.resident.toggle.pvp  PVP
 towny.command.resident.toggle.explosion   爆炸伤害
 towny.command.resident.toggle.fire   火焰扩散
 towny.command.resident.toggle.mobs   怪物生成
towny.command.resident.friend 加好友

城镇/town权限节点

towny.town.* : 获得以下所有权限.
 towny.town.resident : 加入城镇的权限.
 towny.town.spawn.* : 获得所有传送权限
  towny.town.spawn.town : 可以传送到你自己的城镇.
  towny.town.spawn.nation : 可以传送到其他同国的城镇.
  towny.town.spawn.ally : 可以让同国城镇你的城镇.
  towny.town.spawn.public : 可以传送到其他公开的城镇
  towny.town.spawn.outpost : 可以传送到你所在城镇的前哨.这是towny.town.spawn.town的子权限.如果你不想让玩家移动到他们的前哨,必须给予否定权限 (例如用Groupmanager设置权限: – -towny.town.spawn.outpost)
 towny.command.town.*
  towny.command.town.here 显示所处城镇
  towny.command.town.list  显示城镇列表
  towny.command.town.new : 创建城镇的权限 (只有设置 town_creation_admin_only: true 时才可用)
  towny.command.town.leave  离开城镇的权限
  towny.command.town.withdraw  取钱权限
  towny.command.town.deposit  捐钱权限
  towny.command.town.rank.*  头衔
  towny.command.town.reslist 居民列表
  towny.command.town.outlaw : 允许放逐你城镇内的玩家.
  towny.command.town.outpost.list : towny.town.spawn.town的子权限
  towny.command.town.set.*   城镇设置
   towny.command.town.set.board  设置公告板
   towny.command.town.set.mayor  设置城主 
   towny.command.town.set.homeblock  设置城镇中心区块
   towny.command.town.set.spawn  设置城镇传送点
   towny.command.town.set.outpost  设置城镇前哨
   towny.command.town.set.perm   设置城镇权限
   towny.command.town.set.taxes  设置城镇税收
   towny.command.town.set.plottax   设置城镇土地税
   towny.command.town.set.shoptax   设置城镇商店税
   towny.command.town.set.embassytax 设置城镇大使馆税
   towny.command.town.set.plotprice   设置默认地皮价格
   towny.command.town.set.shopprice   设置默认商店价格
   towny.command.town.set.embassyprice   设置默认大使馆价格
   towny.command.town.set.name : 重命名城镇
   towny.command.town.set.tag  设置城镇标签
 towny.command.town.buy  购买城镇区块上限
 towny.command.town.othertown  查看其他城镇信息
 towny.command.town.plots : 使用 /town {城镇名} plots 指令的权限
 towny.command.town.say 
 towny.command.town.toggle.* :可以使用所有城镇开关指令
  towny.command.town.toggle.pvp   PVP
  towny.command.town.toggle.public 开放传送点
  towny.command.town.toggle.explosion  爆炸伤害
  towny.command.town.toggle.fire  火焰扩散
  towny.command.town.toggle.mobs  怪物生成
  towny.command.town.toggle.taxpercent  税率
  towny.command.town.toggle.open  开放城镇
  towny.command.town.toggle.jail  开启监狱
 towny.command.town.mayor
 towny.command.town.delete : 删除城镇的权限
 towny.command.town.join : 玩家加入公开城镇的权限
 towny.command.town.add : 邀请玩家进城的权限
 towny.command.town.kick :把玩家踢出城镇的权限.
 towny.command.town.claim.*
  towny.command.town.claim.town : 可以用 /town claim 指令来扩大城镇领土(用在/townyworld内已设置不可声明土地的世界内)
  towny.command.town.claim.outpost : 用来允许或阻止声明前哨. (需要前哨在配置内已开启.)
 towny.command.town.unclaim :放弃土地的权限.
 towny.command.town.online  同城在线玩家

国家/nation权限节点

towny.command.nation.*
 towny.command.nation.list  国家列表
 towny.command.nation.new   创建国家
 towny.command.nation.leave   离开国家
 towny.command.nation.withdraw  从国家内取钱
 towny.command.nation.deposit  捐钱给国家
 towny.command.nation.rank.*
 towny.command.nation.king
 towny.command.nation.othernation  查看其他城镇信息
 towny.command.nation.say
 towny.command.nation.set.*
  towny.command.nation.set.king  加冕国王
  towny.command.nation.set.capitol 设置国都
  towny.command.nation.set.taxes 设置税收
  towny.command.nation.set.name  设置国名
  towny.command.nation.set.title  设置标题
  towny.command.nation.set.surname 设置姓氏
  towny.command.nation.set.tag  设置国家标签
 towny.command.nation.toggle.* 
  towny.command.nation.toggle.neutral  开关战时中立
 towny.command.nation.ally  盟国
 towny.command.nation.enemy  敌国
 towny.command.nation.delete  灭国
 towny.command.nation.online  国家在线玩家
 towny.command.nation.add  邀请城镇入国
 towny.command.nation.kick 踢出城镇

城镇/towny权限节点

towny.command.towny.*
 towny.command.towny.map  城镇地图
 towny.command.towny.prices 城镇价格
 towny.command.towny.top  城镇排名
 towny.command.towny.tree  大量城镇信息
 towny.command.towny.time  城镇时间
 towny.command.towny.universe 城镇数据
 towny.command.towny.version  城镇版本
 towny.command.towny.war 发起战争
 towny.command.towny.spy 窥视聊天

城镇世界/townyworld权限节点

towny.command.townyworld.*
 towny.command.townyworld.list 城镇世界列表
 towny.command.townyworld.set  城镇世界设置
 towny.command.townyworld.toggle.*
  towny.command.townyworld.toggle.claimable 开关该世界是否可以声明无主之地的权限
  towny.command.townyworld.toggle.usingtowny  开关该世界是否使用城镇的权限
  towny.command.townyworld.toggle.pvp  开关该世界PVP的权限
  towny.command.townyworld.toggle.forcepvp 开关该世界强制PVP的权限
  towny.command.townyworld.toggle.explosion 爆炸伤害
  towny.command.townyworld.toggle.forceexplosion  强制爆炸伤害
  towny.command.townyworld.toggle.fire  火焰扩散
  towny.command.townyworld.toggle.forcefire  强制火焰扩散
  towny.command.townyworld.toggle.townmobs  城镇刷怪
  towny.command.townyworld.toggle.worldmobs  世界刷怪
  towny.command.townyworld.toggle.revertunclaim 回溯无主之地
  towny.command.townyworld.toggle.revertexpl  回溯
 towny.command.townyworld.regen  回溯世界
 towny.command.townyworld.undo  撤销回溯

聊天权限节点

towny.chat.general : 允许玩家使用全服聊天频道
towny.chat.town : 允许玩家使用城镇聊天频道
towny.chat.nation : 允许玩家使用国家聊天频道
towny.chat.mod : 允许玩家使用主持人聊天频道
towny.chat.admin : 允许玩家使用管理员聊天频道
towny.chat.local : 允许玩家使用本地聊天频道
towny.chat.spy : 允许玩家查看所有频道的聊天内容
towny.chat.join.{频道名} : 允许玩家使用 /join {频道名}
towny.chat.leave.{频道名} : 允许玩家使用 /leave {频道名}
townychat.mod.mute : 允许主持人使用 /chmute {频道} {玩家} 来禁言在其他聊天频道的玩家.
townychat.mod.unmute: 允许主持人使用 /chunmute {频道} {玩家}, 来解除禁言在其他聊天频道的玩家.

荒野权限节点

towny.wild.*
 towny.wild.build.*   在荒野建筑
 towny.wild.destroy.*   在荒野破坏
 towny.wild.switch.*  在荒野使用开关
 towny.wild.item_use.*   在荒野使用物品
 towny.wild.build.{方块id}   在荒野建筑某种方块
 towny.wild.destroy.{方块id} 在荒野破坏某种方块
 towny.wild.switch.{方块id}  在荒野使用某种方块
 towny.wild.itemuse.{方块id}  在荒野使用某种物品

其它权限节点

towny.cheat.bypass : 允许飞行, 使用 WorldEdit的坐标.
towny.outlaw.jailer :  把你镇上被杀的罪犯送进监狱所需的权限默认城主,助手和警长拥有此权限.
对于使用 superperms 的用户:
 prefix.prefixhere
 suffix.suffixhere
 当你使用没有前缀和后缀的权限插件时,此权限用于towny chat 设置内的 {permprefix} 和 {permsuffix} .
 towny_maxplots.x {x是任意一个整数,城镇所能声明荒野的上限}
towny.tax_exempt – 把这个权限给予任何你不想要收税的头衔内.只适用于 TownyPerms.这将不会作用于其他权限插件.

信息/可设置的权限节点

这类似于权限节点,因为它被添加到权限节点文件中. 添加到信息到Groupmanagers的权限组内或者PEX的权限组内.

设置玩家在加入服务器时的默认聊天 频道/模式 .
towny_default_modes: ‘map,townclaim,plotborder,global,local,town,nation,mod,admin’
设置居民的默认聊天模式, 也可用 /res set mode 指令设置.
towny_maxoutposts: {数字}
这个信息节点基于玩家所在的权限组来限制玩家可以声明的前哨数量.

towny_maxplots: {数字}
这个权限可以限制所给予的权限组内的玩家可圈地的上限.如果权限组没有设置这个权限或设置数值为 -1时, 城镇将会默认把配置内的max_plots_per_resident 视为上限.
设置 max_plots_per_resident 为-1, 或towny_maxplots为-1将没有圈地限制.

举个栗子:   		groups:
  		  Default:
  		    default: true
  		    permissions:
  		    - general.spawn
  		    inheritance: []
  		    info:
  		      prefix: 
  		      build: true
  		      suffix: 
  		      towny_maxplots: 1
  		      towny_default_modes: 'local'
  		      towny_maxoutposts: 2

  		  Admins:
  		    default: false
  		    permissions:
  		    - '*'
  		    inheritance:
  		    info:
  		      prefix: 
  		      build: true
  		      suffix: 
		      towny_maxplots: -1