Stránka 1 z 1

Residence vers. Simplejail

Napsal: 10 kvě 2012, 08:25
od BBB
Server: 93.91.240.149:27769

Ahoj
Potřebuji poradit s nastavením Residencí. Potřebuji vyřešit zamezení použití příkazu /res tp jmenorezidence jedné konkrétní skupině hráčů. Plugin Simplejail po dobu uvěznění změní hráči skupinu (Group), pomocí PermissionsEx dokážu této nové skupině zakázat např. "útěk do mobarény" apod. U rezidencí jsem na nastavení oprávnění krátký. Předpokládám, že nastavovat budu v configu residence, předpokládám vytvořením nové skupiny. Pokud je moje úvaha správná? Tak tedy jak?

Re: Residence vers. Simplejail

Napsal: 10 kvě 2012, 16:03
od Sejsel
Stačí nastavit tohle v configu Residence:

Kód: Vybrat vše

           CanTeleport: false


----
EDIT:

Pokud chceš novou skupinu, stačí tohle překopírovat pod Groups: a nastavit si jaké jméno chceš. Doporučuju si s nastavením ještě pohrát..

Kód: Vybrat vše

    JMENOSKUPINY: #group name
       # Information about the Residence zone that the player can define.
       Residence:
           # Determins if this group can create residences or not.  This option can be overriden with the permissions node 'residence.create'
           CanCreate: true
           # The maximum number of Residences a player can have.
           MaxResidences: 1
           # The maximum number of physical areas a residence can have.
           MaxAreasPerResidence: 2
           # The maximum number of blocks a Residence can be, East to West (X).
           MaxEastWest: 30
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 30
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 258
           # The lowest altitude this group is allowed to protect.
           MinHeight: 0
           # The highest altitude this group is allowed to protect.
           MaxHeight: 257
            # The maximum recursive depth that subzones can go.
            # A subzone within a subzone within the Residence zone would be a depth of 2.
            # Set to 0 to disable subzones.
           SubzoneDepth: 3
           # Whether or not to allow teleporting to Residences.
           CanTeleport: false
           # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
           Unstuck: false
           # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
           SelectCommandAccess: true
           # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
           ItemListAccess: true
       # Options relating to enter and leave messages on the residence.
       Messaging:
           # Whether or not the player can change the Residence enter and leave messages.
           CanChange: true
           # The default enter message to apply to new Residences created by players in this group.
           # Leaving the message blank will disable it.
           DefaultEnter: Vitejte v residenci hrace %owner.
           # The default leave message to apply to new Residences created by players in this group.
           # Leaving the message blank will disable it.
           DefaultLeave: Opoustite residenci hrace %owner.
       # Options relating to the Lease system.
       Lease:
          # The maximum number of days to allow leases.
          MaxDays: 16
          # The number of days to add to the lease following a '/res lease renew' command.
          RenewIncrement: 14
       #Options related to the rent system
       Rent:
           #determines how many residences can be rented by players of this group at once
           MaxRents: 3
           #determines how many residences can be set for rent by players of this group at once
           MaxRentables: 3
       # Options relating to the Residence Economy.
       Economy:
          # Whether or not players in this group can buy other Residences that are for sale.
          CanBuy: true
          # Whether or not players in this group can sell their Residences.
          CanSell: false
          # Whether or not to ignore the Residence size/count limits when buying a residence.
          IgnoreLimits: false
          # The cost, per block, of making a new Residence or adding a area to it.
          BuyCost: 0.05
          # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
          RenewCost: 0.02
       # Flags are checked in the order:
       # 1: Player
       # 2: Group
       # 3: Owner
       # 4: If all others are undefined, reverts to default value (usually true).
       # Flag permissions default to false.
       # These flags settings override the globals.
       Flags:
          # Specifically allow or deny this group from changing certain flags.
          Permission:
               #build: true
          # Specifys the flags that are applied at residence creation for players of this group.
          Default:
              #build: true
          # Specifys the flags that are applied at to the creator at residence creation.
          CreatorDefault:
              #build: true
          # Specifys the flags that are applied to other groups for this residence, at creation.
          GroupDefault:
               #default: #group name
                   #build: false
          #these flags are applied specifically to this group whenever they are outside a residence
          #these flags will override the flags at the top, under the Global section.
          World:
                Global: #these flags will apply to all worlds
                     #build: false
                WorldNameHere: #or you can apply them by each individual world
                     #build: false

Re: Residence vers. Simplejail

Napsal: 10 kvě 2012, 16:25
od BBB
vyzkouším ...děkuji