Plugin ChestShop.

Dragondrax1013

Aventurier
23 Avril 2011
5
0
1
Bonjour tout le monde !

Pour commencer, j'ai créer un serveur Minecraft pour jouer avec des amis, nous sommes 4 et nous souhaitons créer des magasins, j'ai donc installé ChestShop et iConomy en plus, mais j'ai un problème quand je veut créer une boutique :

You can't create this type of shop!

Ce que je fait : je met un coffre avec de la terre (juste pour essayer) je remplis les lignes (quantité/prix/objet) et j'ai ce message, pour ce qui est de la configuration des plugins je vous les donne, peut être que j'ai loupé quelque chose :

ChestShop :

Code:
PREFERRED_ECONOMY_PLUGIN: ""
#Preferred economy plugin (iConomy, BOSEconomy, Essentials). If you do not want to specify this, leave it blank.
REVERSE_BUTTONS: false
#If true, people will buy with left-click and sell with right-click.
SERVER_ECONOMY_ACCOUNT: ""
#Economy account's name you want Admin Shops to be assigned to
ADMIN_SHOP_NAME: "vendeur"
#First line of your admin shop should look like this
SHOP_CREATION_PRICE: 0
#Amount of money player must pay to create a shop
LOG_TO_FILE: false
#If true, plugin will log transactions in its own file
LOG_TO_CONSOLE: true
#Do you want ChestShop's messages to show up in console?
LOG_TO_DATABASE: false
#If true, plugin will log transactions in EBean database
GENERATE_STATISTICS_PAGE: false
#If true, plugin will generate shop statistics webpage.
STATISTICS_PAGE_PATH: "plugins/ChestShop/website.html"
#Where should your generated website be saved?
RECORD_TIME_TO_LIVE: 600
#How long should transaction information be stored?
STATISTICS_PAGE_GENERATION_INTERVAL: 60
#How often should the website be generated?
USE_BUILT_IN_PROTECTION: true
#Do you want to use built-in protection against chest destruction?
PROTECT_CHEST_WITH_LWC: false
#Do you want to protect shop chests with LWC?
PROTECT_SIGN_WITH_LWC: false
#Do you want to protect shop signs with LWC?
MASK_CHESTS_AS_OTHER_BLOCKS: false
#Do you want to mask shop chests as other blocks? HIGHLY EXPERIMENTAL, CAN LAG!
SHOW_MESSAGE_OUT_OF_STOCK: true
#Do you want to show "Out of stock" messages?
SHOW_TRANSACTION_INFORMATION_CLIENT: true
#Do you want to show "You bought/sold... " messages?
SHOW_TRANSACTION_INFORMATION_OWNER: true
#Do you want to show "Somebody bought/sold... " messages?

iConomy :

Code:
# iConomy 5.0
System:
    Default:
        Currency:
            Major: [ 'Euro', 'Euros' ]                # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
            Minor: [ 'Centime', 'Centimes' ]                    # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 Dollars, 23 Coins)
        Account:
            Holdings: 50.0                            # Default holdings on hand upon join / creation.
        Bank:
            Name: Banque                             # Default Bank Name
            Currency:
                Major: [ 'Euro', 'Euros' ]
                Minor: [ 'Centime', 'Centimes' ]
            Account:
                Fee: 20.0                             # Default cost to register an account
                Holdings: 30.0                        # Default initial account holdings
    Formatting:
        Minor: false                                  # Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
        Seperate: false                               # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
    Logging:
        Enabled: false                                # Logs transactions done inside iConomy only, other plugins must utilize the api. (Logs to SQL)
    Banking:
        Enabled: false
        Accounts:
            Multiple: true
    Interest:
        Enabled: true
        Online: true                                  # Only give to players who are online?
        Announce:
            Enabled: false
        Interval:
            Seconds: 60
        Amount:
            Cutoff: 0.0                               # Amount limit to be met until we stop giving interest. (0.0 for no limit)
            On: 'Players'                             # Banks or Players
            Percent: 0.0                              # Percent of holdings to give / take (Negative to take) (Overrides Min/Max)
            Maximum: 1                                # (Range) Maximum amount for random in between. (Make Max/Min equal for a flat-rate amount ie: 5/5)
            Minimum: 2                                # (Range) Minimum amount for random in between.
    Database:
        Type: 'MySQL'                                 # H2 or MySQL
        Settings:
          Name: 'minecraft'
          Table: 'iConomy'
          MySQL:
              Username: 'root'
              Password: ''
              Hostname: 'localhost'
              Port: 3306

Permissions :

Code:
plugin:
    permissions:
        system: default
        copies: 

groups:
    Default:
        default: true
        info:
            prefix: ''
            suffix: ''
            build: true
        inheritance:
        permissions:
            - foo.bar
            - essentials.afk
            - essentials.back
            - essentials.back.ondeath
            - essentials.clearinventory
            - essentials.compass
            - essentials.depth
            - essentials.getpos
            - essentials.help
            - essentials.helpop
            - essentials.home
            - essentials.home.other
            - essentials.info
            - essentials.list
            - essentials.motd
            - essentials.ping
            - essentials.rules
            - essentials.seen
            - essentials.sethome
            - essentials.spawn
            - essentials.suicide
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - iConomy.payment
            - iConomy.access
            - iConomy.rank
            - iConomy.list
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - elevators.builder 
            - elevators.advancedbuilder

J'ai enlevé les lignes de commentaires pour ne pas que sa prenne de place pour rien, dans ma configuration elles y sont.

Si d'autre plugins rentre en considération je peut vous mettre la config, si j'ai loupé quelque chose ou que je dois faire une commande avant de créer le magasin merci de me le dire, nous sommes un peu perdu.

Merci d'avance et bonne journée !

EDIT : J'ai mis sous balise code car les balise spoiler ne voulait pas s'afficher.
 
Le problème vient des permissions depuis la mise à jour pour bukkit 1060 elles ont changé.

Les voici :

- iConomyChestShop.shop.create = - ChestShop.shop.create
- iConomyChestShop.shop.buy = - ChestShop.shop.buy
- iConomyChestShop.shop.sell = - ChestShop.shop.sell

En espérant que le problème vient bien de là et de t'avoir aider.
 
Merci beaucoup, j'ai fait ces modifications, quand je re-lancerai mon serveur j'essayerai, si sa fonctionne, je mettrai mon sujet en résolu.

Merci. ;)
 
Help002 pour répondre à ta question même si le topic date de 2011 le fichier permission est générée par un plugin de permissions tel que PermissionsEx/GroupManager.

En espérant t'avoir aidé

Akarus95
 
Éviter de remettre en avant des sujets très vieux svp afin de ne pas polluer le forum, Merci.

Je sais que je ne suis pas modérateur, mais je ne fais qu'avertir pour leur économiser du temps.


Cordialement,
Maxlehot1234