Author Topic: Plugin Tutorials  (Read 1745 times)

Offline «TcS»Shark®

  • TcS Founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 2,458
  • Karma: 136
Plugin Tutorials
« on: November 11, 2011, 05:20:50 PM »
Chest Shop

Here is a tutorial on how to create and use shops.

How to create a ChestShop?
- Place a chest, if you haven't already.
- Place a sign 1 block near the chest (for example, above the chest)
- On the sign, write:


(Item name can actually be item ID or alias)
First line will be filled in by the plugin automatically.
Price is a combination of buy and sell price.
You have to have B near buy price (people buy from you), and S near sell price (people sell to you).
If you have both B and S, separate them with a colon - :
For example:


means that AcrobotPL wants to sell 64 diamonds for 10 currency, and buy them back from you for 5 currency.
Also, if you put "free" instead of price, it is free to buy or sell

- Now, when you finish editing the sign, if LWC is turned on in config, shop will be automatically created.
Also, if your default protection is turned on in the config, people won't be able to break chest, sign or the block the sign is on

What is an Admin Shop?
Admin shop is the shop that doesn't require a chest, because it has infinite stock.
If you sell to it, the items will disappear, and if you buy from it, items will magically appear.
To create one, you have to be Admin/OP. Just put "Admin Shop" (or anything specified in config file) on the first line of the sign.

Restricting shops to some groups
You can either use permissions, or you can just put a sign ABOVE shop sign (you need to be OP/Admin) to restrict it to some groups (Permissions 2/3 only), or to players with ChestShop.group.groupName permission (All permission plugins)
The syntax is:
[restricted]
firstGroupName
2ndGroupName
3rdGroupName
Only those groups will be able to use that shop.

USING SHOPS
You could buy and sell by right and left clicking the sign for a long time.
Now it's the only way to use the shops.
It's SIMPLE!
Just LEFT-CLICK to SELL to shop, and
RIGHT-CLICK to BUY from shop.
(This can be changed in the config file)

DESTROYING SHOPS
If you want to delete your old shop, simply SNEAK and destroy the sign.
It's that easy =)

STOCKING THE SHOPS
You can either open the chest and stock it up, or click on your own sign - it will open chest's inventory (that way you can have chests not openable by other people for sure )

ItemInfo command
It's a simple command that shows item information.
If you use it without any arguments, it shows you information about the item you're holding.
If you specify item id or item name after the command, it will show you information about that item.


Video Tutorial:
http://youtu.be/_91sfbwMx-g


Offline «TcS»Shark®

  • TcS Founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 2,458
  • Karma: 136

Offline «TcS»Shark®

  • TcS Founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 2,458
  • Karma: 136
Re: How to use server plugins
« Reply #3 on: May 22, 2012, 06:09:40 PM »
LWC

This is the protection plugin.  Use this to protect your doors, chests, furnaces, crafting tables, etc.

Commands:
http://wiki.griefcraft.com/wiki/LWC/Commands

http://youtu.be/V1bYTG4vgds

Offline «TcS»Shark®

  • TcS Founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 2,458
  • Karma: 136
Re: Plugin Tutorials
« Reply #4 on: August 07, 2012, 02:33:35 PM »
BOSEconomy

We switched to BOSEconomy because iConomy is no longer being developed.  It is a good plugin and works a lot like iConomy.  It works with all of our plugins , so we should have no problems on the server.  the commands however are a bit different, so please look over the command list to understand how to use the plugin.

Commands
http://dev.bukkit.org/server-mods/boseconomy/pages/commands/


Offline «TcS»Shark®

  • TcS Founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 2,458
  • Karma: 136
Re: Plugin Tutorials
« Reply #5 on: August 07, 2012, 03:04:44 PM »

Offline «TcS»Shark®

  • TcS Founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 2,458
  • Karma: 136
Re: Plugin Tutorials
« Reply #6 on: March 23, 2013, 07:01:29 PM »