GiantShop
V2.0
GiantShop 2.0 continues where SimpleShop left off! It is great, fast and most importantly: easy to use! GiantShop is a global shop, wich uses a commands based system to sell and buy items.
Features
- Global shop
- Item gifting
- SuperPerms!
DataTypeMaterialData supported including names! Now you can add all your wool colours to your shop!
- Add items from the console!
- Item stock levels, so you can now have items run out of stock!
- Inflation/Deflation of the total cost based on the current item stock!
- Add discounts for that special user/group!
Dependencies
Library
- GiantShop 2.0 now depends GiantCore!
Economy engine
- GiantShop 2.0 currently has a soft hard depend on any of the following economy engines:
- AEco
- CraftConomy
- CurrenyCore
- Essentials Economy
- McMoney
- MineConomy
- MultiCurrency
- BOSEConomy 6 or 7
- iConomy (4, 5 or 6)
- AEco
Permissions engine
- GiantShop 2.0 has a soft depend for a permissions engine. Currently you can choose between any of the below:
- None: OP has all perms.
- Any sperm plugin (Bukkit SuperPerms)
- Permissions EX
- GroupManager
- bPermissions
- zPermissions
- None: OP has all perms.
Documentation
- Commands
- GSL Commands
- Permissions
- Configuration
- More soon to follow!
Change log
- (17/5/2013) V2.0 0.9.1.BETA-94 (Cacti Powered)
- Fixed minor bug in update check.
- (16/5/2013) V2.0 0.9.BETA-92 (Cacti Powered)
- GiantShop now depends GiantCore!
- Implement better way of updating configuration file. Now no longer resets entire file.
- Help list should now be easier to customize.
- Update items.yml to minecraft 1.5.
- Implement totally new GSW API, allows for remote shopping!
- Implement search command.
- Fix bug that caused items to show as for sale/purchase even though disabled.
- Fix action logging to now be actually valid JSON.
- Update GSL API to be more useful.
- Enable APIs to be disabled individually.
- Centralize price calculations for inflation/deflation. (Reduces code duplication).
- Fix bug causing very incorrect deflation and inflation results.
- Fix bug allowing empty shops to be created
- Implement better versioning system.
- (27/9/2012) V2.0 0.8.5.BETA (Forniphilia)
- Fixed bug that caused loading the itemstock API to throw an NFE.
- (28/8/2012) V2.0 0.8.4.BETA (Forniphilia)
- Fixed the bugs with SQLite for good this time.
- Fixed importing and exporting of both shops and discounts to actually work again!
- Fixed item types always being "null" when exporting.
- Implement support for h2 databases.
- Please note that if you downloaded my earlier released dev build, you will need to redownload this jar as the dev build did not turn out as final!
- Fixed the bugs with SQLite for good this time.
- (24/8/2012) V2.0 0.8.3.BETA (Forniphilia)
- Fixed a bug that caused SQLite to not work too good.
- Made GiantShop more 1.3 compatible out of the box!
- Update mineconomy library to a newer version.
- Modify default world names in conf.yml to be more representative to actual world names.
- Still contains bug that causes SQLite to not work as expected with GiantShopLocation, please use MySQL as a temporary work around, or wait for 0.8.4.BETA!
- Fixed a bug that caused SQLite to not work too good.
- (12/7/2012) V2.0 0.8.2.BETA (Forniphilia)
- Fixed a bug that caused a failure in database creation.
- (1/7/2012) V2.0 0.8.1.BETA (Forniphilia)
- Fixed a bug that caused tools and armor to be able to infinitely sell.
- Fixed a bug that caused the shop to take the wrong tool when attempting to sell a tool with GiantShop.global.AcceptBrokenTools set to true
- Removed a little debug information from the add command.
- Add missing GiantShop.global.AcceptBrokenTools node in conf.yml.
- Fixed a bug that caused tools and armor to be able to infinitely sell.
- (30/6/2012) V2.0 0.8.BETA (Forniphilia) - Contains critical bug, please download 0.8.1.BETA instead!
- Fixed a bug that caused private sell and buy messages to be broadcasted.
- Fixed a bug that caused the sell command to not show correct new balance.
- Fixed a bug which could cause the check command to throw a NullPointerException.
- Fixed a bug that cause a debug message to be visible even if debug was disabled.
- Changed internal colour replacer to use ChatColor as opposed to §.
- Fixed a bug that under certain circumstances caused the MySQL driver to throw a NullPointerException.
- Improve the new version warning that is build into GiantShop
- Add setting to disable broadcasting new version message to operators.
- Implement an API for GSL.
- Update to a more recent version of my database driver system.
- Implement Metrics into GiantShop.
- Update to a more recent version of my permissions system, this adds support for a few more permission engines.
- Fixed a bug that caused the GSL help page to show an extra /.
- Moved GiantShop.global.opHasPerms to a more appropriate position under GiantShop.premissions.opHasPerms.
- Disable the default granting of certain permissions to anyone when using Bukkit Super Perms.
- Disable the default granting of certain permissions to operators when using Bukkit Super Perms.
- Modified no group warning message when not using permissions to only show at launch.
- Implement discounts into GiantShop.
- Implement command to reload GiantShop configuration.
- Implement a few more message templates to msgTemplate.yml.
- Add support for bPermissions
- Add support for zPermissions
- Add support for GroupManager
- Numerous minor bug fixes and code modifications.
- Renamed the jar so it no longer holds "2.0" in the name.
- Fixed a bug that caused private sell and buy messages to be broadcasted.
- While this release is a beta, I feel after some quite thorough testing, it is stable enough to wear the tag "Release". Do however not hesitate to tell me of any bugs you find! :)
- (3/6/2012) V2.0 0.7.2.BETA (Dental Dam)
- Fixed a bug that caused weird Â's to be shown all over GiantShop's messages
- (15/5/2012) V2.0 0.7.1.BETA (Dental Dam)
- Fixed a bug that caused use of commands to throw an Illegal Access exception
- Fixed bug that caused an NPE to be throw if no arguments were passed to the check command
- Fixed a bug that caused use of commands to throw an Illegal Access exception
- (15/5/2012) V2.0 0.7.BETA (Dental Dam)
- Fixed a bug that caused GiantShop to not be able to use some economy engines.
- Added Items to the item stock API, it is now possible to get access to GiantShop's item name/id handler!
- Implement an automated version checker. Note: this does NOT automatically update!
- Multiple changes to the item stock API to make it more user friendly.
- Fix bug that caused the MySQL connection to time timeout and not be remade.
- Include ability to log transactions users make. Note: Format might be humanly unreadable, but is required in current way for inclusion in top secret project!
- Fixed a bug that caused the item update command to throw NPEs if user tried saving after saving.
- Implemented an API for GiantShopLocation
- The check command should now respect inflation and deflation properly
- The list command should now respect inflation and deflation properly
- Fixed a bug that caused splash potions to not be sold as such
- Fixed a bug that made it possible to sell splash potions without removing them from the players inventory.
- Moved the broadcasted messages on sell, buy and gift to the msgTemplate.yml.
- Moved the message telling the player his new balance to the msgTemplate.yml.
- Moved the broadcasting settings to a new location in conf.yml.
- Gave gift it's own setting to enable or disable the broadcasted message.
- Added a section to the conf.yml for the transaction logger.
- Implemented a way to hide items with an empty stock from the list command.
- Numerous other small bug fixes.
- Fixed a bug that caused GiantShop to not be able to use some economy engines.
- While this release is a beta, I feel after some quite thorough testing, it is stable enough to wear the tag "Release". Do however not hesitate to tell me of any bugs you find! :)
Handy stuff
- BetterShop to GiantShop converter
- Latest dev build * **
* Use at your own risk! Stability is not guaranteed!
** It might be wise to disable the "GiantShopWeb" API if you run 0.9.DEV as it is not finished!
Like my work? Please donate!
OK that not working it say Diamond has ben requested then when i say the /shop buy thing it doesn't work
@Wetprinter
That means that you do NOT have the item you are trying to buy in your shop. Try /shop list and see if it is added. If not do /shop add [item] [amount] [sellFor] [buyFor] (stock) (maxStock). Please note that sellFor and buyFor are front the view point of the shop, meaning sellFor is what the shop sells for!
WHen i tried to buy something it says: I am sorry but we have no frigging clue what item you want as we found either 1 result! PLease help me
@Wetprinter
Please have a look here and here
It says shop is disabled in your world??
Thanks aloud good you the best!!!
Dom me!!!
Where do i change it in conf.yml???
@Wetprinter
Uh? You mean for creating a region with GiantShopLocation?
That's quite easy! Make sure you are holding the item that you configured in the configuration file (conf.yml), by default this would be a cyan dye. Now use left and right mouse click to set the points, and you're all good to go! :)
How do you make points to the shops????
@bozott
Please enable debug mode. To do this, please set GiantShop.global.debug to true. This should give you the actual error output. And when you have that, could you file a ticket based on your issue?
I keep on getting an error: [SEVERE] [GiantShop] Could not execute query! [SEVERE] [GiantShop] Could not execute query!
When I try do this command /shop add sign 1 1 1
What am i doing wrong and how do I fix?
@tronekngt
Do note, I have currently only deprecated the alias section for item types. The main item section has yet to follow. :)
@Thidox
Ah ok that makes sense.
I ended up adding aliases exactly the way you describe.
Thanks!
@tronekngt
The alias section is actually deprecated. You can add aliases directly under the "types" section, by using a list instead of a single item. To use make a list in YAML you have 2 options.
1. Prepend it with a "[", comma separate each individual value, append it with a "]"
2. Prepend each individual value with a "- "
Please let me know if you need any further assistance in this matter.
Hello again!
Reference file items.yml under aliases.
How do you create aliases for items with damage values? I tried using 17:1, but it said it was invalid. I also noticed that the logs have 17/0, 17/1, 17/2 as their damage values. However, it doesn't work with this format as well. If I were to add the entry "pinelog: 17/1" and tried the command /s s pinelog it would sell an oak log (17:0) instead, ignoring the damage value.
I noticed that the logs are the only one with damage value aliases in the items.yml file.
I found a way to add aliases for items with damage values by adding additional names under the type instead.
Although I found a way to add the names, I wanted to see if this is the way its meant to be done or if this is a bug.
@Aeten
You do that in the config file under the db section, more help on that subject should be in my configuration help page! :)
How do i disable mysql i think that is the problem
Thanks for great help too!! very fast
@Aeten
That leaves 2 possible failures.
1. You have set GiantShop up to use MySQL, but with the incorrect details causing GiantShop to not be able to reach the database and therefor not be able to find any items.
2. You have forgotten to add items to the shop. (use /shop add|a [item] [amount per stack] [sellFor] (buyFor) (stock) (maxStock) to add items to the shop) causing GiantShop to not be able to find any items either. :P
Thats when I use /shop sell [randomitem] [randomamount] and ive tried with many items