I've been thinking for a while about uploading another of my small plugins to spigot, (secretly because i want to get to the top resources page)
And I got a suggestion from @SlimeDog for another plugin similar to FishyDispensers...
So, what is it? Lecterns that never run out of books!
That just about explains it all.
A copy of the config and a list of all commands and permissions are provided below.
Configuration:
Code (YAML):
#----------------------------------------------------------------- #==================================================================# # # # FishyLecterns by FlailoftheLord. # # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # # For questions please join my discord server: # # https://discord.gg/wuxW5PS # # ______ __ _____ # # | | / \ | | # # |__ | /____\ | | # # | | / \ | | # # | |_____ / \ __|__ |______ # # # #==================================================================# #----------------------------------------------------------------- # remember, you can assign the permission `fishylecterns.bypass` to allow a player to bypass any restrictions. #----------------------------------------------------------------- # Custom ID tag # this is used to differentiate a fishy one from a normal Lectern. # This is stored internally in the world's data and cannot be viewed # or modified in-game by a player. LecternUUID: "fishy-lectern" # the name of the item which you get via command. LecternItemName: "&3Fishy&cLectern" # Should players be able to drop books taken from a Fishy Lectern? CanDropLecternBook: false
# Can a player have more than one book from a unique lectern in their inventory at one time? CanHaveMultipleBooks: false
# have the player hear an errie noise when they take the book BookRegenerateSound: "" # Messages can be customized here Prefix: "&8(&3&lF&c&lL&8)" NoPermission: "%prefix% &cYou do not posess enough power to wield this!" LecternPlaced: "%prefix% &aYou smell something &3&oFishy &r&aabout this &cLectern..." LecternRemoved: "%prefix% &aYou have removed a great evil from this world!" LecternItemGiven: "%prefix% &aYou just got a very &3&oFishy looking Lectern." AlreadyHaveBook: "%prefix% &c&oThis book is too stubborn, it teleports back to the Lectern." CannotDropBook: "%prefix% &e&oThe book magically springs back into your inventory!" PluginReloaded: "%prefix% &3&lFishy&c&lLecterns &areloaded successfully!" MustUseCommandInGame: "&cYou must use this command in-game!"
Commands: /fishylecterns (/fl - /lecterns) /fishylecterns get - get a fishy one! /fishylecterns reload - after changing values in the configuration, you'll have to reload the plugin to update the settings.
Permissions: (all permissions are default for operators) fishylecterns.use - this is for all players by default, it allows you to take a book out of a lectern and have the lectern refill automatically. (If you don't have this permission, the lectern won't refill, but you will still get the book) fishylecterns.command - this allows you to use the get and reload commands. fishylecterns.useitem - having this permission gives the power to place and destroy lecterns, If you don't have this permission, placing a lectern item will simply place a regular lectern. Same for breaking, it will drop a regular lectern item if you don't have this permission. fishylecterns.bypass - players with this permission are able to bypass restrictions such as multiple books and being able to drop lectern books.
Support: If you have any issues or questions, let me know by either direct messaging me, or posting in the discussions tab on this resource.