added combat logging kill, and a refined new welcome message
This commit is contained in:
parent
a4eaa53b23
commit
96fccb1041
62 changed files with 287 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ A quality-of-life SMP plugin for Paper/Folia.
|
|||
|
||||
- **Join messages** — friendly welcome messages, including a first-join message that lists the server's plugins, and a special announcement when the owner logs in.
|
||||
- **`/nopvp`** — toggle no-PvP mode. While active you cannot damage other players and other players cannot damage you (direct hits and projectiles). While enabled you also glow so everyone can see you're protected. Turning no-PvP *off* starts a **1-hour cooldown** before you can enable it again, and the state persists across restarts so relogging can't bypass it.
|
||||
- **Anti-combat-logging** — whenever you hit another player or get hit by one, you're tagged as being in combat for **15 seconds** with a chat warning. Logging off while tagged kills you on the spot and announces it to the server.
|
||||
|
||||
## Commands
|
||||
|
||||
|
|
@ -27,9 +28,11 @@ Player no-PvP state and cooldown timestamps are stored in `plugins/qol-tweaks/no
|
|||
## Building
|
||||
|
||||
```bash
|
||||
./gradlew build
|
||||
./build.sh
|
||||
```
|
||||
|
||||
This just runs `./gradlew build`, but if the pinned Java toolchain isn't installed it will automatically fall back to whatever JDK you do have (keeping the jar's bytecode compatible). You can also pass extra Gradle args, e.g. `./build.sh clean build`.
|
||||
|
||||
The plugin jar is output to `build/libs/`.
|
||||
|
||||
## License
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue