SlotGroups

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Welton123
Příspěvky: 2388
Registrován: 08 úno 2012, 17:54
Reputation: 0
Kontaktovat uživatele:

SlotGroups

#1 Příspěvekod Welton123 » 22 lis 2012, 17:36

PODPIS

Ahoj, poprosil bych někoho, kdo se vyzná v pluginu slotgroups. Potřebuji nastavit aby z 25 slotů bylo 5 slotů pro VIP a zbytek 20 slotů pro hráče. Dále aby když yb bylo těch 20 slotů plných aby to hraci, co se chce připojit napsalo: Server je plny. Pro pripojeni navstiv http://weltcraft.eu/vip.php a pokud bude zaplněno i těch 5 slotů aby to vipcku napsalo: Server je plný, Počkej, dokud se neodpojí VIP hráč. Předem děkuji :-)

config.yml:

Spoiler: zobrazit

Kód: Vybrat vše

#
# SlotGroups config file.
# v0.2.3a
#
settings:
# This option is only here to help with a Permissions 3 SQL issue.
# If you're not running Permissions 3.x in SQL mode, ignore it.
#
# This is the group whose permissions are used if Permissions does not report
#   a group for a user.  This seems to happen in some cases with
#   Permissions 3.x and SQL databases.
  defaultgroup: Default

# This is where you define the slot groups.
# If you do not define any slot groups, the plugin will disable itself.
# The first one listed will be used as the default group, all users without any
#   slot group permissions will be put in this group.
# The list is checked from the bottom up, and will return the lowest slot on the
#   list a user has access to.
#
# Syntax:
# slots:
#   - name: Default
#     size: 25
#     message: 'The server is full.'
#     children: []
#     login: true
#     permission: default
#
# Name is the display name used for the slot group.
#
# Size is the number of slots in the group.
#
# Message is the kick message used when this group is full.
#
# Children is a list of groups that this group inherits from. Inheritence is
#   recursive, so don't add children that are already inherited by other children.
#
# Login determines if this group can login or not.  True is default and means
#   that slot group is allowing logins.  False will deny all users in that group
#   the ability to login.
#
# Override allows this user group to join even if the server is in lockdown mode.
#   For normal users, this defaults to false.  For users who have access to the
#   lockdown commands, this defaults to true.  You probably don't need to change this.
#
# Permission is the name of the permission node for this slot group, in the
#   format slotgroup.group.<name>
#   In the examaple above, the permission node would be slotgroup.group.default
#
# Below are the values I use on my server.

slots:
#All default/new users.  Lowest priority and least likely to be able to join.
  - name: Player
    size: 20
    message: "Full!"
    children: []
    permission: Player

#Admins.  Slots are greater than the number of admins, but inheritance is
#  enabled anyways.
  - name: Admin
    size: 2
    message: "Full!"
    children: ['Donator']
    permission: Admin
CZ/SK TOP Databáze MineCraft Serverů ►KLIK◄
Chceš i Ty mít měnící se podpis? ►KLIK◄

Uživatelský avatar
Welton123
Příspěvky: 2388
Registrován: 08 úno 2012, 17:54
Reputation: 0
Kontaktovat uživatele:

Re: SlotGroups

#2 Příspěvekod Welton123 » 23 lis 2012, 09:52

refresh :-(
CZ/SK TOP Databáze MineCraft Serverů ►KLIK◄
Chceš i Ty mít měnící se podpis? ►KLIK◄

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: SlotGroups

#3 Příspěvekod nejento » 23 lis 2012, 15:49

Kód: Vybrat vše

#All default/new users.  Lowest priority and least likely to be able to join.
  - name: Player
    size: 20
    message: "Full!"
    children: []
    permission: Player

#Admins.  Slots are greater than the number of admins, but inheritance is
#  enabled anyways.
  - name: Admin
    size: 2
    message: "Full!"
    children: ['Donator']
    permission: Admin


permission si nastav jméno té skupiny au size dej, kolik ta skupina bude mít přidělených slotů. Na to, aby to potom kickovalo i ostatní hráče, musíš použít třeba SimpleReserve a VIP dát permission na kicknutí hráče a na munitu proti kicknutí jiným VIP.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/

Uživatelský avatar
Welton123
Příspěvky: 2388
Registrován: 08 úno 2012, 17:54
Reputation: 0
Kontaktovat uživatele:

Re: SlotGroups

#4 Příspěvekod Welton123 » 25 lis 2012, 20:27

Takže pouze toto a nic do pexu davat nemam ?
CZ/SK TOP Databáze MineCraft Serverů ►KLIK◄
Chceš i Ty mít měnící se podpis? ►KLIK◄

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: SlotGroups

#5 Příspěvekod nejento » 25 lis 2012, 22:01

Ano. Ty skupiny, které si tak pojmenuješ, tak musíš dát těm hráčům dát permission slotgroups.group.<group>, kde doplníš do jaké skupiny ve SlotGroupu je to zařadí.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/


Zpět na „Minecraft, Tekkit“

Kdo je online

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