Sueta

No AFK Fishing - 100% no more afk-fishing, seriously.

1.0.1.12d

Force players to move a bit distance or eat some food after each successful fish catching

·Plugin

NoAfkFishing--- Powered by LogoCat
Jar Download link: Spigot Page

No more game breaking 24 hours afk fishing players.
This plugin eliminate all those afk-fisher by giving them some circumtances to meet which is impossible for Afk-fisher to follow.

Features :
Enhanced fishing mechanism :

  • Fishing Restriction
    1. forces the player to move the hook away from all fished area (configurable distance)
    2. each hook-pulling with fish cost the player's hunger level (configurable cost)
    3. a player can not fish when the hp is below 70% (configurable) resistance] potion effect.
    4. Fished-area is marked with particle effect. [angry-villager]
  • Fishing Spot Recovering
    1. After player fish up to 50 different places, the 1st place is able to fish again.
    2. Every 20mins, when all the fished areas are recovered and could be fished agagin.

Media Demo:

  • Fished Area (Particles [angry-villager] shown after the area is fished)

Environment
This build is compiled and tested on these environments.

Hard-Dependency

  • none

Installation

  1. Drop the plugin jar file in your server folder /plugins/ and run once.
  2. After the plugin folder and default config.yml is generated, stop the server.
  3. Start to set your own config withing config.yml.

Configuration setting
version: 1.0.0
# ignore this.
PLUGIN_PREFIX: '§7[NoAfkFishing] : '
YOU_HAVE_TO_CHANGE_A_PLACE_AT_LEAST: 'You have to change a place of your fishing hook distant from here with blocks : '
#Self-explaning...
YOU_TAKE_EXTRA_HUNGER: 'You get hungry and lost hunger level : '
EXTRA_HUNGER_LEVEL: 2
DISTANCE_BETWEEN_FISHING: 1
HPLIMIT: 0.7
USING_HP_FUNCTION: true
USING_HUNGER_FUNCTION: true
USING_CANCELING_FISH_CAUGHT_FUNCTION: true
YOUR_HP_IS_NOT_ENOUGH_TO_GO_FISHING: 'Your health is too low for fishing. Health needed : '
Permission nodes
nodes description default
noafkfishing.exempt player with this node could always pass the checks op
Development
Want to contribute? Great! This project is open to everyone as long as it follows the license. You could follow these steps to build up the developing environment :

  1. Click here for instrctions of importing a maven project.
  2. Add the dependent plugin .jar file mentioned above.
  3. Run the project as 'maven install'
  4. The built version would be in /$project_name/target/

License
MIT licenses https://opensource.org/licenses/MIT

Similar projects

Plugin →