SamsCreations
SamsCreations

How It Works

SamsFishing builds its resource pack (minigame panel, fish, rods, baits, hooks, lines, menus) on every start:

  • Nexo installed: the pack is also written into plugins/Nexo/pack/external_packs/samsfishing.
  • ItemsAdder installed: the pack is also written into plugins/ItemsAdder/contents/samsfishing.
  • CraftEngine installed: the pack is also written into plugins/CraftEngine/resources/samsfishing/resourcepack, with a pack.yml next to it the first time.
  • Another pack plugin or a pack merger: list its folder under resource-pack.folders, see Resource Pack & Textures.
  • None of them: SamsFishing hosts the pack itself (resource-pack: in config.yml).

With ItemsAdder, Nexo or CraftEngine they send the pack to players, and /fishing reload runs iareload, nexo pack or ce reload all so the change shows up.


Their Items as Catches and Gear

Any catch, rod, bait, hook, line or totem can be an ItemsAdder, Nexo or CraftEngine item. It keeps its own look, and SamsFishing adds its size, rarity and tag:

ruby_carp:
  rarity: diamond
  item:
    source: "nexo:ruby_carp"            # or "itemsadder:namespace:id", "craftengine:namespace:id"
    material: COD                       # used when the item is missing
  size: "30-60"

Without name: the item keeps its own name, and its lore becomes the catch's description.


Custom Models in Menus

Every button in gui/*.yml accepts item-model and custom-model-data, so menus can use models from your pack:

close:
  slot: 49
  material: BARRIER
  item-model: "myserver:close"