mcpoi吧 关注:10贴子:112
  • 4回复贴,共1

【教程】town城镇插件指令

只看楼主收藏回复

权限节点
#
# The language file you wish to use
version:
# This is the current version of Towny. Please do not edit.
version: 0.88.0.0_(1.7.2)
# This is for showing the changelog on updates. Please do not edit.
last_run_version: 0.88.0.0_(1.7.2)
# Minimum required version of CraftBukkit. Please do not edit.
bukkit_version: '2918'
# The language file you wish to use
language: english.yml
############################################################
# +------------------------------------------------------+ #
# | Permission nodes | #
# +------------------------------------------------------+ #
############################################################
# Possible permission nodes
#
# towny.admin: User is able to use /townyadmin, as well as the ability to build/destroy anywhere. User is also able to make towns or nations when set to admin only.
# towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
# towny.top : User can access the command towny top
# towny.town.* : 允许用户使用/town所有权限包含一下所有town.XXXX.XXXX所有命令
# towny.town.new :User is able to create a town
# towny.town.delete :User is able to delete their town
# towny.town.claim : User is able to expand his town with /town claim
# towny.town.plot : User is able to use the /plot commands
# towny.town.resident : User is able to join towns upon invite.
# towny.town.toggle.*: 允许用户使用/town toggle 下的所有命令
# towny.town.toggle.pvp
# towny.town.toggle.public
# towny.town.toggle.explosions
# towny.town.toggle.fire
# towny.town.toggle.mobs
# towny.nation.* : 允许用户使用/nation 所有命令
# towny.nation.new :User is able to create a nation
# towny.nation.delete :User is able to delete their nation (if king)
# towny.nation.rename :User is able to rename their nation (if king/assistant)
# towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
# towny.wild.*: 允许用户在荒郊野外进行任何操作
# towny.wild.build ---放置
# towny.wild.destroy ---破坏
# towny.wild.switch ---使用
# towny.wild.item_use ---道具
# towny.wild.block.[block id].* : 指定用户在荒郊野外使用某个方块或者道具
# towny.wild.build.[block id]
# towny.wild.destroy.[block id]
# towny.wild.switch.[block id]
# towny.wild.item_use.[block id]
#
# towny.claimed.* : 允许用户在城市内进行任何操作
接下来,我们说一下/plot一些的相关命令。
首先我们输入:/plot
/plot claim 命令,购买当前所在位置区块。
/plot claim [rect/circle] [radius] 命令,购买自己所站位置矩形/半径-范围内的所有区块。
/plot notforsale 命令,解除正在挂牌出售的区块。
/plot notforsale [rect/circle] [radius] 命令,解除自己所站位置矩形/半径-范围内正在挂牌出售的区块。
命令部分请看以下截图
首先
我们通过命令:/town help


IP属地:上海1楼2015-10-18 23:22回复
    接下来,我们说一下/plot一些的相关命令。
    首先我们输入:/plot
    /plot claim 命令,购买当前所在位置区块。
    /plot claim [rect/circle] [radius] 命令,购买自己所站位置矩形/半径-范围内的所有区块。
    /plot notforsale 命令,解除正在挂牌出售的区块。
    /plot notforsale [rect/circle] [radius] 命令,解除自己所站位置矩形/半径-范围内正在挂牌出售的区块。
    命令部分请看以下截图
    首先
    我们通过命令:/town help
    可以查看到如下信息
    然后我一一来解释一下具体的使用方法
    /town 命令,查看当前自己所在城镇状态栏。
    /town [town]命令,其中[town]为城镇名称,那么如何查看城镇状态,比如你已经建立了城镇,而城镇名叫test,我们可以输入命令/town test,来查看名为test城镇目前的状态
    /town here 命令,和/town命令类似。
    /town list 命令,查看服务器一共有几个城镇。
    /town online 命令,查看自己所在城市,同城市玩家一共有几个玩家在线。
    /town leave 命令,退出当前自己所在城市。
    /town reslist 命令,查看有多少玩家在自己同一个城市里。
    /town ranklist 命令,查看自己所在城市的镇长或市长是谁。
    /town spawn 命令,传送到自己所在城市的城市出生点。
    以上命令基本都是普通玩家也可以使用的。
    /town new [town] 命令,新建城市,[town]用城市名代替,不可以中文,例:/town new test,意思是新建一个名为test的城市,只有拥有权限的玩家才可新建城市。
    然后我们先学习市长权限
    为什么不一个一个说下来呢,因为我们上好插件,一定会先新建一
    /plot forsale [$] 命令,将自己所站位置的区块出售,例:/plot forsale 1000 ,意思是把当前区块以1000的价格挂牌出售。
    /plot forsale [$] within [rect/circle] [radius] 命令,将自己所站位置矩形/半径-范围内的区块出售。
    /plot clear 命令,放弃自己所有的区块。
    /plot set
    /plot set name 命令,设置区块名称。
    /plot set reset 命令,重读自己所属区块权限设定。
    /plot set shop|embassy|arena|wilds|spleef 命令,设置区块模式,shop为商店模式,embassy为领事馆模式,arena为竞技场模式,wilds为荒郊野外模式,spleef。。。。还没试出!!!
    /plot set perm ? 领地权限设置
    set perm [on/off] 参数,权限开关
    set perm [level/type] [on/off] 参数,[level/type]使用上面提示其中一种(只可一种)代替,权限开关。
    set perm [level] [type] [on/off] 参数,[level] [type]可分别针对好友,所有,其他人,设定,破坏,建造等权限参数
    set perm reset 命令,重新载入权限设定。
    例:1。/plot set perm friend build off ,意思为,不允许好友在属于自己的区块放置方块,最后off改成on则为允许。
    2。/plot set perm ally destroy off ,意思为,不允许所有人在属于自己的区块破坏方块,最后off改成on则为允许。 3。/plot set perm outsider switch off ,意思为,不允许陌生人在属于自己的区块防卫内使用踏板,按钮等开关,最后off改成on则为允许。
    最后。。。
    /plot toggle [pvp/fire/explosion/mobs] 命令,设置自己所属区块,是否可以爆破,火势蔓延,生成怪物的开关。
    有的童鞋可能用过城镇插件,会问:咦,童鞋,不是还有/towny命令么,你怎么不写呀??实话是,/towny命令,我平时也很少用到,里面都是一些功能性的东西,个人感觉没什么必要说,实在有强迫症的童鞋,只能自己试试了,额呵呵!
    继续进入正题
    输入:/townyadmin ?
    /townyadmin 命令,会显示townyadmin的管理面板,会有一些服务器的信息提示。/townyadmin set 命令,这个命令就不截图了直接举例:/townyadmin set mayor test happy ,意思是将test城市市长设置(变更)为ID为happy的玩家
    /townyadmin unclaim 命令,强制放弃任何城市当前所在位置的区块。
    /townyadmin town/nation 命令,这个命令相当于市长命令,只不过升级城了管理员命令,可以针对某个城市去经行操作。学会市长命令的童鞋看这个不会觉得困难。
    /townyadmin toggle 命令,正对一些参数的开关。
    /townyadmin givebonus [town/players] [num] 命令,给予某个已有城市或者玩家一个小镇。
    /townyadmin reload 命令,这个不解释。
    /townyadmin reset 命令,初始化插件配置。
    /townyadmin backup 命令,备份插件配置已经数据。
    /townyadmin newday 命令,重新开始新的一天,其实就是收税!!!
    /townyadmin purge [number of days] 命令,收回天内没有上线的玩家所有所属的地皮,例:/townyadmin purge 10 ,你懂的!!
    /townyadmin delete [].....[] 命令,可以指定删除某个城市或者国家。
    第一步:找到合适的地理位置新建城市
    /town new XXXX
    PS:建立成功后,当前所在区块为城市中心,会出现一个[home]字样
    第二部:开始往周边扩展区块,进行声明。
    /town claim
    PS:声明区块必须区块与区块之间互连,否则会提示选择区域不相连。
    第三部:出售声明过的区块给其他玩家。
    /plot forsale XXXXX
    PS:站在已声明过的区块上,输入此命令,即可挂牌出售。
    第四部:玩家购买
    /plot claim
    PS:站在挂牌出售的区块上,输入此命令,只要Money足够,这块地皮就是你的了!
    # towny.claimed.build : User can build in all towns.
    # towny.claimed.destroy : User can destroy in all towns.
    # towny.claimed.switch : User can switch in all towns.
    # towny.claimed.item_use : User can use use items in all towns.
    # towny.claimed.alltown.* : 允许用户在所有的城市内进行任何操作
    # towny.claimed.alltown.build.[block id]
    # towny.claimed.alltown.destroy.[block id]
    # towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
    # towny.claimed.alltown.item_use.[block id]
    # towny.claimed.owntown.* : 允许用户在自己的地皮上进行任何操作
    # towny.claimed.owntown.build.[block id]
    # towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
    # towny.claimed.owntown.switch.[block id]
    # towny.claimed.owntown.item_use.[block id]
    # towny.claimed.townowned.* : User is able to edit specified/all block types in their towns owned plots (Town only, not resident owned).
    # towny.claimed.townowned.build.[block id]
    # towny.claimed.townowned.destroy.[block id] : (handy to allow clearing of snow '78' on town owned roads/plots)
    # towny.claimed.townowned.switch.[block id]
    # towny.claimed.townowned.item_use.[block id]
    #
    # towny.town.spawn.*: 允许用户使用/town spawn 命令到任何城市
    # towny.town.spawn.town : Ability to spawn to your own town.
    # towny.town.spawn.nation : Ability to spawn to other towns in your nation.
    # towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
    # towny.town.spawn.public : Ability to spawn to unaffilated public towns.
    #
    # these will be moved to permissions nodes at a later date
    permissions:
    town_creation_admin_only: 'false' 不允许管理组新建城镇
    nation_creation_admin_only: 'false' 不允许管理组新建国家


    IP属地:上海2楼2015-10-18 23:23
    回复


      3楼2016-01-04 20:16
      回复
        a


        4楼2016-01-04 20:16
        回复
          a


          5楼2016-01-04 20:16
          回复