SaplingRewards
SaplingRewards
What it does
This allows players to get paid through an economy plugin (via Vault) for planting saplings with limitations to prevent sapling spamming.
How it works
The plugin keeps track of the last 20 (as determined by reward.watch in the config) chunk coordinates for each player that the player had planted a sapling in and rewards up to 5 (as determined by reward.limit in the config) of those saplings that were planted. Once the limit is hit, the only way to gain more money is to plant saplings in other chunks, so that there are less than 5 of the same chunk coordinates in memory for that player.
Features
- Pays players (via Vault) for planting saplings
- Limits the number of saplings in each chunk that a player gets paid for
- Each placement of a sapling has a chance for it to announce the feature
- Each destruction of a log, leaf or sapling has a chance to remind players to plant saplings
- A command (/saplingrewards or /sr) to see the reward for planting saplings
- Fully customizable announce/reward/remind/command info strings and settings ( for chance, reward amount and limits )
- Added a default option to disable the breaking of saplings and also permissions to go along (both for breaking and an override)
The set up
- Copy the plugin to your server/plugins folder
- Make sure you have Vault installed ( http://dev.bukkit.org/server-mods/vault/ )
- Restart (or reload if you must) the server
- Make any changes to the config.yml file
- Set up any permissions you'll need (if any)
- Execute /sr reload from a user that has the sr.admin permission or the console
- Enjoy!
The commands
/sr - Shows the reward amount /sr reload - Reloads the config from disk /sr version - Displays the current version you are using
The config
The config has changed in v 0.4. Read about it at http://dev.bukkit.org/server-mods/saplingrewards/pages/config/
The permissions
The permissions are optional, but have changed in v 0.4. Read about them at http://dev.bukkit.org/server-mods/saplingrewards/pages/permissions/
Donations
If you'd like to donate, I have a link for that.
Thanks for keeping me motivated! :D
Seriously. Why would you use this...
What is stopping a player from planting a sapling, breaking it, replacing it X times per the limit, then just moving to another chunk, rinse repeat.
Maybe we can charge the player for breaking saplings at 2x times the reward of the reward based off the config?
ie:
+ $5.00 for planting - $10.00 for breaking
<<reply 689194="">>
Heard ya, new version is pending with an /sr reload command and sr.admin permission node to control who has access!
It's being approved, but it's at:
http://dev.bukkit.org/server-mods/saplingrewards/files/6-sapling-rewards-0-5/
need a reload command
@Jstn7477
Awesome, glad to hear I squashed that bug. :D
Enjoy!
No more NPEs with 0.4.1, thank you for working on it! :D
@Jungalist81
That is weird. I only monitor the block place/break and fromto events..
Just added the ability to use fractional dollars in the next update. Along with a few other changes. Look for that in a day or so.
I dunno why but after installing this plugin, all buttons do not spring back. I would push a button and it would stay pushed lol. I removed this plugin today and after a restart, the buttons worked *shrugs*... soo weird
Anyway, my server is an economy server, players can acquire money by killing monsters, selling items, voting or winning on the server.
Id like to reward players with less than 1 money ( i use iconomy) whenever they plant a sapling. Perhaps .50 or even .25
@MightyFlyRudy
It was probably still being approved. It's up now.
Where is the download?
It would be pretty neat if this mod allowed for regions to be set up, so that, for example, money would only be awarded to the player if they place a sapling in a pre-determined tree farm area.