marcelo-mason / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
56 stars 66 forks source link

Add max-rental-periods setting, protect Anvils #967

Closed NathanWolf closed 8 years ago

NathanWolf commented 8 years ago

This will prevent non-allowed players from using anvils in a protected field (since they wear out).

This also adds a "max-rental-periods" setting. I've made this default to 5 (feel free to change), this will prevent a player from renting more than 5 periods at once. So if you have a rental sign set up for 1w, the player can only rent at most 5 weeks at a time.

This prevents players from putting years' worth of time on a rental field, something we did not want on our server and I'm thinking maybe other servers will appreciate the control as well.

This also has some general fixes for rental fields respecting players' field limits.

marcelo-mason commented 8 years ago

Awesome, thanks for the fixes! Def makes sense adding a max on the rents. Good stuff.