https://github.com/ayan4m1/rent-it
Spigot/PaperMC Anvil Rental Plugin for 1.20 - 1.21
https://github.com/ayan4m1/rent-it
java minecraft papermc-plugin
Last synced: 6 months ago
JSON representation
Spigot/PaperMC Anvil Rental Plugin for 1.20 - 1.21
- Host: GitHub
- URL: https://github.com/ayan4m1/rent-it
- Owner: ayan4m1
- License: mit
- Created: 2020-07-20T01:51:44.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-29T04:25:17.000Z (8 months ago)
- Last Synced: 2025-03-30T15:44:50.028Z (6 months ago)
- Topics: java, minecraft, papermc-plugin
- Language: Java
- Homepage:
- Size: 140 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rent-it
## prerequisites
The following are required to run rent-it:
* One of the following versions of Paper:
* 1.20.1
* 1.20.4 build 430+
* 1.20.6
* 1.21.3 build 131+* [Paper](https://papermc.io/downloads) 1.20.4 build 430+ **OR** 1.21.1 build 131+
* [Vault](https://github.com/MilkBowl/VaultAPI) 1.7.1
* [ProtocolLib](https://github.com/dmulloy2/ProtocolLib/releases/tag/5.3.0) 5.3.0
* A plugin that supports the Vault Permissions API
* A plugin that supports the Vault Economy API## usage
To use the plugin, target an anvil and use the `/rent register` command. Once registered, the behavior of the anvil
changes. In order to use it, you must target it and use the `/rent` command, which will deduct the configured amount of
money from the player's balance and grant the configured number of uses of the anvil. Then, the player can right click
on the anvil and use it as normal. Any registered anvil will be protected from breakage. To unregister an anvil, target
it and use the `/rent unregister` command.## configuration
The following configuration options are available in `plugins/rent-it/config.yml`
* **cost** - integer, amount of currency to deduct every time an anvil is rented
* **usages** - integer, number of anvil usages to grant with each rental## permissions
The following permissions are available to control access to plugin features
* **rentit.usage** - Whether the player can use the /rent command
* **rentit.register** - Whether the player can use the /rent register command
* **rentit.unregister** - Whether the player can use the /rent unregister command## development
Use `gradle assemble` to build the application in JAR format.