SilkSpawnersShopAddon | ★ new update & SALE icon

SilkSpawnersShopAddon | ★ new update & SALE -----

A sign shop addon for SilkSpawners



Current version v4.0.0
This plugin requires Java 21!

SilkSpawners v8+ (NEEDED): Click!
Vault is needed, too.

Description

Many users demanded/asked for it, so here it is:
A sign shop addon for SilkSpawners, which allows easy selling and buying of Monster Spawners.
It is powered by SilkSpawners, this means different mobs are supported.

The plugin is able to store the shops via YAML files, via MySQL(or other derivates such as MariaDB, PostgreSQL) or MongoDB. ( more databases such as DynamoDB will be added on request)
If the file size is too big, please PM me, I can provide smaller versions without extra dependencies.

Before leaving a bad review, please get in touch with me, normally all issues can be solved quickly! :)

Video showcases


(thanks a lot Kobe686 for the video!)

Screenshot/HowTo create a shop

[​IMG]
You can write [SilkSpawners] all lowercase, as well as BUY or SELL

Features

A valid sing looks like this.
Code (Text):

&6[SilkSpawners] (per default, you can configure this in the config)
BUY / SELL:AMOUNT
mob (name or ID)
price ONLY NUMBERS
 
The :AMOUNT part is optional, omitting it leads to the default amount of 1

Price formatting
Version 1.1.3 added the possibility to define your own price layout. It follows supports now valid strings from the Java DecimalFormatter.

You can include a currency sign anywhere where you want now.
The price is formatted like this:
00.## where 0 are digits that are always displayed. The dot(.) is the monetary decimal separator and the # are optional digits, omitted when not present.

Examples:
To always display two decimals (20.15, 1.00) after the comma/dot you would use
numberFormat: '$ 00.00'

To display the last two digits only when needed (23.15, 1) use
numberFormat: '$ 00.##'
  • Custom first line
  • SELL and BUY mode
    • custom amount for each shop
  • Configure left or right click as the actions
  • Support for names and IDs of mobs, case insensitive
  • Custom currency sign and formatting
  • Available storage methods
    • YAML
    • MySQL or variants like MariaDB
    • MongoDB (driver included)
  • Localization of all messages
  • Per mob permissions if configured (perMobPermissions)
  • powered by Vault and SilkSpawners
  • NEW: eggMode, sell and buy eggs instead of spawners

Third party features, all of them can be disabled
Please take a look at the detailed information about Metrics below!
  • bStats for usage statistics

Configuration

Code (Text):
# Valid storage methods are YAML, MONGODB and MYSQL
disableUpdater: false
shopIdentifier: '&6[SilkSpawners]'
numberFormat: '$ 00.##'
invincibility:
  burn: true
  explode: true
  ignite: true
allowedActions:
- RIGHT_CLICK_BLOCK
forceInventoryUpdate: false
perMobPermissions: false
eggMode: false
storageMethod: 'YAML'
mongoDB:
  host: 'localhost'
  port: 27017
  user: ''
  pass: ''
  database: 'silkspawners'
  collection: 'shops'
MySQL:
  host: 'localhost'
  port: 3306
  user: 'root'
  pass: ''
  database: 'shops'
 
Permissions

silkspawners.createshop - Grants the ability to create a shop
silkspawners.destroyshop - Grants the ability to destroy a shop
silkspawners.use.buy - Grants the ability to use all buy shops
silkspawners.use.buy.<mobName> or silkspawners.use.buy.* - Grants the ability to use buy shops for a given mob or all (requires perMobPermissions to be true)
silkspawners.use.sell - Grants the ability to use all sell shops
silkspawners.use.sell.<mobName> or silkspawners.use.sell.* - Grants the ability to use sell shops for a given mob or all (requires perMobPermissions to be true)
silkspawners.use.* - Grants the ability to use both shops
silkspawners.editshop - Allows you to edit shops via the command
silkspawners.updateshops - Allows you to remove invalid shops. MAY CAUSE LAG

Please note that all permissions are included in silkspawners.* too

Commands

There is one command to update the existing shop
/silkspawnersshopaddon <mode OR mob OR price> <newValue>
For example to update the price to 12.5 enter:
/silkspawnersshopaddon price 12.5

The following aliases also work, if not overwritten by another plugin
silkspawnersshop, silkspawnershop, sshop, ssshop, shop

Admin command to check for invalid shops and to bulk remove them:
/silkspawnersshopaddon check - please advise that all shops in your database are checked wether there is still a valid shop (sign) at the saved location. Afterwards it removes all invalid shops from the database. MAY CAUSE LAG. Run with caution :)

Localization


[​IMG] English (default) by timbru31
Download

[​IMG] German by timbru31
Download

Feel free to share your localizations and they will be added here, just leave a comment with a link to a translated localization.yml!
Thank you for contributing!

Known Bugs
  • none so far :)
  • Please do not send bug reports, if you haven't setup your database correctly!

Changelog

Version 4.0.0
  • Updates bundled MongoDB dependency
  • Updates bStats
  • Updates SilkSpawners dependency
  • Requires now Java 21 and Minecraft 1.20 or newer
Version 3.0.4
  • Updates bundled MongoDB dependency
  • Updates bStats
  • Updates SilkSpawners dependency
Version 3.0.3
  • Updates bundled MongoDB dependency
Version 3.0.2
  • Restores 1.8 compatibility
  • Updates bundled MongoDB dependency
  • Various code refactorings and optimizations
Version 3.0.1
  • Fixes an issue with the update checker
Version 3.0.0
  • Updates API to be SilkSpawners v6+ compatible. REQUIRES SILKSPAWNERS V6
  • Updates bStats
  • Updates bundled MongoDB dependency
  • Various smaller code improvements
Version 2.1.3
  • updated bundled MongoDB dependency
Version 2.1.2
  • updated bundled MongoDB dependency
Version 2.1.1
  • updated bundled MongoDB dependency
  • compile against Bukkit 1.12.2
Version 2.1.0
  • updated bundled MongoDB dependency
  • compile against Bukkit 1.12.1
Version 2.0.0
  • requires Java 8
  • fixed two issues regarding permissions
Version 1.4.4
  • fixed compatibility with Minecraft 1.8
Version 1.4.3
  • removed HSQLDB support
    • I've monitored that no user was actually using it. Message me if support for HSQLDB is wanted
    • decreased file size!
  • updated bundled MongoDB dependency
Version 1.4.2
  • switched from MCStats to bStats
Version 1.4.1
  • fixed support for SQL storage methods
Version 1.4.0
  • add eggMode - shops will sell and buy eggs instead of spawners
  • updated bundled MongoDB dependency
Version 1.3.4
  • updated bundled MongoDB dependency
  • compile against Bukkit 1.11
  • improved log methods
Version 1.3.3
  • Fixed startup issue for some users
Version 1.3.2
  • Restore 1.8 compatibility
  • Fix potential memory leak
Version 1.3.1
  • Fixed potential issue on startup
Version 1.3.0
  • Ability to configure the amount of a shop
    • syntax is BUY/SELL:AMOUNT (e.g. BUY:3 or SELL:5)
    • Recommended to delete your localization.yml once, due to updated translations
  • Added per mob permissions (e.g. silkspawners.use.buy.<mobName> or silkspawners.use.sell.*, enabled via config)
  • Added option to make multiline messages (newlines) - see http://stackoverflow.com/a/18708156/1902598 for how to make newlines
  • Build against Bukkit 1.10.2, Vault 1.6 and SilkSpawners 3.7.3
  • Updated bundled dependencies
    • JSON, MongoDB Java Driver & HSQLDB
Version 1.2.0
  • Make first line configurable, color supported (see shopIdentifier in config)
  • Updated Metrics for 1.9 compliance
  • Updated bundled MongoDB driver
Version 1.1.3
  • New configuration of the price via numberFormat in the config (see updated section in the description)
  • Toggle to disable the auto updater (disableUpdater)
  • Fixed/Updated URL for the auto updater
  • Updated included MongoDB driver
Version 1.1.2
  • Fixed issue when a shop was removed when a sign next to it broke
  • Added toggle to force an inventory refresh after a purchase/sale (forceInventoryUpdate)
  • Upgraded bundled MongoDB dependency
Version 1.1.1
  • Added admin command to search and remove invalid shops:
    • RUN WITH CAUTION: /silkspawnersshopaddon check
  • Disable Updater on dev-builds
Version 1.1.0
  • Fixed issue that all items instead of one got sold (for the price of one)
  • Added use permissions (silkspawners.use.buy or silkspawners.use.sell)
  • Improvements when shops are created (stripping of spaces)
  • Support for updating shops
    • Sign editing plugins like Signs, EditableSigns, ... etc. are supported
    • Added commands to update the signs (see commands section)
      • /silkspawnersshopaddon or short /shop
  • Make signs indestructible or remove the shop from the database
    • e.g. on explosion, break underneath, burn
  • Fixed issue with Mac clients updating signs
  • Updated bundled MongoDB version
  • Added Updater which informs you of new versions (no auto-downloading)
  • Due to piracy I was forced to obfuscate my code from now on.
Version 1.0.1
  • Fixed version string in plugin.yml
  • Added links to README.md and plugin.yml
Version 1.0.0
  • Initial release

Statistics (from bStats)

[​IMG]

License

  1. You DO NOT have the permission to redistribute, share, sell or make this plugin in any other way available for others in binary form.
  2. DECOMPILATION of a purchased binary is a VIOLATION of this license.
  3. One purchase is valid for ONE hub/network.
  4. You acknowledge that there are NO refunds.
  5. If you are under 18 years or legal age in your country of residence you acknowledge that you have got the permission of your parents to buy this plugin.
  6. You can compile a version for yourself from source if (1.) is preserved.

Information about the data usage collection bStats

Disabling bStats
The file ./plugins/bStats/config.yml contains an option to opt-out.

The following data is read and sent to https://bstats.org and can be seen under https://bstats.org/plugin/bukkit/SilkSpawnersShopAddon
  • Your server's randomly generated UUID
  • The amount of players on your server
  • The online mode of your server
  • The bukkit version of your server
  • The java version of your system (e.g. Java 8)
  • The name of your OS (e.g. Windows)
  • The version of your OS
  • The architecture of your OS (e.g. amd64)
  • The system cores of your OS (e.g. 8)
  • bStats-supported plugins
  • Plugin version of bStats-supported plugins
  • Storage method of SilkSpawnersShopAddon

[​IMG]

Partnership
[​IMG]

Before leaving a bad review, please get in touch with me, normally all issues can be solved quickly! :)
Resource Information
Author:
----------
Total Downloads: 1,196
First Release: Sep 10, 2015
Last Update: Jan 19, 2025
Category: ---------------
All-Time Rating:
41 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings