Sueta
AN

Anti AFK Fish Farm

2.1-RELEASE

Prevents the use of AFK Fish Farms

·Plugin

This is a simple plugin the changes the way AFK Fish Farms function. It can completely disable them and let server staff know when one has been used, as well as notify players who use them that they are not allowed.

RELEASE 2.0
New Permissions:

  • antiafkfish.*: Gives access to all Anti Afk FishFarm commands/features (Default op)
  • antiafkfish.reloadconfig: Gives access to /afkfish reloadconfig
  • antiafkfish.listfishers: Gives access to /afkfish listfishers
  • antiafkfish.notification: Give to players who will receive notifications
  • antiafkfish.help: Gives access to /afkfish help
  • antiafkfish.managesettings: Gives access to /afkfish settings
  • antiafkfish.command: Give access to /afkfish commands! (required to use ANY commands with the plugin)\

New Commands:

  • /afkfish help: Displays the help dialog.
  • /afkfish reloadconfig: Reloads config.yml from disk.
  • /afkfish listfishers: Shows a list of players that have been caught using fish farms. Disable log-fishers in config to disable this feature!
  • /afkfish settings: Lets you change config.yml in game. All subcommands can take 'default' as a value to reset that setting to its default value. You must save and reloadconfig for changes to take affect.
    • prevent-use: if true, no xp or item will be given, if false, xp and item will be given, however all other settings still apply.
    • warn-player: if true, fisher will be warned. if not, fisher will not be warned.
    • warn-text: message sent to fisher. Can contain &colorcodes.
    • notify-with-perm: if true, players with antiafkfish.notification will receive a message when an afk fish farm is used
    • notify-text: message sent to players with antiafkfish.notification. can contain &colorcodes, and can contain @p to signify fishers name
    • log-fishers: save players name to a list of caught afk fishers. Does not duplicate names.
    • display-barrier: if true, will display a barrier block above the afk fish farm when used.
    • save: saves current settings to config.yml

Similar projects

Plugin →