Bonjour, hier j'ai découvert sur mon serveur un GROS PROBLÈME ! Je ne sais pas comment faire, j'ai testé sur les autres serveurs si tout le monde avait pareil et si oui, je l'aurais dis au créateur de ChestShop pour qu'il fix le bug sauf que personne d'autre ne l'a ! (j'ai la dernière version)
Enfaites, le problème est que si je prend par exemple une table d'enchantements je la mes sur une enclume, je change le nom par exemple pour "teste" après je vais vendre au Shop cela se produit comme ca :
Je clique gauche pour vendre et cela vend la table d'enchantements sauf que la table reste dans mon inventaire, je peux vendre non stop je vais à chaque fois gagner des ecus ! (c'est la monnaie de mon serveur). Je ne sais pas qu'est-ce que je dois faire pour que personne ne devienne trop riche en 30sec, pourriez-vous m'aider? Les joueurs qui ne font pas ce "glitch" voudraient un Shop et se plaignent mais je ne peux pas ...
Voilà ma config :
Et enfin, voilà mon fichier Local :
En attente de vos réponses les plus rapides, KynneD.
Enfaites, le problème est que si je prend par exemple une table d'enchantements je la mes sur une enclume, je change le nom par exemple pour "teste" après je vais vendre au Shop cela se produit comme ca :
Je clique gauche pour vendre et cela vend la table d'enchantements sauf que la table reste dans mon inventaire, je peux vendre non stop je vais à chaque fois gagner des ecus ! (c'est la monnaie de mon serveur). Je ne sais pas qu'est-ce que je dois faire pour que personne ne devienne trop riche en 30sec, pourriez-vous m'aider? Les joueurs qui ne font pas ce "glitch" voudraient un Shop et se plaignent mais je ne peux pas ...
Voilà ma config :
Code:
PREFERRED_ECONOMY_PLUGIN: ""
#WHEN NOT USING VAULT. Preferred (if not found, uses any other) economy plugin (iConomy, BOSEconomy, Essentials).
SHOP_INTERACTION_INTERVAL: 100
#(In 1/1000th of a second) How often can a player use the shop sign?
IGNORE_CREATIVE_MODE: true
#Do you want to allow using shops to people in creative mode?
REVERSE_BUTTONS: false
#If true, people will buy with left-click and sell with right-click.
ALLOW_SIGN_CHEST_OPEN: true
#Can shop's chest be opened by owner with right-clicking a shop's sign?
ALLOW_LEFT_CLICK_DESTROYING: true
#If true, if you left-click your own shop sign you won't open chest's inventory, but instead you will start destroying the sign.
REMOVE_EMPTY_SHOPS: false
#If true, if the shop is empty, the sign is destroyed and put into the chest, so the shop isn't usable anymore.
ADMIN_SHOP_NAME: "Admin Shop"
#First line of your Admin Shop's sign should look like this
SERVER_ECONOMY_ACCOUNT: ""
#The economy account which Admin Shops should use and to which all taxes will go
TAX_AMOUNT: 0
#Percent of the price that should go to the server's account. (100 = 100 percent)
SERVER_TAX_AMOUNT: 0
#Percent of the price that should go to the server's account when buying from an Admin Shop
SHOP_CREATION_PRICE: 0
#Amount of money player must pay to create a shop
SHOP_REFUND_PRICE: 0
#How much money do you get back when destroying a sign?
BLOCK_SHOPS_WITH_SELL_PRICE_HIGHER_THAN_BUY_PRICE: true
#Should we block shops that sell things for more than they buy? (This prevents newbies from creating shops that would be exploited)
ALLOW_MULTIPLE_SHOPS_AT_ONE_BLOCK: false
#Do you want to allow other players to build a shop on a block where there's one already?
ALLOW_PARTIAL_TRANSACTIONS: true
#Can shops be used even when the seller doesn't have enough items? (The price will be scaled adequatly to the item amount)
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?
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
RECORD_TIME_TO_LIVE: 600
#How long should transaction information be stored in the database (in seconds, -1 means forever)?
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?
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?
STATISTICS_PAGE_GENERATION_INTERVAL: 60
#How often should the website be generated?
TOWNY_INTEGRATION: false
#Do you want to only let people build inside shop plots?
TOWNY_SHOPS_FOR_OWNERS_ONLY: true
#If true, only plot owners are able to build inside a shop plot. If false, every town's resident is able to build there.
WORLDGUARD_INTEGRATION: false
#Do you want to only let people build inside regions?
WORLDGUARD_USE_FLAG: true
#Do you want to only let poeple build inside region flagged by doing /region regionName flag chestshop allow?
WORLDGUARD_USE_PROTECTION: false
#Do you want ChestShop to respect WorldGuard's chest protection?
HEROES_EXP: 100
#How much Heroes exp should people get for creating a ChestShop?
Code:
prefix: "&a[Shop] &f"
iteminfo: "&aItem Information:&f"
ACCESS_DENIED: "You don't have permission to do that!"
NOT_ENOUGH_MONEY: "You don't have enough money!"
NOT_ENOUGH_MONEY_SHOP: "Shop owner doesn't have enough money!"
NO_BUYING_HERE: "You can't buy here!"
NO_SELLING_HERE: "You can't sell here!"
NOT_ENOUGH_SPACE_IN_INVENTORY: "You haven't got enough space in inventory!"
NOT_ENOUGH_SPACE_IN_CHEST: "There isn't enough space in chest!"
NOT_ENOUGH_ITEMS_TO_SELL: "You don't have enough items to sell!"
NOT_ENOUGH_STOCK: "This shop is out of stock."
NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "Your %material shop is out of stock!"
YOU_BOUGHT_FROM_SHOP: "You bought %amount %item from %owner for %price."
SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer bought %amount %item for %price from you."
YOU_SOLD_TO_SHOP: "You sold %amount %item to %buyer for %price."
SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller sold %amount %item for %price to you."
YOU_CANNOT_CREATE_SHOP: "You can't create this type of shop!"
NO_CHEST_DETECTED: "Couldn't find a chest!"
ANOTHER_SHOP_DETECTED: "Another player's shop detected!"
CANNOT_ACCESS_THE_CHEST: "You don't have permissions to access this chest!"
PROTECTED_SHOP: "Successfully protected the shop with LWC!"
SHOP_CREATED: "Shop successfully created!"
SHOP_REFUNDED: "You have been refunded %amount."
NO_PERMISSION: "You don't have permissions to do that!"
INCORRECT_ITEM_ID: "You have specified invalid item id!"
NOT_ENOUGH_PROTECTIONS: "You have reached the protection limit!"
CANNOT_CREATE_SHOP_HERE: "You can't create shop here!"
En attente de vos réponses les plus rapides, KynneD.