小本
为什么Residence 除了手动设置在领地插件里的职位
我想用命令来设置他的权限职位有什么办法吗


我的config.yml


  1. #These are Global Settings for Residence.
  2. Global:
  3.     # This loads the <language>.yml file in the Residence Language folder
  4.     # All Residence text comes from this file. (NOT DONE YET)
  5.     Language: English
  6.     # Wooden Hoe is the default selection tool for Residence.
  7.     # You can change it to another item ID listed here: http://www.minecraftwiki.net/wiki/Data_values
  8.     SelectionToolId: 290
  9.     # This determins which tool you can use to see info on residences, default is String.
  10.     # Simply equip this tool and hit a location inside the residence and it will display the info for it.
  11.     InfoToolId: 287
  12.     # The interval, in milliseconds, between movement checks.
  13.     # Reducing this will increase the load on the server.
  14.     # Increasing this will allow players to move further in movement restricted zones before they are teleported out.
  15.     MoveCheckInterval: 500
  16.     # The interval, in minutes, between residence saves.
  17.     SaveInterval: 10
  18.     # The default group to use if Permissions fails to attach or your not using Permissions.
  19.     DefaultGroup: default
  20.     # Enable / Disable the Lease System.
  21.     UseLeaseSystem: false
  22.     # The interval, in minutes, between residence lease checks (if leases are enabled).
  23.     LeaseCheckInterval: 10
  24.     # Allows leases to automatically renew so long as the player has the money, if economy is disabled, this setting does nothing.
  25.     LeaseAutoRenew: true
  26.     # Whether or not to use the Permissions system in conjunction with this config.
  27.     EnablePermissions: true
  28.     # Set to true if NOT using Permissions or PermissionsBukkit, or using a really old version of Permissions
  29.     LegacyPermissions: false
  30.     # Enable / Disable Residence's Economy System (iConomy, MineConomy, Essentials, BOSEconomy, and RealEconomy supported).
  31.     EnableEconomy: true
  32.     # Enables or disables the Rent System
  33.     EnableRentSystem: true
  34.     # The interval, in minutes, between residence rent expiration checks (if the rent system is enabled).
  35.     RentCheckInterval: 10
  36.     # Enable or disable residence chat channels.
  37.     ResidenceChatEnable: true
  38.     # Color of residence chat.
  39.     ResidenceChatColor: DARK_PURPLE
  40.     # Whether or not to ignore the usual Permission flags and only allow OPs and groups with 'residence.admin' to change residences.
  41.     AdminOnlyCommands: false
  42.     # Setting this to true makes server OPs admins.
  43.     AdminOPs: true
  44.     # This is the name of the plugin you use for multiworld, if you dont have a multiworld plugin you can safely ignore this.
  45.     # The only thing this does is check to make sure the multiworld plugin is enabled BEFORE Residence, to ensure properly loading residences for other worlds.
  46.     MultiWorldPlugin: Multiverse-Core
  47.     # Setting this to true causes subzones to inherit flags from their parent zones.
  48.     ResidenceFlagsInherit: true
  49.     # Setting this to false will allow rented residences to be modified by the renting player.
  50.     PreventRentModify: true
  51.     # Setting this to false will cause residence to continue to load even if a error is detected in the save file.
  52.     StopOnSaveFault: true
  53.     # This is the residence name filter, that filters out invalid characters.  Google "Java RegEx" or "Java Regular Expressions" for more info on how they work.
  54.     ResidenceNameRegex: '[^a-zA-Z0-9\\-\\_]'
  55.     # Setting this to true sends a message to the console every time Residence does a rent expire check or a lease expire check.
  56.     ShowIntervalMessages: false
  57.     # Experimental - The following settings are lists of block IDs to be used as part of the checks for the "container" and "use" flags when using mods.
  58.     CustomContainers: []
  59.     CustomBothClick: []
  60.     CustomRightClick: []
  61.     # These are world flags that are applied when the player is NOT within a residence.
  62.     Flags:
  63.         Global: #these are default for all worlds unless specified below, they can be overridden per group
  64.             use: true
  65.             build: true
  66.             ignite: true
  67.             firespread: true
  68.             damage: true
  69.             creeper: true
  70.             tnt: true
  71.             pvp: true
  72.         WorldNameHere: #here you can set flags for individual worlds, these override Global
  73.             #build: true
  74.     # This gives permission to change certain flags to all groups, unless specifically denied to the group.
  75.     FlagPermission:
  76.         move: true
  77.         build: true
  78.         place: true
  79.         destroy: true
  80.         use: true
  81.         container: true
  82.         pvp: true
  83.         tp: true
  84.         ignite: true
  85.         firespread: true
  86.         bucket: true
  87.         flow: true
  88.         lavaflow: true
  89.         waterflow: true
  90.         creeper: true
  91.         tnt: true
  92.         monsters: true
  93.         animals: true
  94.         subzone: true
  95.         healing: true
  96.         piston: true
  97.         diode: true
  98.         lever: true
  99.         button: true
  100.         door: true
  101.         table: true
  102.         enchant: true
  103.         brew: true
  104.         bed: true
  105.         cake: true
  106.         note: true
  107.         trample: false
  108.         burn: true
  109.         explode: false
  110.         fireball: true
  111.     # These are default flags applied to all residences from any user group.
  112.     ResidenceDefault:
  113.         build: false
  114.         use: false
  115.         container: false
  116.         pvp: false
  117.         tnt: false
  118.         creeper: false
  119.         flow: false
  120.         piston: false
  121.         ignite: false
  122.         firespread: false
  123.     # These are default flags applied to the residence creator of any group.
  124.     CreatorDefault:
  125.         build: true
  126.         move: true
  127.         use: true
  128.         ignite: true
  129.         container: true
  130.      # These are default group flags applied to a residence made by a user of any group.
  131.     GroupDefault:
  132.         #default: #group name
  133.             #build: true
  134.    
  135. # These groups correspond to the Permissions groups defined in your '<worldname>.yml'
  136. Groups:
  137.     Default: #group name
  138.        # Information about the Residence zone that the player can define.
  139.        #Uncomment the lines below to mirror this config to other groups.
  140.        #Mirror:
  141.          #- 'group1'
  142.          #- 'group2'
  143.        Residence:
  144.            # Determins if this group can create residences or not.  This option can be overriden with the permissions node 'residence.create'
  145.            CanCreate: true
  146.            # The maximum number of Residences a player can have.
  147.            MaxResidences: 3
  148.            # The maximum number of physical areas a residence can have.
  149.            MaxAreasPerResidence: 2
  150.            # The maximum number of blocks a Residence can be, East to West (X).
  151.            MaxEastWest: 16
  152.            # The maximum number of blocks a Residence can be, North to South (Z).
  153.            MaxNorthSouth: 16
  154.            # The maximum number of blocks a Residence can be, High to Low (Y).
  155.            MaxUpDown: 256
  156.            # The lowest altitude this group is allowed to protect.
  157.            MinHeight: 0
  158.            # The highest altitude this group is allowed to protect.
  159.            MaxHeight: 255
  160.             # The maximum recursive depth that subzones can go.
  161.             # A subzone within a subzone within the Residence zone would be a depth of 2.
  162.             # Set to 0 to disable subzones.
  163.            SubzoneDepth: 3
  164.            # Whether or not to allow teleporting to Residences.
  165.            CanTeleport: true
  166.            # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
  167.            Unstuck: true
  168.            # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
  169.            SelectCommandAccess: true
  170.            # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
  171.            ItemListAccess: true
  172.        # Options relating to enter and leave messages on the residence.
  173.        Messaging:
  174.            # Whether or not the player can change the Residence enter and leave messages.
  175.            CanChange: true
  176.            # The default enter message to apply to new Residences created by players in this group.
  177.            # Leaving the message blank will disable it.
  178.            DefaultEnter: Welcome %player to %residence, owned by %owner.
  179.            # The default leave message to apply to new Residences created by players in this group.
  180.            # Leaving the message blank will disable it.
  181.            DefaultLeave: Now leaving %residence.
  182.        # Options relating to the Lease system.
  183.        Lease:
  184.           # The maximum number of days to allow leases.
  185.           MaxDays: 16
  186.           # The number of days to add to the lease following a '/res lease renew' command.
  187.           RenewIncrement: 14
  188.        #Options related to the rent system
  189.        Rent:
  190.            #determines how many residences can be rented by players of this group at once
  191.            MaxRents: 3
  192.            #determines how many residences can be set for rent by players of this group at once
  193.            MaxRentables: 3
  194.        # Options relating to the Residence Economy.
  195.        Economy:
  196.           # Whether or not players in this group can buy other Residences that are for sale.
  197.           CanBuy: true
  198.           # Whether or not players in this group can sell their Residences.
  199.           CanSell: false
  200.           # Whether or not to ignore the Residence size/count limits when buying a residence.
  201.           IgnoreLimits: false
  202.           # The cost, per block, of making a new Residence or adding a area to it.
  203.           BuyCost: 0.05
  204.           # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
  205.           RenewCost: 0.02
  206.        # Flags are checked in the order:
  207.        # 1: Player
  208.        # 2: Group
  209.        # 3: Owner
  210.        # 4: If all others are undefined, reverts to default value (usually true).
  211.        # Flag permissions default to false.
  212.        # These flags settings override the globals.
  213.        Flags:
  214.           # Specifically allow or deny this group from changing certain flags.
  215.           Permission:
  216.                #build: true
  217.           # Specifys the flags that are applied at residence creation for players of this group.
  218.           Default:
  219.               #build: true
  220.           # Specifys the flags that are applied at to the creator at residence creation.
  221.           CreatorDefault:
  222.               #build: true
  223.           # Specifys the flags that are applied to other groups for this residence, at creation.
  224.           GroupDefault:
  225.                #default: #group name
  226.                    #build: false
  227.           #these flags are applied specifically to this group whenever they are outside a residence
  228.           #these flags will override the flags at the top, under the Global section.
  229.           World:
  230.                 Global: #these flags will apply to all worlds
  231.                      #build: false
  232.                 WorldNameHere: #or you can apply them by each individual world
  233.                      #build: false

  234.     VIP: #group name
  235.        # Information about the Residence zone that the player can define.
  236.        #Uncomment the lines below to mirror this config to other groups.
  237.        #Mirror:
  238.          #- 'group1'
  239.          #- 'group2'
  240.        Residence:
  241.            # Determins if this group can create residences or not.  This option can be overriden with the permissions node 'residence.create'
  242.            CanCreate: true
  243.            # The maximum number of Residences a player can have.
  244.            MaxResidences: 10
  245.            # The maximum number of physical areas a residence can have.
  246.            MaxAreasPerResidence: 2
  247.            # The maximum number of blocks a Residence can be, East to West (X).
  248.            MaxEastWest: 32
  249.            # The maximum number of blocks a Residence can be, North to South (Z).
  250.            MaxNorthSouth: 32
  251.            # The maximum number of blocks a Residence can be, High to Low (Y).
  252.            MaxUpDown: 256
  253.            # The lowest altitude this group is allowed to protect.
  254.            MinHeight: 0
  255.            # The highest altitude this group is allowed to protect.
  256.            MaxHeight: 255
  257.             # The maximum recursive depth that subzones can go.
  258.             # A subzone within a subzone within the Residence zone would be a depth of 2.
  259.             # Set to 0 to disable subzones.
  260.            SubzoneDepth: 3
  261.            # Whether or not to allow teleporting to Residences.
  262.            CanTeleport: true
  263.            # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
  264.            Unstuck: true
  265.            # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
  266.            SelectCommandAccess: true
  267.            # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
  268.            ItemListAccess: true
  269.        # Options relating to enter and leave messages on the residence.
  270.        Messaging:
  271.            # Whether or not the player can change the Residence enter and leave messages.
  272.            CanChange: true
  273.            # The default enter message to apply to new Residences created by players in this group.
  274.            # Leaving the message blank will disable it.
  275.            DefaultEnter: Welcome %player to %residence, owned by %owner.
  276.            # The default leave message to apply to new Residences created by players in this group.
  277.            # Leaving the message blank will disable it.
  278.            DefaultLeave: Now leaving %residence.
  279.        # Options relating to the Lease system.
  280.        Lease:
  281.           # The maximum number of days to allow leases.
  282.           MaxDays: 16
  283.           # The number of days to add to the lease following a '/res lease renew' command.
  284.           RenewIncrement: 14
  285.        #Options related to the rent system
  286.        Rent:
  287.            #determines how many residences can be rented by players of this group at once
  288.            MaxRents: 3
  289.            #determines how many residences can be set for rent by players of this group at once
  290.            MaxRentables: 3
  291.        # Options relating to the Residence Economy.
  292.        Economy:
  293.           # Whether or not players in this group can buy other Residences that are for sale.
  294.           CanBuy: true
  295.           # Whether or not players in this group can sell their Residences.
  296.           CanSell: false
  297.           # Whether or not to ignore the Residence size/count limits when buying a residence.
  298.           IgnoreLimits: false
  299.           # The cost, per block, of making a new Residence or adding a area to it.
  300.           BuyCost: 0.05
  301.           # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
  302.           RenewCost: 0.02
  303.        # Flags are checked in the order:
  304.        # 1: Player
  305.        # 2: Group
  306.        # 3: Owner
  307.        # 4: If all others are undefined, reverts to default value (usually true).
  308.        Flags:
  309.           # Specifically allow or deny this group from changing certain flags.
  310.           Permission:
  311.                #build: true
  312.           # Specifys the flags that are applied at residence creation for players of this group.
  313.           Default:
  314.               #build: true
  315.           # Specifys the flags that are applied at to the creator at residence creation.
  316.           CreatorDefault:
  317.               #build: true
  318.           # Specifys the flags that are applied to other groups for this residence, at creation.
  319.           GroupDefault:
  320.                #default: #group name
  321.                    #build: false
  322.           #these flags are applied specifically to this group whenever they are outside a residence
  323.           #these flags will override the flags at the top, under the Global section.
  324.           World:
  325.                 Global: #these flags will apply to all worlds
  326.                      #build: false
  327.                 WorldNameHere: #or you can apply them by each individual world
  328.                      #build: false

  329. # You can manually specify the group a player is in below, this overrides their permissions group.
  330. GroupAssignments:
  331.      bekvon: default
  332.      player: default
  333.      davichi: vip

  334. ItemList: #this is where you can create blacklists / whitelists
  335.      DefaultList: #list name is not important, as long as it is unique. Its good to use a descripive name.
  336.         #type of the list, can be blacklist, whitelist, or ignorelist
  337.         Type: blacklist
  338.         #If you want, you can have this list only apply to one world, otherwise it applys to all worlds
  339.         #World: world
  340.         #You can also have the list apply only to one group, otherwise it applys for all groups
  341.         #Group: default
  342.         #this is the actual list of material names that this list allows or dissallows
  343.         #You can look up the material name by item ID in game by typing /res material <id>
  344.         #Alternativly, you can simply use the item ID in the list, but its less descriptive and harder to see what the list allows or dissallows at a glance
  345.         Items:
  346.            - 'BEDROCK'
  347.            - 'LAVA'
  348.            - 'WATER'
  349.            - 'STATIONARY_LAVA'
  350.            - 'STATIONARY_WATER'
  351.            - 'MOB_SPAWNER'
  352. # Used to determine which major revision of Residence this config is from, dont change this.
  353. ResidenceVersion: 2
复制代码




Greensky
应该是,这样的。就像设置领地价格也要在这里设置

小本
henry5041 发表于 2013-9-22 10:01
应该是,这样的。就像设置领地价格也要在这里设置

哦谢谢~但我的问题不是这个....是---命令来设置他的权限职位---

Greensky
小本 发表于 2013-9-22 11:13
哦谢谢~但我的问题不是这个....是---命令来设置他的权限职位---

额,我不是这个意思。。。我的意思是领地插件很多功能都要在config里改,在客户端上是改不了的,除非c自己编写一个插件可以用客户端改config文件

第一页 上一页 下一页 最后一页