Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7f1711f
Minor quality corrections.
DogOnFire Aug 9, 2019
9d1539f
Making Codacy happy
Aug 9, 2019
7b6bc94
Update README to Codacy standards
Aug 9, 2019
3cbcfd1
Update Spigot URL in the README for Downloads
Aug 9, 2019
34bd2d6
Fix null error in Werewolf
Aug 9, 2019
1e2a2d5
Fix for Werewolves having the ability to equip armor from a Dispenser
Aug 9, 2019
6df3b07
Prioritize all other slots than main hand when picking up items, befo…
Aug 9, 2019
7225098
Corrected SonarCloud. For realz.
DogOnFire Aug 10, 2019
dd62cc0
Merge branch 'master' of https://github.com/DoggyCraftDK/Werewolf
DogOnFire Aug 10, 2019
d1b7973
Minor formatting.
DogOnFire Aug 10, 2019
676a844
Added Scoreboard teams to hide nametag, needs a lot of testing, and m…
Aug 10, 2019
92e3d5b
merge commit :))
Aug 10, 2019
1526850
Disable Werewolf instead of erroring out if MySkin isn't working
Mar 24, 2020
a893edf
v0.9.0 - Updated Werewolf to support up to 1.17.1
HeroGamers Nov 23, 2021
ed43898
Added netherite tools to the forbidden item list
HeroGamers Nov 23, 2021
ed75ec4
Add GitHub actions and GPL-3.0 license
HeroGamers May 25, 2023
487a7ff
Update Werewolf to 1.19 and switch from MySkin to SkinsRestorer
HeroGamers May 25, 2023
ce3649b
Added missing items and entities (food, mobs, etc.) up to 1.20
HeroGamers May 25, 2023
45061eb
Merge pull request #2 from DoggyCraft/1.19
HeroGamers May 25, 2023
4b8ea47
Bump version to 0.10.0
HeroGamers May 25, 2023
90c3de2
Merge pull request #3 from DoggyCraft/dev
HeroGamers May 26, 2023
dec0c7d
Re-add vampire integration
HeroGamers May 26, 2023
f3e0da6
Only test with Java17, because Vampire apparently doesn't support Java 8
HeroGamers May 26, 2023
c0c121b
Merge pull request #4 from DoggyCraft/vampire
HeroGamers May 26, 2023
d16395a
Move disguises to another directory, as to not confuse what API means
HeroGamers May 26, 2023
ff75670
Project restructuring
HeroGamers May 26, 2023
4a9391d
Update the Werewolf API a lil' bit
HeroGamers May 26, 2023
9564e47
Werewolf items now use NBT tags instead of display names
HeroGamers May 26, 2023
fa09d0d
Adjust damage
HeroGamers May 26, 2023
ad4860e
Add more mobs to clan points
HeroGamers May 26, 2023
ed9db82
Bump to v0.11.0
HeroGamers May 26, 2023
391022c
Merge pull request #5 from DoggyCraft/dev
HeroGamers May 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will test a package using Maven

name: Maven Test

on:
push

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
java: [ '17' ]

name: Java ${{ matrix.java }} build
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B test --file pom.xml
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ dependency-reduced-pom.xml
/.settings/

# Maven build
/target/
/target/

# IDEA
/.idea/
werewolf.iml
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ before_install:
- wget -P "lib/" https://www.doggycraft.dk/lib/MySkin.jar
addons:
sonarcloud:
organization: "dogonfire"
organization: "doggycraftdk"
token:
secure: "TSveGpsVp/WNHcB7zMD8Bool6j09F1J95L6dnWF8slJrUlytZOUMCSP76MdiLngnBaiWlXAkgBnD1QEwdg/xkrl6EVBTT3oys2AKhikR4+CRmgZRoW/adSmOR/GUA6IPM/Uj2iM+bWkjFxAFHvvA0TrNjqmAHEaKpMRL+yHsKysKXapIJ2nd/VEfv4gO9OXt7YbKLGgNgWdhuWlbC10rwhHPO8Bj4yRr3UeILqFUF2C7wHJt+w45Gcd4oG//A7anWcLWR+QUeJx5HVe2sAFPIOVslxnY6eFxcZXOVXsiW2yRehyo/ANEnGEcfAfiKyZ5hqgLWhth7fs6AeolozkWAT4M0S+uu8YyPeNk7HlUwEiMAMxtnB5zv2Q0i9XU1d2d3AYwX/Ru5kaMILp0zmT8SryjEsnEwpNmMdK3KmuUqIjwcdClvZyS6Z7WRvth+rtI5QBzZlYl3L6b9tRN1mVUQFeM5Sgo4sYowPfwMnHyhDAb4zuH2gwwFRtSMbuxesK7GpN2DiXKDx1K0UlXWCt2CviyIjnG1iYHVE6kLvMq0W668l8NrM6ANtj5Q0PoBXgAYI+Im8A/h8Hf5MAiC/J9Ou9KFLndxV+aO26nnTYkrFpPB1lfhncb7fcucsmu+M0Ld37hFQtp+rZ3jSPnhQFFuMRqwx1lMHbsQB1tqfCMWvg="
secure: $SONAR_TOKEN

script:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=DogOnFire_Werewolf
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=DoggyCraftDK_Werewolf
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,73 +11,73 @@ Werewolf

![Werewolf](https://raw.githubusercontent.com/DoggyCraftDK/Werewolf/master/img/Werewolf.jpg)

The plugin for adding werewolves into Minecraft!
The plugin for adding Werewolves into Minecraft!

Background
---------
To become a Werewolf, you have to get bitten (attacked) by a wolf or Werewolf at night and contract the Werewolf infection. This infection will turn the player into a Werewolf every night, starting the next night, if the player is under a open sky. To prevent turning, the player can stay inside during night.

* When in wolf-form, character skin changes to a Werewolf skin
* When in wolf-form, players will become identifiable only as their werewolf name in the playerlist and chat (Adding a element of mystery)
* When in wolf-form, werewolves speak in a language which appears as growling noises to normal players.
* A Werewolf automatically turns into his Wolf-form during a full moon, when under a open sky.
* A Werewolf automatically turns into his Human-form at dawn.
* A Werewolf only eats meat!
* A Werewolf gains health from killing mobs (Hunting)
* A Werewolf does high unarmed damage
* A Werewolf moves faster
* A Werewolf jumps higher
* A Werewolf has night vision.
* A Werewolf cannot wield Armor while in Wolf-form, but has a high natural defense
* A Werewolf can growl with /growl
* A Werewolf can howl with /howl
* ~~Vampires cannot be infected with the Werewolf infection~~ **_Vampire integration removed, for now_**
* When a Werewolf gets killed, the player re-spawns in human form.
* Werewolves are very vulnerable to silver weapons.
* Werewolves are flock creatures and live in clans
* Werewolves are the natural leaders of wild wolves
* The Werewolf infection can be cured by drinking the werewolf cure potion
* When in wolf-form, character skin changes to a Werewolf skin
* When in wolf-form, players will become identifiable only as their werewolf name in the playerlist and chat (Adding a element of mystery)
* When in wolf-form, werewolves speak in a language which appears as growling noises to normal players.
* A Werewolf automatically turns into his Wolf-form during a full moon, when under a open sky.
* A Werewolf automatically turns into his Human-form at dawn.
* A Werewolf only eats meat!
* A Werewolf gains health from killing mobs (Hunting)
* A Werewolf does high unarmed damage
* A Werewolf moves faster
* A Werewolf jumps higher
* A Werewolf has night vision.
* A Werewolf cannot wield Armor while in Wolf-form, but has a high natural defense
* A Werewolf can growl with /growl
* A Werewolf can howl with /howl
* Vampires cannot be infected with the Werewolf infection
* When a Werewolf gets killed, the player re-spawns in human form.
* Werewolves are very vulnerable to silver weapons.
* Werewolves are flock creatures and live in clans
* Werewolves are the natural leaders of wild wolves
* The Werewolf infection can be cured by drinking the werewolf cure potion

Installation
---------
* [Install a Spigot server](https://github.com/DogOnFire/Werewolf/#obtain-a-build-of-spigot)
* [Download Werewolf](https://github.com/DogOnFire/Werewolf/#download)
* Drop the Werewolf.jar into the plugins folder.
* Drop either [MySkin.jar](https://www.spigotmc.org/resources/myskin-1-8-1-14-4.52303/) or [LibsDisguises](https://www.spigotmc.org/resources/libs-disguises.32453/) into the plugins folder.
* Start your Spigot/CraftBukkit server. (Using /reload can have unwanted side effects with players still online, and with complex plugins dependencies, so it's not recommended.)
* [Install a Spigot server](https://github.com/DogOnFire/Werewolf/#obtain-a-build-of-spigot)
* [Download Werewolf](https://github.com/DogOnFire/Werewolf/#download)
* Drop the Werewolf.jar into the plugins folder.
* Drop either [MySkin.jar](https://www.spigotmc.org/resources/myskin-1-8-1-14-4.52303/) or [LibsDisguises](https://www.spigotmc.org/resources/libs-disguises.32453/) into the plugins folder.
* Start your Spigot/CraftBukkit server. (Using /reload can have unwanted side effects with players still online, and with complex plugins dependencies, so it's not recommended.)

Links
---------

###### Project
* [Werewolf at SpigotMC](https://www.spigotmc.org/resources/werewolf.7442/)
* [Werewolf at BukkitDev](https://dev.bukkit.org/bukkit-plugins/werewolf/)
* [Werewolf at SpigotMC](https://www.spigotmc.org/resources/werewolf.7442/)
* [Werewolf at BukkitDev](https://dev.bukkit.org/bukkit-plugins/werewolf/)

###### Download
* [BukkitDev](https://dev.bukkit.org/projects/werewolf/files/)
* [SpigotMC](https://www.spigotmc.org/resources/werewolf/updates)
* [BukkitDev](https://dev.bukkit.org/projects/werewolf/files/)
* [SpigotMC](https://www.spigotmc.org/resources/werewolf.7442/updates)

###### Support and Documentation
* [Issues/Tickets](https://github.com/DogOnFire/Issues/issues)
* [Wiki](https://github.com/DogOnFire/Docs/wiki)
* [Configuration](https://github.com/DogOnFire/Werewolf/wiki/Configuration)
* [Permissions](https://github.com/DogOnFire/Werewolf/wiki/Permissions)
* [Commands](https://github.com/DogOnFire/Werewolf/wiki/Commands)
* [Issues/Tickets](https://github.com/DogOnFire/Issues/issues)
* [Wiki](https://github.com/DogOnFire/Docs/wiki)
* [Configuration](https://github.com/DogOnFire/Werewolf/wiki/Configuration)
* [Permissions](https://github.com/DogOnFire/Werewolf/wiki/Permissions)
* [Commands](https://github.com/DogOnFire/Werewolf/wiki/Commands)

###### Developers
* [License (GPLv3)](https://github.com/DogOnFire/Werewolf/blob/master/LICENSE.txt)
* [API](https://github.com/DogOnFire/Docs/wiki/API)
* [Contribute](https://github.com/DogOnFire/Werewolf/blob/master/CONTRIBUTING.md)
* [License (GPLv3)](https://github.com/DogOnFire/Werewolf/blob/master/LICENSE.txt)
* [API](https://github.com/DogOnFire/Docs/wiki/API)
* [Contribute](https://github.com/DogOnFire/Werewolf/blob/master/CONTRIBUTING.md)

###### Related Plugins
* [ProtocolLib at BukkitDev](https://dev.bukkit.org/bukkit-plugins/protocollib)
* [ProtocolLib at BukkitDev](https://dev.bukkit.org/bukkit-plugins/protocollib)

Compiling Werewolf.jar
---------
* Werewolf must be compiled with java 8 compliance. Make sure you have a JDK 8 installed.
* Werewolf has developed using Eclipse (But any other IDE should work as well)
* Check out this repo using git in a commandline: git clone https://github.com/DogOnFire/Werewolf.git
* Open the Werewolf project folder in Eclipse
* Right click the Werewolf project folder in Eclipse and select "Run as maven build..."
* Click the "Run" button in the configuration window that appears
* The Werewolf.jar file will be compiled and available in the /target folder under your project folder
* Werewolf must be compiled with Java 8 compliance. Make sure you have a JDK 8 installed.
* Werewolf has been developed using Eclipse (But any other IDE should work as well)
* Checkout the Werewolf repo using [git](https://git-scm.com/downloads) in a Command Line: `git clone https://github.com/DogOnFire/Werewolf.git`
* Open the Werewolf project folder in Eclipse (or another IDE of choice)
* Right click the Werewolf project folder in Eclipse and select "Run as maven build..."
* Click the "Run" button in the configuration window that appears
* The Werewolf jar-file will be compiled and available in the /target folder under your project folder
2 changes: 2 additions & 0 deletions lang/english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ YouTeleportedToClanHome:
- You are now in the home of the $Type clan
CurrentBounty:
- The bounty for slaying a werewolf is $Amount
YourWerewolfName:
- Your werewolf name is $PlayerName
YouCutTheHeadOfWerewolf:
- You cut the head of that werewolf!
FullMoonNumberOfWerewolves:
Expand Down
Loading