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

PermissionsBukkit i Essentials Minecraft Beta 1.7.3


PLHerobrine

Rekomendowane odpowiedzi

Opublikowano

Siema. Mam problem z uprawnieniami na serwerze.
Mam CraftBukkit 1060 (wersja MC Beta 1.7.3).
Pluginy takie jak:
Essentials 2.5.8, EssentialsChat 2.5.8, EssentialsSpawn 2.5.8, PermissionsBukkit 1.2, LWC, AuthMe, MagicCarpet, WorldEdit 4.6(chyba) i WorldGuard 5.2.2

 

Problem jest taki, że chcę, aby Vip miał dostęp do komendy /heal oraz /kit vip.
Nadałem uprawnienia: /perm group setperm vip essentials.heal itd.

Niby w configu PermissionsBukkit jest dostęp do /heal dla vipa, ale kiedy vip wpisuje /heal lub właśnie ten /kit vip to mu wyskakuje:
You don't have permissions dla /heal, a dla /kit vip: You do not have access to that command.

Z góry informuję, że nie chcę się przerzucać na inne pluginy typu PeX lub bPermissions, ani EssentialsGroupManager.

config PermissionsBukkit:

 

debug: false
messages:
    build: '&cYou do not have permission to build here.'
groups:
    default:
        permissions:
            essentials.balance: true
            essentials.help: true
            essentials.helpop: true
            essentials.kit.gracz: true
            essentials.kits.gracz: true
            essentials.list: true
            essentials.motd: true
            essentials.msg: true
            essentials.pay: true
            essentials.rules: true
            essentials.signs.disposal.use: true
            essentials.spawn: true
            essentials.tpaccept: true
            essentials.tpdeny: true
            essentials.warp: true
            permissions.build: true
    wlasciciel:
        permissions:
            permissions.*: true
        inheritance:
        - user
    vip:
        permissions:
            essentials.cheat.heal: true
            essentials.clearinventory: true
            essentials.cooldown.bypass: true
            essentials.heal: true
            essentials.heal.others: true
            essentials.home: true
            essentials.kit.vip: true
            essentials.kits.vip: true
            essentials.me: true
            essentials.sethome: true
            essentials.signs.free.use: true
            essentials.teleport.cooldown.bypass: true
            essentials.teleport.timer.bypass: true
            essentials.tpa: true
            essentials.tpahere: true
            essentials.warp.list: true
            essentials.warps: true
            permissions.build: true
        inheritance:
        - default
    mod:
        permissions:
            essentials.kick: true
        inheritance:
        - vip
users:
    jozek:
        groups:
        - vip

chciałbym też dodać, że ranga właściciel też nie ma permisji...

Config Essentials:

 

############################################################
# +------------------------------------------------------+ #
# |                 Essentials (Global)                  | #
# +------------------------------------------------------+ #
############################################################

# A color code between 0-9 or a-f. Set to 'none' to disable.
ops-name-color: ''

# The character(s) to prefix all nicknames, so that you know they are not true usernames.
nickname-prefix: ''

# The delay, in seconds, required between /home, /tp, etc.
teleport-cooldown: 5

# The delay, in seconds, before a user actually teleports.  If the user moves or gets attacked in this timeframe, the teleport never occurs.
teleport-delay: 5

# The delay, in seconds, required between /heal attempts
heal-cooldown: 120

# The number of items given if the quantity parameter is left out in /item or /give.
default-stack-size: 64

# What to prevent from /i /give
# e.g item-spawn-blacklist: 46,11,10
item-spawn-blacklist:

# Set this to true if you want permission based item spawn rules
# Permissions:
#  - essentials.itemspawn.item-all
#  - essentials.itemspawn.item-[itemname]
#  - essentials.itemspawn.item-[itemid]
#  - essentials.give.item-all
#  - essentials.give.item-[itemname]
#  - essentials.give.item-[itemid]
permission-based-item-spawn: false

# Whether or not to reclaim memory on player logout; this is technical, and should only be changed under special circumstances.
# This generally increases server stability unless very specific runtime configurations are used.
# HOWEVER, it is known to cause lag upon users logging OUT, so beware!
reclaim-onlogout: false

# Should primitive spawn protection be enabled?  For most servers, this should be flase; it is better to use a third-party plugin to protect it.
spawn-protection: false

# Nether settings (switch between worlds with "/world nether" and "/world normal")
# Sets whether the nether system is enabled, what folder to save the world in, and whether portals should teleport players between worlds.
nether:
  enabled: false
  folder: nether
  portals-enabled: false
  generate-exit-portals: false
  ratio: 16

# Mob limit on spawnmob
spawnmob-limit: 10

#Shall we notify users when using /lightning
warn-on-smite: true

# The message of the day, displayed on connect and by typing /motd.
motd:
  - '&cSiemanko, {PLAYER}&c!'
  - 'Aktualni gracze: {PLAYERLIST}'

# The server rules, available by typing /rules
rules:
  - '&c1. Szanuj kazdego, szczegolnie administracje.'
  - '&c2. Uzywanie cheatow grozi banem na zawsze!'
  - '&c3. Na serwerze mozna przeklnac, ale rzadko.'
  - '&c4. Zakaz reklamowania innych serwerow/stron.'
  - '&c5. Wlasciciel Jozek ma zawsze racje!'
  
# When a command conflicts with another plugin, by default, Essentials will try to force the OTHER plugin to take
# priority.  If a command is in this list, Essentials will try to give ITSELF priority.  This does not always work:
# usually whichever plugin was updated most recently wins out.  However, the full name of the command will always work.
# For example, if WorldGuard and Essentials are both enabled, and WorldGuard takes control over /god, /essentials:god
# will still map to Essentials, whereas it might normally get forced upon WorldGuard.  Commands prefixed with an "e",
# such as /egod, will always grant Essentials priority.
# We should try to take priority over /god.  If this doesn't work, use
# /essentials:god or /egod.  If god is set using WorldGuard, use /ungod to remove then use whichever you see fit.
overridden-commands:
  - god

# Disabled commands will be completelly unavailable on the server.
disabled-commands:
# - nick

# Restricted commands will only be available to ops.
# These will have NO EFFECT if you have Permissions installed!
# These are here only if you want something simpler than Permissions.
restricted-commands:
  - bigtree
# Note: All items MUST be followed by a quantity!
# Times are measured in seconds.
kits:
  gracz:
    delay: 10800
    items:
      - 269 1
      - 270 1
      - 271 1
      - 357 8
  vip:
    delay: 259200
    items:
      - 257 1
      - 258 1
      - 256 1
      - 267 1
      - 320 2
# Disable all signs
signs-disabled: false

# Backup runs a command while saving is disabled
backup:
  # Interval in minutes
  interval: 60
  # Add a command that backups your data, e.g.
  # command: 'rdiff-backup World1 backups/World1'

# Set this true to enable permission per warp.
per-warp-permission: false

# Sort output of /list command by groups
sort-list-by-groups: false

# More output to the console
debug: false

# Set the locale for all messages
# If you don't set this, the default locale of the server will be used.
#locale: de_DE

############################################################
# +------------------------------------------------------+ #
# |                   EssentialsHome                     | #
# +------------------------------------------------------+ #
############################################################

# When users die, should they respawn at their homes, instead of the spawnpoint?
respawn-at-home: true

# When a user interacts with a bed, should their home be set to that location?
# If you enable this and remove default user access to the /sethome command, you can make beds the only way for players to set their home location.
bed-sethome: true

#if no home is set send you to spawn when /home is used
spawn-if-no-home: false


############################################################
# +------------------------------------------------------+ #
# |                   EssentialsEco                      | #
# +------------------------------------------------------+ #
############################################################

# Defines the balance with which new players begin.  Defaults to 0.
starting-balance: 100

# worth-# defines the value of an item when it is sold to the server via /sell.
# These are now defined in worth.yml

# Defines the cost to use the given commands PER USE
command-costs:
  # /example costs $1000 PER USE
  #example: 1000
  # /kit tools costs $1500 PER USE
  #kit-tools: 1500
 
# Set this to a currency symbol you want to use.
currency-symbol: '$'

############################################################
# +------------------------------------------------------+ #
# |                   EssentialsHelp                     | #
# +------------------------------------------------------+ #
############################################################

#Show other plugins commands in help
non-ess-in-help: true

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

# 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 (!)
# Or with essentials.chat.question can override this by prefixing text with a question mark (?)
chat:
  radius: 0
  
  # If set to the default chat format which "should" be compatible with ichat.
  format: '{DISPLAYNAME}: {MESSAGE}'
  #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'
  
  # You can also have group-specific formats, uncomment to enable:
  group-formats:
    default: '&7Gracz &8{DISPLAYNAME}&7:&f {MESSAGE}'
    vip: '&6Vip &b{DISPLAYNAME}&7:&e {MESSAGE}'
    wlasciciel: '&4Wlasciciel &a{DISPLAYNAME}&7:&c {MESSAGE}'
    moderator: '&aModerator &c{DISPLAYNAME}&7:&c {MESSAGE}'




############################################################
# +------------------------------------------------------+ #
# |                 EssentialsProtect                    | #
# +------------------------------------------------------+ #
############################################################

protect:
  # Database settings for sign/rail protection
  # get mysql.jar and sqlite and place it in your serverroot/lib directory from here:
  # http://java.net/projects/essentials/sources/svn/show/lib?rev=435

  # mysql, sqlite or none
  datatype: 'sqlite'

  # If you specified MySQL above, you MUST enter the appropriate details here.
  # If you specified SQLite above, these will be IGNORED.
  username: 'root'
  password: 'root'
  mysqlDb: 'jdbc:mysql://localhost:3306/minecraft'

  # For which block types would you like to be alerted?
  # You can find a list of IDs in plugins/Essentials/items.csv after loading Essentials for the first time.
  alert:
    # 10: lava
    # 11: still lava
    # 46: TNT
    on-placement: 10,11,46
    on-use: 
    # 46: TNT
    on-break: 46

  # Users cannot PLACE these types of blocks/items.
  # < 255 designates a BLOCK
  # > 255 designates an ITEM (Some blocks can be placed as blocks OR items; lava blocks can be placed by lava buckets, for example.)
  blacklist:
    placement:
    usage: 
    
    #prevent people from breaking blocks
    #break: 20,50
    break:


  # General physics/behavior modifications
  prevent:
    lava-flow: false
    water-flow: false
    water-bucket-flow: false
    fire-spread: true
    lava-fire-spread: true
    flint-fire: false
    lightning-fire-spread: true
    portal-creation: false
    tnt-explosion: false
    creeper-explosion: false
    creeper-playerdamage: false
    creeper-blockdamage: false
    # Monsters won't follow players
    # permission essentials.protect.entitytarget.bypass disables this
    entitytarget: false
    # Prevent the spawning of creatures
    spawn:
      chicken: false
      cow: false
      creeper: false
      ghast: true
      giant: false
      monster: false
      pig: false
      pig_zombie: false
      sheep: false
      skeleton: false
      slime: true
      spider: false
      squid: false
      zombie: false
      wolf: false
  
  # Maximum height the creeper should explode. -1 allows them to explode everywhere.
  # Set prevent.creeper-explosion to true, if you want to disable creeper explosions.
  creeper:
    max-height: -1
  
  # Protect various blocks.
  protect:
    # Protect all signs
    signs: true

    # Prevent users from destroying rails
    rails: true

    # Blocks below rails/signs are also protected if the respective rail/sign is protected.
    # This makes it more difficult to circumvent protection, and should be enabled.
    # This only has an effect if "rails" or "signs" is also enabled.
    block-below: true

   # Prevent placing blocks above protected rails, this is to stop a potential griefing
    prevent-block-on-rails: false

  # Disable various default physics and behaviors
  disable:
    # Should fall damage be disabled?
    fall: false

    # Users with the essentials.protect.pvp permission will still be able to attack each other if this is set to true.
    # They will be unable to attack users without that same permission node.
    pvp: false

    # Should drowning damage be disabled?
    # (Split into two behaviors; generally, you want both set to the same value)
    drown: false
    suffocate: false

    # Should damage via lava be disabled?  Items that fall into lava will still burn to a crisp. 
    lavadmg: false

    # Should arrow damage be disabled
    projectiles: false

    # This will disable damage from touching cacti.
    contactdmg: false

    # Burn, baby, burn!  Should fire damage be disabled?
    firedmg: false
    
    # Should the damage after hit by a lightning be disabled?
    lightning: false

    # Should people with build: false in permissions be allowed to build
    # Set true to disable building for those people
    build: true

    #Should we tell people they are not allowed to build
    warn-on-build-disallow: false


    #disable weather options
    weather:
      storm: false
      thunder: false
      lightning: false

############################################################
# +------------------------------------------------------+ #
# |                    New Players                       | #
# +------------------------------------------------------+ #
############################################################

newbies:
  # Should we announce to the server when someone logs in for the first time?
  # If so, use this format, replacing {DISPLAYNAME} with the player name.
  # If not, set to ''
  #announce-format: ''
  announce-format: ''
  
  # When we spawn for the first time, which spawnpoint do we use?
  spawnpoint: default

# End of File <-- No seriously, you're done with configuration.

Także tego...

Komendy takie jak /msg, /pay i tego typu działają, tylko te bardziej adminowskie.
I powtarzam poraz kolejny, zmiana pluginu nie wchodzi w gre bo z innymi ten sam problem był.

Z konsolki typowy log startu serwera:
 

151 recipes
16 achievements
18:29:55 [INFO] Starting minecraft server version Beta 1.7.3
18:29:55 [INFO] Loading properties
18:29:55 [INFO] Starting Minecraft server on XXXX
18:29:55 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
18:29:55 [WARNING] The server will make no attempt to authenticate usernames. Beware.
18:29:55 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
18:29:55 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
18:29:55 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
18:29:55 [INFO] LWC: Loading shared objects
18:29:55 [INFO] LWC: Protection cache: 0/10000
18:29:55 [INFO] LWC: Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
18:29:55 [INFO] Preparing level "Polska"
18:29:55 [INFO] Preparing start region for level 0 (Seed: 2135636428)
18:29:55 [INFO] Preparing start region for level 1 (Seed: 2135636428)
18:29:56 [INFO] WorldEdit 4.6 enabled.
18:29:56 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
18:29:56 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
18:29:56 [INFO] WorldGuard: (Polska) Single session is enforced.
18:29:56 [INFO] WorldGuard: (Polska) TNT ignition is PERMITTED.
18:29:56 [INFO] WorldGuard: (Polska) Lighters are PERMITTED.
18:29:56 [INFO] WorldGuard: (Polska) Lava fire is blocked.
18:29:56 [INFO] WorldGuard: (Polska) Fire spread is UNRESTRICTED.
18:29:56 [INFO] WorldGuard: Loaded configuration for world 'Polska"
18:29:56 [INFO] WorldGuard: (Polska_nether) Single session is enforced.
18:29:56 [INFO] WorldGuard: (Polska_nether) TNT ignition is PERMITTED.
18:29:56 [INFO] WorldGuard: (Polska_nether) Lighters are PERMITTED.
18:29:56 [INFO] WorldGuard: (Polska_nether) Lava fire is blocked.
18:29:56 [INFO] WorldGuard: (Polska_nether) Fire spread is UNRESTRICTED.
18:29:56 [INFO] WorldGuard: Loaded configuration for world 'Polska_nether"
18:29:56 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
18:29:56 [INFO] WorldGuard 5.2.2 enabled.
18:29:56 [INFO] PermissionsBukkit v1.2 is now enabled
18:29:56 [INFO] Loaded Essentials build 2.5.8 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
18:29:56 [INFO] Essentials: Using PermissionsBukkit based permissions.
18:29:56 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
18:29:56 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc. 
18:29:56 [INFO] [MagicCarpet] Restricted to: [trusted_users_here, maybe_here_too]
18:29:56 [INFO] [AuthMe] Using flatfile as datasource!
18:29:56 [INFO] [AuthMe] Cache for registrations is enabled!
18:29:56 [INFO] [AuthMe] 2 registered players loaded in 0.007 seconds!
18:29:56 [INFO] [AuthMe] Version 0.77 is enabled!
18:29:56 [INFO] Loaded EssentialsSpawn build 2.5.8 by: essentials team
18:29:56 [INFO] Loaded EssentialsChat build 2.5.8 by: essentials team
18:29:56 [INFO] LWC: Loaded 133 locale strings (0 overrides)
18:29:56 [INFO] LWC: Loading SQLite
18:29:56 [INFO] LWC: Using: Native
18:29:56 [INFO] LWC: Precached 28 protections.
18:29:56 [INFO] LWC: At version: 3,21-git-LWC-2936c58564bf9d84e97a9a024af1644c8f67f269-b54jnks
18:29:56 [INFO] Server permissions file permissions.yml is empty, ignoring it
18:29:56 [INFO] Done (0,103s)! For help, type "help" or "?"

 

 

Opublikowano

@ref
problem z /heal został rozwiązany, ale nadal jest problem co do /kit vip
zamiast /heal vip moze uzyc /eheal, mysle ze to jest przez worldguard lub worldedit bo tak samo jest z /god i /egod

Nadal czekam na jakieś rozwiązania ;)

Opublikowano

@ref

problem z /heal został rozwiązany, ale nadal jest problem co do /kit vip

zamiast /heal vip moze uzyc /eheal, mysle ze to jest przez worldguard lub worldedit bo tak samo jest z /god i /egod

 

Nadal czekam na jakieś rozwiązania ;)

Powinno dać się zablokować komendą z WorldGuard

/rg flag __global__ blocked-cmds eheal,egod    (kurde tego nie pamiętam jak to się blokowało czy po przecinku dodawać czy po jednej po prostu musisz to sprawdzić jeszcze zależy jaka ver. WorldGuarda ;)

Opublikowano

Mi nie chodzi o to żeby zablokować. Gracze po prostu nie mają dostępu do /kit vip /kit gracz.
Uprawnienia mają przydzielone.
essentials.kit.vip
essentials.kit

essentials.kits.vip
essentials.kits
essentials.kits.gracz
essentials.kit.gracz

  • 3 tygodnie później...

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...