Skip to content

val-moizan/BrushPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Brush Plugin

Brush plugin is a plugin that allows players to draw by looking at blocks.
Players can modify their brush using the /brush command.
It allows them to change the brush range or the brush material by clicking a block in their inventory.

Compatibility

Currently, the plugin is available for 1.20.2 (i haven't test other versions yet)

Setup

You can use the plugin without database, but the server won't save players brush upon reload/restart

If you want to, you have to setup a mongo db database.
You can follow the tutorial here : https://www.mongodb.com/docs/atlas/getting-started/?jmp=docs_driver_java
Once done, you have to create a database named "brush_plugin" and a collection inside "player_data".
Then, put the link to access your database from a driver in the "config.yml" inside the plugin config folder as shown bellow :

mongoDbUrl: <your_db_link>

That's it, you can use the plugin on your server :)