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
@Delebird
This could be possible.
@Syhlo
I can extend this to charge different actions like breaking and placing, configurable of course.
Any head way on making that a reality? =o
@xGh0sTkiLLeRx
Hmm, fair enough. When you say breaking, do you mean picking it up with silk touch, or just breaking it in general? If it's the former, then that would be amazing. :D
I'm mainly looking for a way to charge people for mining spawners with silk touch, and the prices don't need to vary.
Is it possible to make picking up a spawner or changing its type cost XP instead of currency.
@Syhlo
Currently I can not make a difference between placed and natural spawners - however I could extend the plugin to charge breaking or placing spawners - but this would mean any spawner, natural, from SilkSpawners or other plugins
So, with this, would you be able to charge people for breaking spawners with silk touch, or just changing the type?
It seems like it's just changing the type - which, in that case, do you think you'll ever expand it so you can charge for breaking natural spawners but not placed ones?
@CozensReppinItYT
It should work fine.
Nevertheless, each time a new build of SilkSpawners is made, this is compiled, too.
So you can grab a dev build from here and see if it works!
http://ci.dustplanet.de/job/SilkSpawnersEcoAddon/35/
update this it wont work with the new silkspawner