HomeJavaModsLeashTheCat
LeashTheCat
How to use the plugin?
When you kill any monster, it will have a rate to drop items.

There are 2 items, Cat-Leash and Material-Leash.
Material-Leash is used to craft Cat-Leash.

When you hold a Cat-Leash and right-click on any cat, you will earn points.

You can use the points like a new economy type.

Also, you can use this plugin to make an event on the server (That's what I'm doing right now).

You can change almost everything in the config!

!!! REQUIRE PLACEHOLDERAPI !!!


Placeholders
  • %leashthecat_me% - Your leash points

  • %leashthecat_top_<top>_name% - Top Name
    • Ex: %leashthecat_top_1_name%

  • %leashthecat_top_<top>_points% - Top Points
    • Ex: %leashthecat_top_1_points%
Click to expand...
Commands
  • /leashthecat help - Show help messages
  • /leashthecat reload - Reload the plugin
  • /leashthecat refresh - Force refresh the top
Click to expand...
API
  • Event: AddPointEvent.class
Click to expand...
Code (YAML):

prefix
: "&7[&cLeashTheCat&7]&r "

permissions
:
  reload
: "leashthecat.reload"
  refresh
: "leashthecat.refresh"
  admin
: "leashthecat.admin" # Get all permissions

options
:
  # true: Only drop items when player kill
  # false: Drop all time
  must-be-player-kill
: true
  # Use commands without permissions
  allow-op
: true
  # Refresh the top values of placeholders
  # Using seconds
  top-refresh-interval
: 300
  top-amount
: 10

drop-percent
:
  leash-cat
: 1
  leash-material
: 10

items
:
  leash-cat
:
    name
: "Leash The Cat"
    material
: "LEASH"
    glow
: true
    lore
:
     - ""
      - "&eRight-click the cat to get cat point!"
  leash-material
:
    name
: "Leash Material"
    material
: "STRING"
    glow
: true
    lore
:
     - ""
      - "&7Put &b9 &eLeash Material &7to"
      - "&7CraftingTable to craft."

messages
:
  no-permission
: "&cYou are not allowed to do this."
  reloaded
: "&aAll configuration has been reloaded."
  refresh
: "&aThe top has ben refreshed."
  received-point
: "&aYou just received {amount} points! Keep it up!"
  first-top-one
: "&b{new-1st-name} &7is the first one who get &e1st place&7!"
  new-top-one
: "&b{new-1st-name} &7just &csmashed &7{old-1st-name} and get the &e1st place&7!"
  not-an-ocelot
: "&cThat's not an ocelot!"
 
Spoiler: Image
upload_2023-1-14_1-31-26.png

upload_2023-1-14_1-31-34.png

upload_2023-1-14_1-31-46.png

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

LeashTheCat is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 1,025 times (via Spigot). Download it and open it directly in the game.

Explore more