SilkSpawnersEcoAddon
SilkSpawnersEcoAddon - Get charged when you change a mob spawner
Version v3.2.0
SilkSpawners v6.0.0+ (NEEDED): Click!
Description
Do you want to optional equip SilkSpawners with an economy feature?
This little addon will charge the users money via Vault when the change, place or break a spawner
I'm happy to hear about your opinion, just leave a comment with a feature request, bug, improvement or just a personal opinion.
As a reminder I want to say that I really appreciate a 'thank you' in form of a donation! (See details on the bottom)
Features
- Supports SilkSpawners API/Events
- Supports all economy systems via Vault
- Charging when
- NEW: Placing a spawner
- NEW: Breaking a spawner
- Changing a spawner via /spawner
- looking
- or holding
- Changing a spawner via a spawn egg
- Configure the price for each mob and action (changing, placing, breaking)
- Default price for mobs which are not added
- Support for both ID and names in the config
- Prevent multiple charges if the mob stays the same
- Localization of all messages
- XP fallback - charge XP instead of money
- Second command/action as a confirmation needed (optional)
- Charge both money and XP
- NEW: Change the money formatting!
Third party features, all of them can be disabled
Please take a look at the detailed information about bStats below!
- bStats for usage statistics
- Auto Updater (connecting to http://dev.bukkit.org for updating checking)
- can be disabled if you switch autoUpdater to false in the config.yml
Configuration
# You can configure every entityID/name (without spaces) or a default! autoUpdater: true
chargeSameMob: false chargeXP: false chargeBoth: false chargeMultipleAmounts: false
numberFormat: $ 00.## confirmation: enabled: false delay: 30 default: break: money: 10.5 xp: 100 change: money: 10.5 xp: 100 place: money: 10.5 xp: 100 pig: break: money: 7.25 xp: 200 change: money: 7.25 xp: 200 place: money: 7.25 xp: 200 cow: break: money: 0.0 xp: 20 change: money: 0.0 xp: 20 place: money: 0.0 xp: 20
Some tips:
- Want to make all mobs for free but only some paid? Turn default to 0 then!
Commands
There is only one command to reload the configuration
/silkspawnerseco reload
(Aliases are silkspawnersecoaddon, silkspawnerseco, silkspawnerecoaddon
Permissions
silkspawners.free (default: OP) - Bypasses the economy check!
silkspawners.reload (default: OP) - Allows you to reload the configuration
Downloads/Source Code/Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
(Latest dev builds/bleeding edge builds) - - Dev builds from Jenkins
(Source code hosted on Github) - - Source Code
Future Plans (a.k.a. ToDo)
- Nothing
Known Bugs
- I haven't found any while testing, if you find any, create a ticket!
Changelog
Version 3.2.0
- Adds a currency formatting option for the %money% placeholder.
Version 3.1.0
- Adds an auto updater feature
- Fixes a bug where wrong config entries were added to the config.yml
Banner
Feel free to use this banner!! :)
Statistics (from bStats)
Donations
I'm very happy about any donation.
Support me & buy me some beer, this makes me happy and keeps me interested in this plugin.
Donation chain: -> I receive some money -> Buy coffee -> Work longer -> Faster Updates -> Your benefit!
There is a button on top of this page (right to the different tabs)
I'm accepting bitcoins, too! :)
Address: 1NnrRgdy7CfiYN63vKHiypSi3MSctCP55C
License
This plugin is released under the MIT license!
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 bstats.org and can be seen under bstats.org/plugin/bukkit/SilkSpawnersEcoAddon
- 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
is there a way to use this plugin to sell spawners in a shop with essentials signs
just a suggestion, it'd be nice if there was a way to charge people for mining spawners, I wanted a way to make it so non donors can mine spawners w/silk touch for 20K per spawner, donors free (with the bypass permission)
@Peepman99
Glad to hear it works as intended :)
I'll add some documentation when I release an update
@xGh0sTkiLLeRx
Thanks bunches! Really lowers the amount of complaints in that area
@Peepman99
Try 159 -> http://ci.dustplanet.de/job/SilkSpawnersEcoAddon/159/
@Peepman99
A confirmation click would be a nice feature, indeed!
Would it be possible for some functionality that warns users how much changing a spawner into another one costs (such as: player clicks spawner with desired mob egg -> player is told that changing to this mob will cost x, click again to proceed -> player clicks again -> mob spawner changes; something like that)
If this could be added, it'd really significantly lower the amount of people who complain they didn't know changing a spawner into a different spawner would cost so much.
Thanks in advance ~
@Zmeagol
The way EssentialsEco handles selling/buying spawners is NOT on my end.
They decided to give you the general "Monster Spawner" and not one with a custom name for each mob (like SilkSpawner does).
Are you sure this conflict is caused by SilkSpawners(EcoAddon), can you try it without SilkSpawners and see what happens?
I don't know if it is a bug or if it's just supposed to be this way?
I use Essentials economy system which I prefer. Anyways I have a faction server and there's a shop. In the shop I sell spawners and there's where the problem is. I have a few signs exactly like this
[Buy]
1
52:54
$50000
That should work all fine would't it? Well when you right click on the sign (buy) it gives me a spawners with the name ''Monster Spawner''. It should give me ''Zombie Spawner''? Well when you place a spawner with the name ''Monster Spawner'', it works fine though, but if you'd open up your inventory, click on the spawner and then release it in an inventory slot again and then try to place it, the spawner disappears. Some of my players got really mad cause the payed a lot in game money and then the spawner just disappeared. Is this fixable or do I just need to accept the way it is?
I appreciate answers.
@ICEMIN3
I'd also like to know how to do this. The rest of the plugin is great though! I would have thought that the option to change the name of different spawners in the language folder would change it at shops but that's not the case D: I'm also using essentialsEco. I've seen it done of other servers so I know it's possible. <3
I need to be able to sell my spawners in my server shop. Im using essentials for my shop, but they dont have the spawners in the files. I want to set it up with the mob name, then spawner. Examples: PigSpawner, BlazeSpawner
I just can't figure this out. Any help would be great. Thanks!
As the current version contains a nasty bug, I highly suggest switching to dev build #70, since the new 1.1 version with new features will come out soon, alongside with a better way to fix this issue with an update to SilkSpawners
Changing spawners on the ground charges me but if you do it in your hand its free! when i do one in my hand it causes an error Could not pass event SilkSpawnersSpawnerChangeEvent to SilkSpawnersEcoAddon
Caused by: java.lang.NullPointerException at de.dustplanet.silkspawnersecoaddon.SilkSpawnersEcoAddonListener.onSpawnerChange(SilkSpawnersEcoAddonListener.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
@jd245
Should work fine with the latest SilkSpawners!
Any idea on a timeframe for a 1.6.2 release?
Thanks!
@semirotta
I might add items as a payment method, too.
Plugin will have major changes anyways, so could be that I'll add it right into 1.1
Add possibility to use items as money? My server has $$$ notes (you need 2) which can be traded into Emeralds. Basically, Id like to have players to pay for like 5 emeralds per change of spawner type. Perhaps even add this "permission" type, normal member: costs 10 emeralds , vip 5 emeralds and vip+ only 3 emeralds if possible.
@xGh0sTkiLLeRx
sweet, thanks!
@Delebird
http://ci.dustplanet.de/job/SilkSpawnersEcoAddon/40/
This build should use XP, if configured, too as a currency.
@xGh0sTkiLLeRx
That would be amazing if you could do so. :D