Launches a lightning bolt to where the player is aiming, to specific players or to all players online.
Lightning strikes to players can be set as lethal or non-lethal.
- Java 17 or higher.
- Purpur server 1.19.3 or Bukkit/Spigot/Paper server compatible with the Purpur API version used.
-
Download the JAR file: ray-1.0.0-purpur-1.19.3.jar.
-
Place the JAR file in the plugins folder of your Minecraft server.
-
Restart the server to load the plugin.
To build the plugin yourself, follow these steps:
-
Make sure you have
Java 17
or higher andGradle
installed on your system. -
Clone the plugin repository on your local machine:
git clone https://github.com/josantonius/minecraft-ray.git
-
Navigate to the directory of the cloned repository:
cd minecraft-ray
-
Use Gradle to compile the plugin:
gradle build
-
/ray
- Launches a lightning bolt to where the player is aiming -
/ray *
- Launches a lightning bolt to all players online -
/ray <player>
- Launches a lightning bolt to the player specified -
/ray <player> [player...]
- Launches a lightning bolt to the players specified -
/ray * mortal
- Launches a deadly lightning bolt to all players online -
/ray <player> mortal
- Launches a deadly lightning bolt to the player specified -
/ray <player> [player...] mortal
- Launches a deadly lightning bolt to the players specified -
/rayhelp
- Display help for the plugin commands -
/rayreload
- Reload the plugin
All commands requires the ray.admin
permission to be used.
The plugins/Ray/config.yml
file contains specific plugin configurations.
A list of player names who are considered safe and will not be affected by the plugin. Set this to 'null' or an empty list '[]' if you don't want to have any safe players.
safePlayers: null
A boolean value determining whether server operators (OPs) should be excluded from the plugin's effects. Set this to 'true' to exclude operators, or 'false' to include them
excludeOperators: false
The plugins/Ray/messages.yml
file contains all the messages that the plugin uses.
You can change the messages to your liking.
- Add new feature
- Create tests
- Improve documentation
Detailed changes for each release are documented in the release notes.
Please make sure to read the Contributing Guide, before making a pull request, start a discussion or report a issue.
Thanks to all contributors! ❤️
If this project helps you to reduce your development time, you can sponsor me to support my open source work 😊
This repository is licensed under the MIT License.
Copyright © 2023-present, Josantonius