Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

ZPermissions a czat - prefix'y


aggankx

Rekomendowane odpowiedzi

Opublikowano

Chodzi mi o to by wyświetlały się wszystkie prefixy a nie tylko ten o najwyższej wadze.. co muszę zmienić ? gdzie ustawić?

Opublikowano

@1361622928-U485574.pngDevEverest

 

Zpermissions config

 

 

config-version: 18

# Enable database support. Disabling database support switches
# zPermissions to its flat-file-based permissions store.
database-support: true

# Set to true if this server should be in read-only mode. Only valid when
# actually using a database. If set to read-only, the database account
# for this server should also be granted read-only permissions on
# zPermissions tables. (Not strictly required though.)
database-read-only: false

# Whether region-based permissions are enabled. Requires a region plugin such
# as WorldGuard or Residence. Setting this to false will save some processing
# if you use a region plugin but don't use region-based permissions. Has no
# effect if a region plugin is not present.
region-support: true

# Groups may have a group permission node automatically assigned to their
# members. This is the name of that permission node. It must be a string
# suitable for Java's String.format() with one argument: the group name.
# Omit or leave blank ('') to disable this feature.
# This may also be a list of strings to automatically assign multiple
# permissions.
group-permission: group.%s

# Similar to group-permission, but only applied to "assigned" groups (groups
# that the player is explicitly a member of, including the default group, but
# not any inherited groups).
# Omit or leave blank ('') to disable this feature.
# This may also be a list of strings to automatically assign multiple
# permissions.
assigned-group-permission: ''

# Set to false if you want your assigned-group-permission (above) to never
# include the default group.
assigned-groups-can-include-default: true

# The default group. Players that are not explicitly members of any group
# are considered members of this group.
default-group: default

# The default track. When the track name is omitted while using the /promote,
# /demote, /setrank, and /unsetrank commands, this is the track used.
default-track: default

# Directory where to load/store dumps. If this is not an absolute path, it
# will be interpreted as relative to the server root.
dump-directory: zPermissions-dumps

# Default timeout for temporary permissions, in seconds
default-temp-permission-timeout: 60

# Track definitions. Each key should be the name of the track. The value
# should be a list of group names in ascending order.
tracks:
  default:
  - default
  - somegroup
  - someothergroup

# Name of the track used to determine a player's "primary group," a
# concept often used by other plugins via the native API or Vault. A
# player that does not have a track explicitly set via the
# /permissions .. player .. settrack command will use this track
# instead. Leave blank ('') to disable and use the highest-weight group
# as the primary group.
default-primary-group-track: ''

# If any problems occur while determining a player's permissions (e.g.
# SQLExceptions, network errors, etc.), kick the player. This may be more
# desirable to having the user have free reign with indeterminate permissions.
kick-on-error: true

# Only valid if kick-on-error is true. If a problem occurs while determining
# an op's permissions, then the op will only be kicked if this is true.
kick-ops-on-error: false

# Interval, in minutes, in which to automatically refresh permissions from
# the database. Set to a non-positive number to disable. Has no effect on
# the flat-file storage method. DO NOT SET IT TOO LOW. Otherwise you run
# the risk of refreshes overlapping or permissions changes inexplicably
# being "forgotten."
# Unless you have an external process modifying zPermissions tables, you
# should have no need to enable this feature! (And even then, its use is
# questionable...)
auto-refresh-interval: -1

# By default, the refreshes set by auto-refresh-interval are conditional.
# That is, the refreshes do not actually occur unless the data version
# number (found in the table named DATA_VERSION by default) is different.
# Set this to true if you wish to perform an unconditional refresh instead.
# (Prior to 1.1, the refreshes were always unconditional.)
auto-refresh-force: false

# Determines how inherited groups and assigned groups are resolved. When
# true, each assigned group is fully resolved (itself + all ancestors)
# before applying its permissions in assignment priority. (That is, groups
# are flattened before being applied.) When false, all assigned groups and
# their ancestor groups are treated as individual groups and are applied
# in "topological order." <http://en.wikipedia.org/wiki/Topological_sorting>
opaque-inheritance: true

# Determines when to apply player permissions. If true, player permissions
# are interleaved with group-resolved permissions at every "level"
# (universal, world, region, region/world). If false, all player permissions
# are applied once all group permissions have been applied.
interleaved-player-permissions: false

# If true, rank commands will broadcast changes to admins by default.
# Otherwise, rank commands will broadcast to players with a custom
# permission, e.g. zpermissions.notify.promote, etc.
rank-admin-broadcast: false

# If region-support is enabled, this is the order in which region manager
# plugins will be detected. The first plugin detected will be used.
region-managers:
- WorldGuard
- Residence
- Factions

# If true, metadata resolution will follow group inheritence rules, exactly
# like permissions.
inherited-metadata: false

# If true, the Vault bridges included with zPermissions are used. If false,
# the bridges that come with Vault are used. Has no effect if Vault is not
# installed. The included ("native") bridges will almost always certainly
# be more advanced/featureful. However, the option to turn them off is
# provided should there be any compatibility problems.
native-vault-bridges: true

# If true, the Vault Chat API methods getPlayerPrefix() and getPlayerSuffix()
# will fall back to the player's primary group's prefix/suffix. Only matters
# if native-vault-bridges is true. This should be enabled if you use a
# chat formatting plugin that does not perform this fallback behavior
# itself.
vault-prefix-includes-group: true

# If true, the Vault Chat API methods getPlayerInfo*() will fall back to the
# player's primary group's metadata. Only matters if native-vault-bridges
# is true. This should be enabled if you use a metadata-using plugin
# that does not perform this fallback behavior itself. Note it will affect
# all Vault-using plugins.
vault-metadata-includes-group: true

# Affects the behavior of the Vault Permission playerInGroup() method. If
# true, playerInGroup() will only test against assigned groups. Otherwise,
# it will test against assigned groups and their inherited ancestor groups.
# Only matters if native-vault-bridges is true.
vault-group-test-uses-assigned-only: false

# Affects the behavior of the Vault Permission getPlayerGroups() method.
# If true, getPlayerGroups() will only return assigned groups. Otherwise,
# it will return assigned groups and their inherited ancestor groups.
# Only matters if native-vault-bridges is true.
vault-get-groups-uses-assigned-only: false

# Specify a totally customized player prefix. Use an empty string to disable.
# The following tokens in the format string are recognized:
# %p - The player's prefix/suffix
# %g - The player's primary group's prefix/suffix
# %a - The prefixes/suffixes of *all* the player's groups. Affected by
# vault-get-groups-uses-assigned-only above.
# %A - Same as %a, but the with the order reversed.
# To merge player and primary group prefixes/suffixes, you might set
# vault-player-prefix-format to '%g%p' and vault-player-suffix-format to
# '%p%g'
vault-player-prefix-format: ''

# Same as vault-player-prefix-format, but for the player's suffix.
vault-player-suffix-format: ''

# If true, any permissions/membership/metadata changes made through Vault
# are logged at INFO level. Otherwise, they are logged at FINE (debug).
log-vault-changes: true

# Enable debug logging.
debug: false

 

 

 

Essentials chat config

 

 

############################################################
# +------------------------------------------------------+ #
# |                   EssentialsChat                     | #
# +------------------------------------------------------+ #
############################################################

chat:

  # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
  # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
  # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
  # Users with essentials.chat.question can override this by prefixing text with a question mark (?)
  # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
  radius: 0

  # Chat formatting can be done in two ways, you can either define a standard format for all chat.
  # Or you can give a group specific chat format, to give some extra variation.
  # If set to the default chat format which "should" be compatible with ichat.
  # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting

  format: '{DISPLAYNAME}&a:&7&o {MESSAGE}'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

  group-formats:
  #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
  #  Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'

  # If you are using group formats make sure to remove the '#' to allow the setting to be read.

 

 

 

rangi na serwerze: Admin, A

 

mam obie i pisze tylko Admin a nie Admin A

 

jak mam A to pisze A jak mam Admin pisze admin a jak mam Admin A pisze tylko Admin

Opublikowano

Zamień na:
 

############################################################
# +------------------------------------------------------+ #
# |                   EssentialsChat                     | #
# +------------------------------------------------------+ #
############################################################
chat:
  # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
  # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
  # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
  # Users with essentials.chat.question can override this by prefixing text with a question mark (?)
  # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
  radius: 0
  # Chat formatting can be done in two ways, you can either define a standard format for all chat.
  # Or you can give a group specific chat format, to give some extra variation.
  # If set to the default chat format which "should" be compatible with ichat.
  # For more information of chat formatting, check out the wiki: http://wiki.ess3.net...Chat_Formatting
  format: '{DISPLAYNAME}&a:&7&o {MESSAGE}'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
  group-formats:
    Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
    Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
  # If you are using group formats make sure to remove the '#' to allow the setting to be read.
Opublikowano

@MrFretko

 

zupełnie nie o to mi chodzi.

 

Mi chodzi o to by wyświetlało wszystkie rangi nawet jak dam komuś ich 10 a nie by admin miał dodatkowy napis prócz rangi że jest adminem...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...