Résolu Utilisation des pancartes pour donner des commandes aux joueurs.

Guswaye

Aventurier
6 Avril 2011
23
1
3
Bonjour,

Administrant un serveur avec un ami, nous voudrions donner la possibilité à nos joueurs d'utiliser les pancartes pour avoir accès à certaines commandes qu'ils n'ont pas accès habituellement. L’intérêt étant économique et permet d'améliorer le RP et tout le tintouin... car les dites commandes sont payantes.

Nous utilisons les plugins PermissionsEx et Essentials.

Nous souhaiteriont que les joueurs puissent utiliser les commandes /weather ; /time (day/night) ; /warp en échange d'un peu d'argent (virtuel).

J'ai réussi à programmer les panneaux, ils marchent si nous somme OP ou si les joueurs ont la commande d’accessible. Mais moi je souhaiterais qu'ils puissent utiliser que la pancarte et non la commande (or pour le moment c'est soit rien soit les deux...).

Je joint ma configuration d'Essentials et celle de PermissionsEx

Celle de PermissionsEx
Code:
users:
  Guswaye:
    group:
    - AdminGus
  Luciolex29:
    group:
    - AdminLuc
  Tyraboah:
    group:
    - Obsidian
  Bobuble:
    group:
    - Obsidian
 
groups:
  Default:
    prefix: '&9Visiteur &f'
    default: true
    build: false
    permissions:
    - essentials.help
    - essentials.helpop
    - essentials.list
    - essentials.motd
    - essentials.rules
    - essentials.spawn
    - modifyworld.chat
    - modifyworld.vehicle.destroy
    - modifyworld.vehicle.enter
    - modifyworld.vehicle.collide
    - -modifyworld.blocks.destroy.*
    - modifyworld.items.interact.69
    - modifyworld.items.interact.72
    - modifyworld.items.interact.70
    - modifyworld.items.interact.96
    - modifyworld.items.interact.107
    - modifyworld.items.interact.324
    - modifyworld.items.interact.330
    - modifyworld.items.interact.328
    - ChestShop.shop.buy
    - essentials.signs.warp.use
    - essentials.warps.NewIriston
    options:
      rank: '600'
  Essai:
    prefix: '&2Essai &f'
    default: false
    build: true
    permissions:
    - essentials.help
    - essentials.helpop
    - essentials.list
    - essentials.motd
    - essentials.rules
    - essentials.spawn
    - modifyworld.chat
    - modifyworld.blocks.destroy.*
    - modifyworld.vehicle.destroy
    - modifyworld.vehicle.enter
    - modifyworld.vehicle.collide
    - essentials.afk
    - essentials.back
    - essentials.back.ondeath
    - essentials.compass
    - essentials.depth
    - essentials.home
    - essentials.ignore
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.msg
    - essentials.ping
    - essentials.suicide
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdenye
    - essentials.worth
    - essentials.getpos
    - essentials.info
    - essentials.delhome
    - essentials.sethome
    - essentials.sethome.multiple
    - essentials.sethome.multiple.Iron
    - iConomy.holdings
    - iConomy.holdings.others
    - iConomy.help
    - iConomy.payment
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    - essentials.protect.pvp permission
    - modifyworld.*
    - -lockette.user.create.*
    - essentials.warp
    - essentials.warp.list
    - essentials.warps.NewIriston
    - essentials.warps.BHV
    - essentials.warps.Portiris
    - essentials.sign.warp.use
    options:
      rank: '500'
  En sursis:
    prefix: '&4En sursis &f'
    default: false
    build: true
    permissions:
    - essentials.help
    - essentials.helpop
    - essentials.list
    - essentials.motd
    - essentials.rules
    - essentials.spawn
    - modifyworld.chat
    - modifyworld.vehicle.destroy
    - modifyworld.vehicle.enter
    - modifyworld.vehicle.collide
    - essentials.afk
    - essentials.back
    - essentials.back.ondeath
    - essentials.compass
    - essentials.depth
    - essentials.home
    - essentials.ignore
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.msg
    - essentials.ping
    - essentials.suicide
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdenye
    - essentials.worth
    - essentials.getpos
    - essentials.info
    - essentials.delhome
    - essentials.sethome
    - essentials.sethome.multiple
    - essentials.sethome.multiple.Iron
    - iConomy.holdings
    - iConomy.holdings.others
    - iConomy.help
    - iConomy.payment
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    - essentials.protect.pvp permission
    - modifyworld.*
    - -lockette.user.create.*
    options:
      rank: '400'
  Iron:
    prefix: '&2Iron &f'
    default: false
    permissions:
    - lockette.user.create.*
    inheritance:
    - Essai
    options:
      rank: '300'
  Gold:
    prefix: '&eGold &f'
    default: false
    permissions:
    - essentials.powertool
    - essentials.tpa
    - essentials.tppos
    - essentials.sethome.multiple.Gold
    - ChestShop.shop.create
    inheritance:
    - Iron
    options:
      rank: '200'
  Obsidian:
    prefix: '&5Obsidian &f'
    default: false
    permissions:
    - essentials.jump
    - essentials.sethome.multiple.Obsidian
    - essentials.warp
    - essentials.warp.list
    - essentials.warps.BHV
    - essentials.warps.NewIriston
    - essentials.warps.Portiris
    - essentials.warps.champi
    - essentials.warps.lanseria
    - essentials.warps.alminya
    inheritance:
    - Gold
    options:
      rank: '100'
  Moderateur:
    prefix: '&bModerateur &f'
    default: false
    permissions:
    - essentials.kick
    - essentials.weather
    - essentials.broadcast
    - essentials.fly
    - essentials.heal
    - essentials.heal.others
    - essentials.sudo
    - essentials.time
    - essentials.time.set
    - essentials.tp
    - essentials.tp.others
    - essentials.seen
    - essentials.seen.banreason
    - essentials.spawnmob
    - essentials.spawnmob.*
    - essentials.tempban
    - essentials.tempban.exempt
    - essentials.tempban.offline
    - essentials.togglejail
    - essentials.togglejail.exempt
    - essentials.togglejail.offline
    - permissions.user.promote
    - permissions.user.
    inheritance:
    - Obsidian
    options:
      rank: '50'
  AdminLuc:
    prefix: '&bAdministrateur &f'
    default: false
    permissions:
    - '*'
    options:
      rank: '1'
  AdminGus:
    prefix: '&bIngenieur Principal &f'
    default: false
    permissions:
    - '*'
    options:
      rank: '0'
Puis celle de Essentials
Code:
############################################################
# +------------------------------------------------------+ #
# |                      Notes                          | #
# +------------------------------------------------------+ #
############################################################
 
# If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI.
# If you receive an error when Essentials loads, ensure that:
#  - No tabs are present: YAML only allows spaces
#  - Indents are correct: YAML heirarchy is based entirely on indentation
#  - You have "escaped" all apostrophes in your text: If you want to write "don't", for example, write "don''t" instead (note the doubled apostrphe)
#  - List items are prefixed with a hyphen and indented:
#      lists:
#        - look like this
#      not:
#      - like this
#  - Text with symbols is enclosed in single or double quotation marks
#  - CraftBukkit and Permissions have been updated: CraftBukkit and Essentials almost always line up, but sometimes other plugins fall behind CraftBukkit's multiple daily updates
#  - You have saved the document as UTF-8, NOT the default, ANSI
 
############################################################
# +------------------------------------------------------+ #
# |                Essentials (Global)                  | #
# +------------------------------------------------------+ #
############################################################
 
# A color code between 0-9 or a-f. Set to 'none' to disable.
ops-name-color: 'b'
 
# The character(s) to prefix all nicknames, so that you know they are not true usernames.
nickname-prefix: '~'
 
# Disable this if you have any other plugin, that modifies the displayname of a user.
change-displayname: true
 
# When this option is enabled, the (tab) player list will be updated with the displayname.
# The value of change-displayname (above) has to be true.
#change-playerlist: true
 
# Adds the prefix and suffix to the displayname of the player, so it will be displayed in messages and lists.
# The prefix/suffix can be set using Permissions, Group Manager or PermissionsEx.
# The value of change-displayname (above) has to be true.
# If you don't set this, it will default to true if essentials chat is installed.
# Don't forget to remove the # infront of the line
#add-prefix-suffix: false
 
# The delay, in seconds, required between /home, /tp, etc.
teleport-cooldown: 0
 
# 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: 0
 
# The delay, in seconds, a player can't be attacked by other players after he has been teleported by a command
# This will also prevent that the player can attack other players
teleport-invulnerability: 0
 
# The delay, in seconds, required between /heal attempts
heal-cooldown: 60
 
# 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
# Note: The blacklist above will be ignored then.
# 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
 
# Mob limit on spawnmob
spawnmob-limit: 10
 
# Shall we notify users when using /lightning
warn-on-smite: true
 
# motd and rules are now configured in the files motd.txt and rules.txt
 
# 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 completely unavailable on the server.
disabled-commands:
# - nick
 
# Restricted commands have been removed.
# Now we have a whitelist, all commands not on this list are only available to ops.
# These will have NO EFFECT if you have Permissions installed!
# They are here only if you want something simpler than Permissions.
# These are the permissions without the "essentials." part.
player-commands:
  - afk
  - back
  - back.ondeath
  - balance
  - balance.others
  - balancetop
  - chat.shout
  - chat.question
  - clearinventory
  - compass
  - depth
  - delhome
  - getpos
  - geoip.show
  - help
  - helpop
  - home
  - home.others
  - ignore
  - info
  - itemdb
  - kit
  - kit.tools
  - list
  - mail
  - mail.send
  - me
  - motd
  - msg
  - msg.color
  - nick
  - near
  - pay
  - ping
  - powertool
  - powertooltoggle
  - protect
  - r
  - rules
  - realname
  - seen
  - sell
  - sethome
  - setxmpp
  - signs.create.protection
  - signs.create.trade
  - signs.break.protection
  - signs.break.trade
  - signs.use.balance
  - signs.use.buy
  - signs.use.disposal
  - signs.use.free
  - signs.use.heal
  - signs.use.mail
  - signs.use.protection
  - signs.use.sell
  - signs.use.time
  - signs.use.trade
  - signs.use.warp
  - signs.use.weather
  - spawn
  - suicide
  - time
  - tpa
  - tpaccept
  - tpahere
  - tpdeny
  - warp
  - warp.list
  - world
  - worth
  - xmpp
 
# Note: All items MUST be followed by a quantity!
# All kit names should be lower case, and will be treated as lower in permissions/costs.
# Syntax: - itemID[:DataValue] Amount [Enchantment:Level]..
# Times are measured in seconds.
kits:
  dtools:
    delay: 10
    items:
      - 277 1 efficiency:1
      - 278 1
      - 279:780 1
  tools:
    delay: 10
    items:
      - 272 1
      - 273 1
      - 274 1
      - 275 1
      - 4 64
      - 3 64
      - 263 8
      - 5 16
      - 345 1
      - 328 1
      - 50 16
      - 297 4
      - 355 1
      - 265 1
 
# Essentials Sign Control
# See http://ess.khhq.net/wiki/Sign_Tutorial for instructions on how to use these.
# To enable signs, remove # symbol. To disable all signs, comment/remove each sign.
# Essentials Colored sign support will be enabled when any sign types are enabled.
# We recommend not enabling chest protection signs if you don't intend to use them, (or are using LWC/Lockette).
 
enabledSigns:
  #- color
  #- balance
  #- buy
  #- sell
  #- trade
  #- free
  #- disposal
  - warp
  #- kit
  #- mail
  #- enchant
  #- gamemode
  #- heal
  #- spawnmob
  #- time
  #- weather
  #- protection
 
# Backup runs a command while saving is disabled
backup:
  # Interval in minutes
  interval: 30
  # Unless you add a valid backup command or script here, this feature will be useless.
  # Use 'save-all' to simply force regular world saving without backup.
  #command: 'rdiff-backup World1 backups/World1'
 
# Set this true to enable permission per warp.
per-warp-permission: true
 
# 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.
# Don't forget to remove the # infront of the line
#locale: de_DE
 
# Turn off god mode when people exit
remove-god-on-disconnect: false
 
# Use the permission system of bukkit
# This only works if no other permission plugins are installed
use-bukkit-permissions: false
 
# Auto-AFK
# After this timeout in seconds, the user will be set as afk.
# Set to -1 for no timeout.
auto-afk: 300
 
# Auto-AFK Kick
# After this timeout in seconds, the user will be kicked from the server.
# Set to -1 for no timeout.
auto-afk-kick: -1
 
# Set this to true, if you want to freeze the player, if he is afk.
# Other players or monsters can't push him out of afk mode then.
# This will also enable temporary god mode for the afk player.
# The player has to use the command /afk to leave the afk mode.
freeze-afk-players: false
 
# When the player is afk, should he be able to pickup items?
# Enable this, when you don't want people idling in mob traps.
disable-item-pickup-while-afk: true
 
# You can disable the death messages of minecraft here
death-messages: true
 
# Add worlds to this list, if you want to automatically disable god mode there
no-god-in-worlds:
#  - world_nether
 
# Set to true to enable per-world permissions for teleporting with /world, /tp ,/tpa and /tpo.
# Give someone permission to teleport to a world with essentials.world.<worldname>
world-teleport-permissions: false
 
# The number of items given if the quantity parameter is left out in /item or /give.
# If this number is below 1, the maximum stack size size is given. If oversized stacks
# is not enabled, any number higher then the maximum stack size results in more than one stack.
default-stack-size: -1
 
# Oversized stacks are stacks that ignore the normal max stacksize.
# They can be obtained using /give and /item, if the player has essentials.oversizedstacks permission.
# How many items should be in a oversized stack?
oversized-stacksize: 64
 
# Do you allow to repair enchanted weapons and armor?
# If you set this to false, you can still allow it for certain players using the permission
# essentials.repair.enchanted
repair-enchanted: true
 
#Do you want essentials to keep track of previous location for /back in the teleport listener?
#If you set this to true any plugin that uses teleport will have the previous location registered.
register-back-in-listener: false
 
############################################################
# +------------------------------------------------------+ #
# |                  EssentialsHome                    | #
# +------------------------------------------------------+ #
############################################################
 
# If no home is set, send players to spawn when /home is used
spawn-if-no-home: true
 
# Allows people to set their bed at daytime
update-bed-at-daytime: true
 
# Allow players to have multiple homes.
# Players need essentials.sethome.multiple before they can have more than 1 home, default to 'default' below.
# Define different amounts of multiple homes for different permissions, e.g. essentials.sethome.multiple.vip
# People with essentials.sethome.multiple.unlimited are not limited by these numbers.
sethome-multiple:
  default: 3
  # essentials.sethome.multiple.vip
  vip: 5
  # essentials.sethome.multiple.staff
  staff: 10
 
# Set timeout in seconds for players to accept tpa before request is cancelled.
# Set to 0 for no timeout
tpa-accept-cancellation: 0
 
############################################################
# +------------------------------------------------------+ #
# |                  EssentialsEco                      | #
# +------------------------------------------------------+ #
############################################################
 
# Defines the balance with which new players begin.  Defaults to 0.
starting-balance: 0
 
# 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: '$'
 
# Set the maximum amount of money a player can have
# The amount is always limited to 10 trillions because of the limitations of a java double
max-money: 10000000000000
 
# Set the minimum amount of money a player can have (must be above the negitive of max-money).
# Setting this to 0, will disable overdrafts/loans completely.  Users need 'essentials.eco.loan' perm to go below 0.
min-money: -10000
 
# Enable this to log all interactions with trade/buy/sell signs and sell command
economy-log-enabled: false
 
############################################################
# +------------------------------------------------------+ #
# |                  EssentialsHelp                    | #
# +------------------------------------------------------+ #
############################################################
 
# Show other plugins commands in help
non-ess-in-help: true
 
# Hide plugins which dont give a permission
# You can override a true value here for a single plugin by adding a permission to a user/group.
# The individual permission is: essentials.help.<plugin>, anyone with essentials.* or '*' will see all help this setting reguardless.
# You can use negitive permissions to remove access to just a single plugins help if the following is enabled.
hide-permissionless-help: true
 
############################################################
# +------------------------------------------------------+ #
# |                  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 (!)
  # Or 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://ess.khhq.net/wiki/Chat_Formatting
 
  format: '<{DISPLAYNAME}> {MESSAGE}'
  #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'
 
  group-formats:
  #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&f {MESSAGE}'
  #  Admins: '{WORLDNAME} &c[{GROUP}]&f {DISPLAYNAME}&7:&c {MESSAGE}'
 
  # If your using group formats make sure to remove the '#' to allow the setting to be read.
 
############################################################
# +------------------------------------------------------+ #
# |                EssentialsProtect                    | #
# +------------------------------------------------------+ #
############################################################
 
protect:
  # Database settings for sign/rail protection
 
  # mysql or sqlite
  # We strongly recommend against using mysql here, unless you have a good reason.
  # Sqlite seems to be faster in almost all cases, and in some cases mysql can be much slower.
  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.
  # 10 = lava :: 11 = still lava :: 46 = TNT :: 327 = lava bucket
  alert:
    on-placement: 10,11,46,327
    on-use: 327
    on-break:
 
  blacklist:
 
    # Which blocks should people be prevented from placing
    placement: 10,11,46,327
 
    # Which items should people be prevented from using
    usage: 327
 
    # Which blocks should people be prevented from breaking
    break:
 
    # Which blocks should not be pushed by pistons
    piston:
 
  # 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
    tnt-playerdamage: false
    fireball-explosion: false
    fireball-fire: false
    fireball-playerdamage: false
    creeper-explosion: false
    creeper-playerdamage: false
    creeper-blockdamage: false
    enderdragon-blockdamage: true
    enderman-pickup: false
    villager-death: false
    # Monsters won't follow players
    # permission essentials.protect.entitytarget.bypass disables this
    entitytarget: false
    # Prevent the spawning of creatures
    spawn:
      creeper: false
      skeleton: false
      spider: false
      giant: false
      zombie: false
      slime: false
      ghast: false
      pig_zombie: false
      enderman: false
      cave_spider: false
      silverfish: false
      blaze: false
      magma_cube: false
      ender_dragon: false
      pig: false
      sheep: false
      cow: false   
      chicken: false
      squid: false
      wolf: false
      mushroom_cow: false
      snowman: false
      ocelot: false
      iron_golem: false
      villager: 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
 
    # Store blocks / signs in memory before writing
    memstore: 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: true
 
    # 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 people with build: false in permissions be allowed to use items
    # Set true to disable using for those people
    use: true
 
    # Should we tell people they are not allowed to build
    warn-on-build-disallow: true
 
    # Disable weather options
    weather:
      storm: false
      thunder: false
      lightning: false
 
############################################################
# +------------------------------------------------------+ #
# |            Essentials Spawn / 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: '&dWelcome {DISPLAYNAME}&d to the server!'
 
  # When we spawn for the first time, which spawnpoint do we use?
  # Set to "none" if you want to use the spawn point of the world.
  spawnpoint: newbies
 
  # Do we want to give users anything on first join? Set to '' to disable
  # This kit will be given reguardless of cost, and permissions.
  #kit: ''
  kit: tools
 
# Set this to lowest, if you want Multiverse to handle the respawning
# Set this to high, if you want EssentialsSpawn to handle the respawning
# Set this to highest, if you want to force EssentialsSpawn to handle the respawning
respawn-listener-priority: high
 
# When users die, should they respawn at their first home or bed, instead of the spawnpoint?
respawn-at-home: false
 
# End of File <-- No seriously, you're done with configuration.

Si l'un d'entre vous sait comment faire je suis prenuer, j'ai beau chercher sur les forums anglais et français je trouve pas....

Je résume :
Je souhaite que mes joueurs puissent utilier certaines commandes uniquement via des pancartes.

Alors si certains savent, je les remercies d'avance ! :)
 

Guswaye

Aventurier
6 Avril 2011
23
1
3
J'ai testé déjà cette commande, mais même avec elle les joueurs doivent avoir accès à la commande attribuée pour utiliser la pancarte.... :/
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
27
Bruxelles - Belgique
www.phoenix-rebirth.fr
Salut,

Je n'avais pas regarder ton fichie de config Essentials...
Je voudrais juste être sur que tu fait tes test uniquement avec le panneau warp...
Parce que c'est le seul que tu activé:
Code:
enabledSigns:
  #- color
  #- balance
  #- buy  
  #- sell
  #- trade
  #- free
  #- disposal
  - warp
  #- kit
  #- mail
  #- enchant
  #- gamemode
  #- heal
  #- spawnmob
  #- time
  #- weather
  #- protection
Donne la permissions:
Code:
essentials.signs.use.warp



Cordialement,
Detobel36
 

Guswaye

Aventurier
6 Avril 2011
23
1
3
Alors oui je l'ai pas précisé, je fais pour le moment mes tests uniquement avec warp. Pour les commandes weather et time (day|night) j'attend que warp marche correctement pour les activer.

Il faut que je leur donne uniquement la node "- essentials.signs.use.warp" ?

Actuellement ils ont :
Code:
    - essentials.warp
    - essentials.warp.list
    - essentials.warps.NewIriston
    - essentials.warps.BHV
    - essentials.warps.Portiris
    - essentials.signs.use.*

J'ai essayé avec ta node uniquement et rajouter aux autres. Ca ne change rien. Si ils ont pas la node "- essentials.warps.[warpname]" Ils ne peuvent pas utiliser la pancarte.... PAr contre mes visiteurs peuvent utiliser les pancartes liés à un lieu mais ne peuvent pas taper la commande directement.

Du coup est-ce que la node "- essentials.warps.list" ne serait pas la cause de mes ennuis ? Si je l'enlève à mes joueurs ils ne pourront plus taper la commande mais ils auront quand même la commande pour les pancartes non ?

En tout cas je te remercie pour ton aide. Si tu as besoin de plus de précision sur les essais ou permissions ou n'importe quoi pour m'aider demande moi.
 

Guswaye

Aventurier
6 Avril 2011
23
1
3
Bon je viens ajouter des détails !

J'ai enlevé les nodes :

Code:
- essentials.warp
- essentials.warp.list

Et tout marche sans problème. Tel un boulet j'ai donné en plus de la commande pour les panneaux, l'autorisation de taper la commande.. Je m'en suis rendu compte en relisant mes nodes des membres Visiteurs.

Donc mon problème est résolu concernant les Warps.

J'attends de faire les essais avec les commandes weather, kit et time (day|night) avant de passer mon sujet en résolu. Mais je pense qu'il est résolu !

Merci à toi Detobel36 pour les réponses. Elles m'ont permis de me focaliser sur les nodes plus que le reste et de trouver d’où venez mon problème ! :D
 
  • J'aime
Reactions: Detobel36