Code Monkey home page Code Monkey logo

xpdispenser's Introduction

XPDispenser

A Minecraft Bukkit plugin to throw your XP at yourself (e.g. to repair your mending tools).

actions status download from GitHub download from Modrinth download from CurseForge

What is it?

XPDispenser allows you to throw XP orbs at yourself by using your currently collected XP points.

The collected XP points can be used to repair tools and armor enchanted with the mending enchantment. In that way, you are able to reuse your already collected XP points to repair your tools and armor.

Permissions

Currently, there is only one permission available which controls whether a player is allowed to use this plugin: xpdispenser (Default: everyone)

How to use it?

Simply place a sign at any location with the text [XPDispenser] at the first line.

Optionally, the second line contains the amount of XP points to be thrown in a single time (defaults to 10, if not given on the sign).

So, if you want to get 50 XP points, you can place a sign with the following content:

  • First line: [XPDispenser]
  • Second line: 50

After correctly placing the sign, the color of the first line will change to blue.

To use the sign, simply interact with it (i.e. right click on it) while having the tool and/or armor to repair equipped.

Why use a sign instead of a command?

It's simple: I just don't like to execute commands as a normal player, but I like to interact with the environment just like you would do in real life.

In case of this plugin, you could see the sign as some type of machine which will dispense some XP orbs.

Build

You can build the project in the following 2 steps:

  • Check out the repository
  • Build the jar file using maven: mvn clean package

Note: JDK 1.8 and Maven is required to build the project!

My other plugins

You can find them on my website.

xpdispenser's People

Contributors

programie avatar

Watchers

James Cloos avatar  avatar  avatar

xpdispenser's Issues

Shift-clicking removes XP [1.17.1 Spigot]

As the title suggests, on 1.17.1 Spigot server, shift-clicking causes XP to just stop existing, allowing players to just remove XP from themselves (with no way of getting it back)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.