Residence - skupiny

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Rupynator
Příspěvky: 185
Registrován: 29 srp 2014, 19:54
Reputation: 0

Residence - skupiny

#1 Příspěvekod Rupynator » 13 zář 2014, 17:44

Server: 93.91.250.122:27844

Ahoj, prosím o radu.
Potřeboval bych, aby různá skupina v PEX měla různé MaxResidences.
Jak toho v cfg resky docílím? Nejspíš to zapíšu sem -

Kód: Vybrat vše

# These groups correspond to the Permissions groups defined in your '<worldname>.yml'
Groups:
    Default: #group name
       # Information about the Residence zone that the player can define.
       #Uncomment the lines below to mirror this config to other groups.
       #Mirror:
         #- 'group1'
         #- 'group2'
       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: 2
           # 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: 50
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 50
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 50
           # The lowest altitude this group is allowed to protect.
           MinHeight: 5
           # The highest altitude this group is allowed to protect.
           MaxHeight: 255
            # 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: true
           # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
           Unstuck: true
           # 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


.. ale nevím jak, můžete mi hodit příklad, jak to správně zapsat? Díky.
Nezapomeň odměnit karmou ty, kteří ti pomohli vyřešit problém.

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: Residence - skupiny

#2 Příspěvekod Smexhy » 13 zář 2014, 17:47

Záleží od toho, aký názov máš v PEXoch...tak napr.:

Kód: Vybrat vše

Default: #group name - Meno tvojej skupiny v PEXoch, napr. VIP
       # Information about the Residence zone that the player can define.
       #Uncomment the lines below to mirror this config to other groups.
       #Mirror:
         #- 'group1'
         #- 'group2'
       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: 2 #Tu si zmeň počet koľko RESiek môže vytvoriť táto skupina
           # 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: 50
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 50
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 50
           # The lowest altitude this group is allowed to protect.
           MinHeight: 5
           # The highest altitude this group is allowed to protect.
           MaxHeight: 255
            # 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: true
           # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
           Unstuck: true
           # 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


...Tu si to nastav a prepíš...ostatné skupiny už dávaj za sebou pod to...

Uživatelský avatar
Rupynator
Příspěvky: 185
Registrován: 29 srp 2014, 19:54
Reputation: 0

Re: Residence - skupiny

#3 Příspěvekod Rupynator » 13 zář 2014, 17:50

Tohle vím, ale nevím jak to přesně zapsat..

Dejme tomu, že skupiny se jmenuji Premium, VIP a ExtraVIP a kazda ma mit jiny pocet povolenych resek.. jak to zapsat?
Nezapomeň odměnit karmou ty, kteří ti pomohli vyřešit problém.

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: Residence - skupiny

#4 Příspěvekod Smexhy » 13 zář 2014, 18:21

Napr. takto:

Kód: Vybrat vše

# These groups correspond to the Permissions groups defined in your '<worldname>.yml'
Groups:
    Premium:
       # Information about the Residence zone that the player can define.
       #Uncomment the lines below to mirror this config to other groups.
       #Mirror:
         #- 'group1'
         #- 'group2'
       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: 4
           # 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: 50
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 50
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 50
           # The lowest altitude this group is allowed to protect.
           MinHeight: 5
           # The highest altitude this group is allowed to protect.
           MaxHeight: 255
            # 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: true
           # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
           Unstuck: true
           # 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
Naposledy upravil(a) Smexhy dne 13 zář 2014, 18:30, celkem upraveno 1 x.

Uživatelský avatar
Rupynator
Příspěvky: 185
Registrován: 29 srp 2014, 19:54
Reputation: 0

Re: Residence - skupiny

#5 Příspěvekod Rupynator » 13 zář 2014, 18:23

Ale to by Premium byl default a default musí být normální hráč :D
Nezapomeň odměnit karmou ty, kteří ti pomohli vyřešit problém.

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: Residence - skupiny

#6 Příspěvekod Smexhy » 13 zář 2014, 18:26

Miesto toho "default" si môžeš dať čo chceš, dôležitá je tá časť za tým a tá musí byť podľa PEX.yml

Uživatelský avatar
Rupynator
Příspěvky: 185
Registrován: 29 srp 2014, 19:54
Reputation: 0

Re: Residence - skupiny

#7 Příspěvekod Rupynator » 13 zář 2014, 18:28

Už mi to funguje, vyřešil jsem to takto -

Kód: Vybrat vše

   Default: #group name
       # Information about the Residence zone that the player can define.
       #Uncomment the lines below to mirror this config to other groups.
       #Mirror:
         #- 'group1'
         #- 'group2'
       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: 2
           # 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: 100
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 100
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 256
           # The lowest altitude this group is allowed to protect.
           MinHeight: 0
           # The highest altitude this group is allowed to protect.
           MaxHeight: 255
            # 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: true
           # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
           Unstuck: true
           # 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: Welcome %player to %residence, owned by %owner.
           # The default leave message to apply to new Residences created by players in this group.
           # Leaving the message blank will disable it.
           DefaultLeave: Now leaving %residence.
       # 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

Celé toto jsem zkopíroval pod kód znova a místo "Default" jsem napsal "Premium". Pak si jednoduše změnil počet povolených resek.

LOCK

//LOCK
Nezapomeň odměnit karmou ty, kteří ti pomohli vyřešit problém.


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 24 hostů