Fishing Plungin Request

  • I've been curious if it would be possible, in some manner, to have some form of fishing going on. Similar to Machette's 'Animal Breed Master' plugin & that 'cars' plugin I'm curious if there's a way so we can import any models to act as hard shells (clams, mussels, and oysters), or even a fish model that only spawns in ocean & lake models to then fade out after you've fished enough. Some sort of quantity that it appear in your inventory, unless that goes into modding.


    Not sure how this'll work, or if it's at all possible. If someone can experiment then that be awesome. As for the food type itself in the inventory I'm unsure.

  • I don't think it is possible to add custom inventory items at this time, at least not through the java API (no idea about the lua one). (please correct me if I am wrong I would love to be able to do this)


    I also don't think it is possible to spawn fish in the water since you cannot know beforehand the coordinates of all the water or the height they are at. (i.e. before a player steps on it, and even then you would have to have your plugin track the positions of all players until someone stepped on water to spawn the fish 3D model there)


    Though you could spawn fish on water on command (i.e. admins going around placing some fish at certain spots), you could even then have the models move around in small circles :D


    I can imagine a plugin that could work like this:
    1) on command spawn a fishing rod (3D model) in front of the player model (maybe a bit in front of the feet?) on the ground then raycast to check that there is water in front (so the player would have to look towards the water for this to work).
    2) Then have a timer attached to a probability to catch fish or not every x seconds/minutes.
    3) restore health/hunger depending on fish caught (in the future add fish to inventory)
    4) on command or after X minutes despawn the fishing rod (we don't want to have 1000 of them left everywhere in the world)

  • If not beforehand, then what about after the fact? Similar to how you would set up a wheat farm in Colony Survival maybe we could specify how we could farm up hard-shelled entities. Again, you mentioned we couldn't alter the inventory so I guess we'll have to wait for Red51 for the following items.....


    • Making hardshell fishing on his own
    • cooked corn on BBQ
    • rope (leading animals, even if static)

    and yeah.....Guess I'll just leave this be then.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!