This page contains some basic and midlevel information and commands for the plugins Towny, ChestShop and general economy questions.
Towny is a plugin made over at palmergames.com. It provides user managed land protection and a simple form of government. Visit their website for more information.
|Command||What It Does|
|/town||Info page for Towns|
|/t new Town_Name_Here||Create a new town|
|/t spawn||Quickly teleport to your town's spawn|
|/t claim||Claim more area for your town. /t claim outpost to claim an outpost|
|/t outpost #||Teleport to the specified outpost|
|/t set||Show a list of options to set for your town.|
|/t toggle||Show a list of toggle options for your town, such as PvP|
|/t ?||Show a list of commands. Do /t mayor to show a list of Mayor commands.|
|/nation||Info page for nations|
|/n ?||Help page for nations. /n king to show nation leader commands|
|/n new Nation_Name_Here||Create a new nation. Must be the Mayor of a town|
|/n set||List of options to set for your nation|
|Town Upkeep||$0||Daily||Town Bank|
|Nation Upkeep||$100||Daily||Nation Bank|
|Neutral Status||$100||Daily||Nation Bank|
|Bonus Blocks||$25||Once||Town Bank|
|Town Tax||Town Dependant||Daily||Player Bank|
|Nation Tax||Nation Dependant||Daily||Town Bank|
Some of the above prices can be seen in game using /towny prices
Simple Chest and Sign based shop plugin. Uses the in-game currency to make transactions. At the spawn point there are "Admin Shops" that sell and buy limited items. More on that in the Economy section below.
How to make a ChestShop
Following this table will show you how to make a ChestShop.
|Line||Info||Example Buy||Example Sell||Example Both|
|2||Number of items per transaction||8||16||2|
|3||Buy/sell price||B 100||S 50||B 34 : S 12|
|4||Item name/Item ID||1||Stone||Stone:1|
In the Buy and Sell examples, we are buying/selling stone. In the Both example, we are buying/selling Granite. On a ChestShop sign, Granite will appear as Stone:1.
Finding Item IDs
There are many ways online to find Item IDs, including the Minecraft Wiki, but there are also two in-game methods as well. Option One is a coded in the game itself, and Option Two is provided by the plugin.
This method uses Minecraft's own debug tools to show Item ID when you hover your mouse over an item. To activate it, hold down F3 and push the H key. A message will show telling you it worked.
This method uses a command from the ChestShop plugin. While holding the item you want to see the Item ID of, type /iteminfo. It will show the name of the item, and it's Item ID. The advantage to this, is the ability to get a code for customized items, like Enchanted Swords, banners, shulker boxes, FireWorks, etc. It will provide the Item ID and an extra bit to add at the end because it's a custom item. An example would be like this for a Firework: 401#23