files-contents

All files used by the plugin

plugins/RealShop.jar

The plugin itself

plugins/RealPlugin.jar

Need ! Base library for most of my plugins (sorry for that)

plugins/Register.jar or plugins/Vault.jar

Needed if you want to use economy plugins links

plugins/RealShop2/config.txt

Global configuration file

  • broadcastNearbyPlayersRadius (5) : players nearby to a shop know what is bought / sold here (0 to disable, or set the radius)
  • logTransactions (false) : log all transactions into a ; separated data file into plugins/RealShop2/transactions.log (true/false)
  • dailyPricesCalculation (false) : automatically change prices on beginning of each transaction of each day (true/false)
  • language (en) : select your language here (en or *fr* supported, create my.lang.txt files to add more and send them to me !)
  • permissionsPlugin (none) : choose what permissions plugin will be used for users groups permissions system : permissions for the deprecated Permissions plugin, bukkit for the bukkit permissions system, or none built-in op / non-op system
  • shopDamagedItems (true) : may damaged items be sold or purchased (default if not set on shops) ? (true/false)
  • shopInfiniteBuy (false) : default value for infinite buy when shop's value of infiniteBuy is null (true/false)
  • shopInfiniteSell (false) : default value for infinite sell when shop's value of infiniteSell is null (true/false)
  • shopMarketItemsOnly (false) : can shop only items that are into the market.txt file (true/false)
  • shopProtection (true) : protect chest shops against disasters (break, creepers explosions) (true/false)
  • shopOpOnly (false) : only operators can create / remove / configure chest-shops (true/false)
  • workForceRatio (1.1) : for items that have no market price : price equals components prices +10% workforce
  • buySellRatio (0.95) : sell price is a little bit lower than buy price, as a commercial margin (-5%)
  • enchantmentLevelRatio (1.1) : this ratio will be applied to prices for each item's enchantment and for each enchantment level
  • enchantmentRandomWeightRatio (1.1) : this ratio will be applied to prices for each item's enchantment rarity level
  • minDailyRatio (0.05) : the minimum new amount for the price if it was 1 (-95% decrease)
  • maxDailyRatio (1.95) : the maximum new amount for the price if it was 1 (+95% increase)
  • minItemPrice (0.10) : the minimum price of any item
  • maxItemPrice (99999) : the maximum price of any item
  • amountRatio (5000) : this is the ratio to calculate market price moves. The greater it is, the less the price change
  • rightClickBuyMode (chest) : what will you buy when you right-click into a chest's slot ?
    • chest : this work like a chest (and takes a half or the content of the slot)
    • one : this will take an amount of 1 only from the slot

plugins/RealShop2/economy.txt

RealEconomy alternative economy system configuration file

  • currency : the currency symbol
  • initialBalance : the initial balance given to a new player

plugins/RealShop2/market.prices.txt

Set the prices of the global market here (name is given as an information only)

  • buy : the price the players will buy the item if they take one from the chest to their inventory
  • sell : the price the players will sell the item if they put one from their inventory to the chest.
  • if a price is not set, it can be automatically calculated from the item crafting recipe, starting from the prices of the components used to build an item (if the price of the components exist, of course). a work force ration (see config.txt file) is added for each crafting recipe. Daily price recalculation mode only : this file is updated on the first transaction of the day, calculating new prices depending on how many sales / purchases have been done since last calculation.

plugins/RealShop2/playername.prices.txt

Set the prices for all the shops of the given player

  • buy : the price the players will buy the item if they take one from the chest to their inventory
  • sell : the price the players will sell the item if they put one from their inventory to the chest.
  • if a price is not set here, it will be taken from the market prices

plugins/RealShop2/shops.txt

  • List of active shops world, coordinates and creator.
  • This file is automatically updated by RealShop on each shop adding / removing.
  • Version 0 : big chests are registered as 2 lines in here
  • Version 2 : big chests are now registered as 1 line only
  • Beware : version 0 and version 2 are not compatible ! bad use will crash !

plugins/RealShop2/fr.lang.txt

A sample fr language translation file. You can create your own and select your language into the config.txt file. You do not need an en.lang.txt file, but you can create one if you want to change the text.

plugins/RealShop2/realshop.log

A detailed log of what happens with realshop, and shop informations asked by ops.

plugins/RealShop2/transactions.log

A detailed log of transactions, as a flat ; separated data file.


Comments

Posts Quoted:
Reply
Clear All Quotes