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
@MinecraftAdmin
Already implemented, set chargeMultipleAmounts to true.
Could you make it so when changing a stack of spawners in your hand using the /spawner command that you get charged for the total conversion of all the spawners and not one spawner?
@JackL09
Currently not, sorry. It's on my plan, but spare time is very rare currently ;)
Thanks for the plugin! I have a question though. Is there a command that lets my players buy the spawners? Not change them, but buy them. OR is there a sign I can set up for the players to right click to buy one? Thank you!
@danielfr789
Thanks for the hint, I'll adjust this message a bit
When using the variable %money% and chargemultipleamounts: true,
%money% only displays the cost of one spawner
Could add the ability to charge for players mining spawners in the world?
@danielfr789
You can use %money% in the message now, if you use #278 (http://ci.dustplanet.de/job/SilkSpawnersEcoAddon/278/)
@danielfr789
I'll add support for the cost variable, sounds like a good idea.
The GUI is a bit difficult however. This would be implemented in SilkSpawners, but there are e.g. no SpawnEggs for some mobs like the Enderdragon. It might be faster for normal mobs though.
Would be cool if there was a gui for changing spawners.
Also on the confirm message can you add a variable for the cost of the spawner? Example: Confirm? Type the command again to continue. This will cost %COST%.
@thor999929
I've added this feature in 1.0.4
Hello, it appears that players can change whole stacks of spawners for the same price as changing one. Is there any way to charge them per spawner?
No errors, Thanks Mate!
@MCTylerPVP
Whoops, meant #243
@xGh0sTkiLLeRx
Thanks! ...Wait, there is no 246 build...You have one building as we speak, I'll get that one.
@MCTylerPVP
That's an issue with SilkSpawners, please update to build #246
Build #215 Is not loading and asking me if its up to date? Reset config or what do I need to do?
@xGh0sTkiLLeRx
Amazing, thanks :D
@armanisbeast
@WsupPanda
This requires work on both SilkSpawners and SilkSpawnersEco, but is on my ToDo...
@luke212121doesmc
Essentials should be able to handle spawners with different types
Can you _please_ add an option to silktouch any spawner for a configurable price? I can't get this plugin if its without that feature. :(