Farm Restrictions
A plugin to restrict who can farm seeds and which seeds can be farmed
Features
- You can set up a max amount of seeds using permissions
- You can blacklist seeds by using its id or name.
- People with the bypass permission will be allowed to plant the blacklisted seed
- No database needed
- Preview Video
Set Up
- Fill all the credentials in the imperialpluginsloader.dll
- Restart your server
- Set up amount restrictions and seeds blacklist. I recommend you to take a look at the comments inside the file
- Restart your server
Configuration
amountRestrictions: # Restricts how many seeds a player can plant
-
permission: "restriction.player" # The permission grants access to the limit (amount)
amount: 10 # The amount of seeds the player can plant on the server
-
permission: "restriction.vip"
amount: 20
-
permission: "restriction.mvp"
amount: 30
# I recommend you to use this for seeds of drugs that only people with the drug dealer role should be able to place down
blacklistedSeeds:
-
id: "Carrot Seed" # Id or full name are fine
bypassPermission: "bypass.carrot" # Players with this permission will be allows to plant them
-
id: "Pumpkin Seed"
bypassPermission: "bypass.pumpkin"
# In the case you want someone to be able to use all the blacklisted seeds give him the permission: Feli.FarmRestrictions:bypass.*
# If you dont want to blacklist any seeds just leave blacklisted seeds in this way
# Example:
# blacklistedSeeds: []
Translations
amountRestrictions:
noAmount: "You are not allowed to place seeds"
exceededAmount: "You exceeded the limit of seeds you can place. Limit: {Amount}"
blacklistedSeeds: "You are not allowed to place {Name}"
Ask questions or get support in my Discord server
User Reviews
No reviews found.