Encore un mec qui pedale dans le choucroute avec les permissions (besoin qu'on m'explique le b-a :ba

  • Auteur de la discussion Auteur de la discussion Epilost
  • Date de début Date de début
A effectivement, ça semble être une bonne idée :)
Peut tu me dire comment je peut faire ça ? ou ce que je doit copier coller ici ?
 
Ben tu va dans le dossier plugin/nom_de_Ton_plugin_qui_bug et tu mets ici le contenu du configs.yml
 
Ok merci.

voila la bête :

Code:
# ShowCaseStandalong Configuration.
# The first line of the explanation, are the default settings.
# ---------
# DefaultUnit: 64
# Default Unit is the number of items a player will transact with, if they
# use sneak-right click.
# ---------
# UndoTime: 120
# UndoTime defines the amount of time, in seconds, that a transaction will be undo-able.
# Warning: making this to long may result in problem for players.
# ---------
# EconomySystem: AUTO
# EconomySystem is which economic plugin to use. Value can be:
# AUTO, iConomy, EssentialsEconomy, BOSEconomy, Vault
# ---------
# CreatePrice:
#  BuyShop: 0.0
#  SellShop: 0.0
#  Display: 0.0
# CreatePrice defines how much money a player should be charged for creating a showcase.
# ---------
# AllowUnsafeEnchantments: false
# AllowUnsafeEnchantments specifies whether SCS should load enchantments not found in Vanilla MC.
# Warning, this may create impossible items, that end up crashing clients.
# ---------
# CancelExplosion: false
# CancelExplosion gives you the choice of what to do if a creeper or TNT explodes,
# destroying the shop.  If set to true, the explosion is canceled. If set to false,
# the shop will be deleted.
# ---------
# HideInactiveShops: false
# HideInactiveShops will not display any item in shops that are either full (buy)
# or empty (sell).
# ---------
# LogTransactions: false
# LogTransactions will determine if SCS logs all shop transactions for later auditing.
# ---------
# WorldBlacklist:
# - world_nether
# WorldBlacklist determines which worlds, if any, are not allowed to have SCS shops on them.
# This is a YAML list.
# ---------
# Database:
#  Type: MiniDB
# Database determines where the shop files are stored.
# Type should be 'MiniDB' or 'sql'.  If 'sql' then fill in the rest of the settings
# SQL not yet implemented.
# ---------
# Save:
#  Delayed: false
#  Interval: 60
# If delayed save is set to true, then saves to the database/mini file happen at periodic
# intervals instead of after each transaction.  Interval defines how long that interval is,
# in seconds.
# ---------
# Debug:
#  Thread: false
#  Interact: false
#  Permissions: false
#  ShowExtraMessages: false
#  Save: false
# Do not mess with this unless you know what you're doing.  You can quickly fill
# your harddrive with massive files and lag your server.
# ---------
# Localization: locale_EN.yml
# Specifies the locale file to use for all messages the plugin sends.  locale_EN.yml
# and locale_DE.yml are provided by default.  locale_EN will be used if the chosen
# locale file can not be found.  Both will be overwritten when the plugin updates,
# so if you want a custom locale file, copy one of them to a new name and specify its
# filename here.
# ---------
# BlockList:
#  Blacklist: true
#  Blocks: [too long to list here]
# BlockList determines which blocks can/can't be used as a showcase.  Note: 
# These only apply to the block that will be the showcase, not what can be
# bought/sold in a showcase.
#  Blacklist: true = use the list for forbidden blocks,
#              false = makes it a whitelist, i.e., allows only those blocks
#                      listed to be used to create a showcase.
#  Blocks: a YML list of blocks to be used as a blacklist/whitelist.  Use bukkit
#          standard names or id:data (e.g. orange wool = 35:1)
# ---------
# BuyItemList:
#  Blacklist: true
#  Blocks: []
# BuyItemList determines which items can/can't be used as a buy showcase.
#  Blacklist: true = use the list for forbidden items,
#              false = makes it a whitelist, i.e., allow only these items to be sold
#  Blocks: a YML list of blocks to be used as a blacklist/whitelist. Use bukkit
#          standard names or id:data (e.g. orange wool = 35:1)
# ---------
# SellItemList:
#  Blacklist: true
#  Blocks: []
# SellItemList determines which items can/can't be used as a sell showcase.  Note: 
#  Blacklist: true = use the list for forbidden blocks,
#              false = makes it a whitelist, i.e., allows only those blocks
#                      listed to be used to create a showcase.
#  Blocks: a YML list of blocks to be used as a blacklist/whitelist. Use bukkit
#          standard names or id:data (e.g. orange wool = 35:1).
 
DefaultUnit: 64
UndoTime: 120
EconomySystem: AUTO
CreatePrice:
  BuyShop: 0.0
  SellShop: 0.0
  Display: 0.0
AllowUnsafeEnchantments: false
CancelExplosion: false
HideInactiveShops: false
LogTransactions: false
RequireObjectToDisplay: false
WorldBlacklist:
- world_nether
Database:
  Type: MiniDB
Save:
  Delayed: true
  Interval: 60
Debug:
  Thread: false
  Interact: false
  Permissions: false
  Chunk: false
  Save: false
  ShowExtraMessages: false
Localization:
  File: locale_EN.yml
  Version: 1.5
BlockList:
  Blacklist: true
  Blocks:
  - AIR
  - BED
  - BROWN_MUSHROOM
  - BURNING_FURNACE
  - CACTUS
  - CAKE_BLOCK
  - CHEST
  - CROPS
  - DEAD_BUSH
  - DETECTOR_RAIL
  - DIODE_BLOCK_OFF
  - DIODE_BLOCK_ON
  - DISPENSER
  - FENCE_GATE
  - FIRE
  - FURNACE
  - GLASS
  - IRON_DOOR_BLOCK
  - JUKEBOX
  - LADDER
  - LAVA
  - LEAVES
  - LEVER
  - LONG_GRASS
  - MELON_STEM
  - MOB_SPAWNER
  - NOTE_BLOCK
  - PISTON_BASE
  - PISTON_EXTENSION
  - PISTON_MOVING_PIECE
  - PISTON_STICKY_BASE
  - POWERED_RAIL
  - PUMPKIN_STEM
  - RAILS
  - RED_MUSHROOM
  - RED_ROSE
  - REDSTONE_TORCH_OFF
  - REDSTONE_TORCH_ON
  - REDSTONE_WIRE
  - SAPLING
  - SIGN
  - SNOW
  - STATIONARY_LAVA
  - STATIONARY_WATER
  - STONE_BUTTON
  - STONE_PLATE
  - TNT
  - TORCH
  - TRAP_DOOR
  - VINE
  - WATER
  - WEB
  - WOOD_PLATE
  - WOODEN_DOOR
  - WORKBENCH
  - YELLOW_FLOWER
  - WATER_LILY
  - MONSTER_EGGS
  - HUGE_MUSHROOM_1
  - HUGE_MUSHROOM_2
  - NETHER_FENCE
  - NETHER_WARTS
  - ENCHANTMENT_TABLE
  - BREWING_STAND
  - CAULDRON
  - ENDER_PORTAL
  - ENDER_PORTAL_FRAME
  - ENDER_STONE
  - DRAGON_EGG
BuyItemList:
  Blacklist: true
  Items: []
SellItemList:
  Blacklist: true
  Items: []

J'ai bien vu un "permission false" quelques part. Ce qui ne me semble pas super logique étant donné que justement les permissions semblent être activées
 
Mais explique moi clairement quel est ton problème afin que je puisse t'aider facilement Car il c'est passé tellement de chose depuis le début que j'ai perdu le fil ^^

MacTheZazou
 
Ok excuse moi :)

Showcasestandalone permet de créer des magasins d'objet lequel présentent des items flottant au dessus d'un bloc. cliquer sur le bloc permet de vendre ou acheter un objet.

Pour créer un magasin, l'utilisateur doit tenir l'objet qu'il souhaite vendre, en main et taper la commande suivante :

/SCS sell this quantité prix

Une fois fait, il fait un clik droit sur le cube concerné et vois donc son magasin créé.

Le plug in fonctionne très bien avec les Ops du serveur. En revanche, lorsqu'un utilisateur tout simple souhaite taper la commande, un message lui annonce qu'il n'à pas les permissions
 
Merci de tes précisions...
Copie colle ce texte dans ta config et envoie le fichier sur ton serveur:
Code:
# ShowCaseStandalong Configuration.
# The first line of the explanation, are the default settings.
# ---------
# DefaultUnit: 64
# Default Unit is the number of items a player will transact with, if they
# use sneak-right click.
# ---------
# UndoTime: 120
# UndoTime defines the amount of time, in seconds, that a transaction will be undo-able.
# Warning: making this to long may result in problem for players.
# ---------
# EconomySystem: AUTO
# EconomySystem is which economic plugin to use. Value can be:
# AUTO, iConomy, EssentialsEconomy, BOSEconomy, Vault
# ---------
# CreatePrice:
#  BuyShop: 0.0
#  SellShop: 0.0
#  Display: 0.0
# CreatePrice defines how much money a player should be charged for creating a showcase.
# ---------
# AllowUnsafeEnchantments: false
# AllowUnsafeEnchantments specifies whether SCS should load enchantments not found in Vanilla MC.
# Warning, this may create impossible items, that end up crashing clients.
# ---------
# CancelExplosion: false
# CancelExplosion gives you the choice of what to do if a creeper or TNT explodes,
# destroying the shop.  If set to true, the explosion is canceled. If set to false,
# the shop will be deleted.
# ---------
# HideInactiveShops: false
# HideInactiveShops will not display any item in shops that are either full (buy)
# or empty (sell).
# ---------
# LogTransactions: false
# LogTransactions will determine if SCS logs all shop transactions for later auditing.
# ---------
# WorldBlacklist:
# - world_nether
# WorldBlacklist determines which worlds, if any, are not allowed to have SCS shops on them.
# This is a YAML list.
# ---------
# Database:
#  Type: MiniDB
# Database determines where the shop files are stored.
# Type should be 'MiniDB' or 'sql'.  If 'sql' then fill in the rest of the settings
# SQL not yet implemented.
# ---------
# Save:
#  Delayed: false
#  Interval: 60
# If delayed save is set to true, then saves to the database/mini file happen at periodic
# intervals instead of after each transaction.  Interval defines how long that interval is,
# in seconds.
# ---------
# Debug:
#  Thread: false
#  Interact: false
#  Permissions: false
#  ShowExtraMessages: false
#  Save: false
# Do not mess with this unless you know what you're doing.  You can quickly fill
# your harddrive with massive files and lag your server.
# ---------
# Localization: locale_EN.yml
# Specifies the locale file to use for all messages the plugin sends.  locale_EN.yml
# and locale_DE.yml are provided by default.  locale_EN will be used if the chosen
# locale file can not be found.  Both will be overwritten when the plugin updates,
# so if you want a custom locale file, copy one of them to a new name and specify its
# filename here.
# ---------
# BlockList:
#  Blacklist: true
#  Blocks: [too long to list here]
# BlockList determines which blocks can/can't be used as a showcase.  Note:
# These only apply to the block that will be the showcase, not what can be
# bought/sold in a showcase.
#  Blacklist: true = use the list for forbidden blocks,
#              false = makes it a whitelist, i.e., allows only those blocks
#                      listed to be used to create a showcase.
#  Blocks: a YML list of blocks to be used as a blacklist/whitelist.  Use bukkit
#          standard names or id:data (e.g. orange wool = 35:1)
# ---------
# BuyItemList:
#  Blacklist: true
#  Blocks: []
# BuyItemList determines which items can/can't be used as a buy showcase.
#  Blacklist: true = use the list for forbidden items,
#              false = makes it a whitelist, i.e., allow only these items to be sold
#  Blocks: a YML list of blocks to be used as a blacklist/whitelist. Use bukkit
#          standard names or id:data (e.g. orange wool = 35:1)
# ---------
# SellItemList:
#  Blacklist: true
#  Blocks: []
# SellItemList determines which items can/can't be used as a sell showcase.  Note:
#  Blacklist: true = use the list for forbidden blocks,
#              false = makes it a whitelist, i.e., allows only those blocks
#                      listed to be used to create a showcase.
#  Blocks: a YML list of blocks to be used as a blacklist/whitelist. Use bukkit
#          standard names or id:data (e.g. orange wool = 35:1).
 
DefaultUnit: 64
UndoTime: 120
EconomySystem: AUTO
CreatePrice:
  BuyShop: 0.0
  SellShop: 0.0
  Display: 0.0
AllowUnsafeEnchantments: false
CancelExplosion: false
HideInactiveShops: false
LogTransactions: false
RequireObjectToDisplay: false
WorldBlacklist:
- world_nether
Database:
  Type: MiniDB
Save:
  Delayed: true
  Interval: 60
Debug:
  Thread: false
  Interact: false
  Permissions: true
  Chunk: false
  Save: false
  ShowExtraMessages: false
Localization:
  File: locale_EN.yml
  Version: 1.5
BlockList:
  Blacklist: true
  Blocks:
  - AIR
  - BED
  - BROWN_MUSHROOM
  - BURNING_FURNACE
  - CACTUS
  - CAKE_BLOCK
  - CHEST
  - CROPS
  - DEAD_BUSH
  - DETECTOR_RAIL
  - DIODE_BLOCK_OFF
  - DIODE_BLOCK_ON
  - DISPENSER
  - FENCE_GATE
  - FIRE
  - FURNACE
  - GLASS
  - IRON_DOOR_BLOCK
  - JUKEBOX
  - LADDER
  - LAVA
  - LEAVES
  - LEVER
  - LONG_GRASS
  - MELON_STEM
  - MOB_SPAWNER
  - NOTE_BLOCK
  - PISTON_BASE
  - PISTON_EXTENSION
  - PISTON_MOVING_PIECE
  - PISTON_STICKY_BASE
  - POWERED_RAIL
  - PUMPKIN_STEM
  - RAILS
  - RED_MUSHROOM
  - RED_ROSE
  - REDSTONE_TORCH_OFF
  - REDSTONE_TORCH_ON
  - REDSTONE_WIRE
  - SAPLING
  - SIGN
  - SNOW
  - STATIONARY_LAVA
  - STATIONARY_WATER
  - STONE_BUTTON
  - STONE_PLATE
  - TNT
  - TORCH
  - TRAP_DOOR
  - VINE
  - WATER
  - WEB
  - WOOD_PLATE
  - WOODEN_DOOR
  - WORKBENCH
  - YELLOW_FLOWER
  - WATER_LILY
  - MONSTER_EGGS
  - HUGE_MUSHROOM_1
  - HUGE_MUSHROOM_2
  - NETHER_FENCE
  - NETHER_WARTS
  - ENCHANTMENT_TABLE
  - BREWING_STAND
  - CAULDRON
  - ENDER_PORTAL
  - ENDER_PORTAL_FRAME
  - ENDER_STONE
  - DRAGON_EGG
BuyItemList:
  Blacklist: true
  Items: []
SellItemList:
  Blacklist: true
  Items: []

Ensuite redémarre ton serveur essaie et si ça ne marche pas met moi ton fichier de permission complet.

MacTheZazou
 
Pas mieu :/

Eventuellement, est ce que ce serais interessant que je t'envoi une archive .rar avec les fichiers du serveur dedans ?

(cela allant a l'encontre de ma précedente tirade "je ne veux pas que ce soit fait dans notre coin) mais je doit avouer que la lassitude me gagne :/
 
Je n'ai malheureusement plus le temps :S car mon serveur qui est un gros projet ouvre dans 3 jours et de nombreux détail sont encore à régler... (Dont des permissions, mon fichier fait 400 lignes xD)

MacTheZazou
 
je pense que c'est pas un problème avec tes permissions car sur mon serveur ca fait pareil. Seul les OP peuvent utiliser this.
Les joueurs peuvent utiliser la commande :
/scs sell 5 10 10
 
Je viens de tester sans mettre "This" et bien une id (j'avais un block planche, j'ai donc utilisé l'id "5") sans aucun résultat.
Cela me dit toujours "you have not the permission for that"