TamableFoxes/README.md

85 lines
4.3 KiB
Markdown
Raw Permalink Normal View History

2020-01-16 04:27:46 +00:00
<h1 align="center">Tamable Foxes</h1>
<p align="center">
SpigotMC Plugin that gives you the ability to tame foxes!
</p>
### WARNING: Do not reload the plugin, you may loose foxes!!
#### NOTE: You no longer need to add the program arguments to your start file. If you previously had them, you can delete them, but I don't think it would harm if you leave them in.
2021-06-14 16:39:20 +00:00
2021-06-24 00:20:32 +00:00
### Default configuration files:
* <a href="https://github.com/SeanOMik/TamableFoxes/blob/master/Plugin/src/main/resources/config.yml">config.yml</a>
* <a href="https://github.com/SeanOMik/TamableFoxes/blob/master/Plugin/src/main/resources/language.yml">language.yml</a>
<br>
2021-06-23 20:09:35 +00:00
If you get any errors, <a href="https://github.com/SeanOMik/TamableFoxes/issues/new">create an issue!</a><br><br>
2021-06-24 02:45:40 +00:00
Have you ever wanted to tame foxes? Well, now you can! <b>Use chicken to tame</b> and sweet berries to breed them!<br><br>
2020-09-08 17:43:23 +00:00
2021-07-19 03:46:45 +00:00
## Features:
2020-01-16 04:27:46 +00:00
* 33% Chance of taming
* Breeding
* Wild foxes pick berry bushes
* Leaping on targets
* Tamed foxes sleep when their owner does
* Foxes follow owner
* You can shift + right-click to let the fox hold items
* Right-click to make the fox sit
* Shift Right-click with an empty hand to make the fox sleep
2020-01-16 04:27:46 +00:00
* If the fox is holding a totem of undying, the fox will consume it and be reborn.
* Foxes attack the owner's target
* Foxes attack the thing that attacked the owner.
* Foxes are automatically spawned inside the world. (Same areas as vanilla foxes)
* Foxes attack chickens and rabbits.
* Snow and red foxes.
2020-08-27 20:09:31 +00:00
* Language.yml
2021-12-11 23:55:49 +00:00
* Message when a tamed fox dies
* /givefox command to give foxes to other players.
* Disabling certain gameplay messages
2021-09-21 03:12:34 +00:00
* You can do this by changing certain fields in `language.yml` to "disabled". The fields that can be disabled are:
* `taming-tamed-message`
* `taming-asking-for-name-message`
* `taming-chosen-name-perfect`
* `fox-doesnt-trust`
2020-01-16 04:27:46 +00:00
2021-07-19 03:46:45 +00:00
## Commands:
* /spawntamablefox [red/snow]: Spawns a tamable fox at the players' location.
2021-12-11 23:55:49 +00:00
* /tamablefoxes reload: Reloads
* /givefox [player name]: Give a fox to another player.
2020-09-10 03:57:59 +00:00
2021-07-19 03:46:45 +00:00
## Permissions:
2021-12-11 23:55:49 +00:00
* `tamablefoxes.reload`: Reloads the plugin config. Default: `op`
* `tamablefoxes.spawn`: Gives permission to run the command /spawntamablefox. Default: `op`
* `tamablefoxes.tame`: Gives the player the ability to tame a fox. Default: `Everybody`
* `tamablefoxes.tame.unlimited`: Lets players bypass the tame limit. Default: `op`
* `tamablefoxes.tame.anywhere`: Lets players bypass the banned worlds in config.yml (so they can tame in any world). Default: `op`
* `tamablefoxes.givefox.give.others`: Allows the player to give another players fox to a player with /givefox. This will ignore if the other receiving has the `tamablefoxes.givefox.receive` permission. Default: `op`
* `tamablefoxes.givefox.give`: Gives the player the ability to give foxes to other players with /givefox. Default: `Everybody`
* `tamablefoxes.givefox.receive`: Gives the player the ability to receive foxes from other players from /givefox. Default: `Everybody`
2020-01-16 04:27:46 +00:00
2021-07-19 03:41:24 +00:00
<br>
2021-07-19 03:40:32 +00:00
![foxes sleeping](Screenshots/foxes-sleeping-with-player.png)
![foxes sitting player holding sword](Screenshots/foxes-sitting-sword.png)
![foxes with baby looking at player](Screenshots/foxes-baby-looking-at-player.png)
![giving fox totem](Screenshots/giving-fox-item.gif)
![fox leaping towards chicken](Screenshots/fox-pouncing.gif)
## Building
To build you must have several versions of spigot built and inside your maven cache. Here's a list of commands to run to install all of the correct versions:
```
java -jar ./BuildTools.jar --rev 1.14.4
java -jar ./BuildTools.jar --rev 1.15
java -jar ./BuildTools.jar --rev 1.16.1
java -jar ./BuildTools.jar --rev 1.16.3
java -jar ./BuildTools.jar --rev 1.16.5
java -jar ./BuildTools.jar --rev 1.17 --remapped remapped-mojang
java -jar ./BuildTools.jar --rev 1.17.1 --remapped remapped-mojang
java -jar ./BuildTools.jar --rev 1.18 --remapped remapped-mojang
java -jar ./BuildTools.jar --rev 1.18.1 --remapped remapped-mojang
```
Yes it's a lot, yes it will likely take a while to build all of these spigot versions. Only versions after 1.17 use remapped jars.
2021-07-19 03:46:45 +00:00
## Metrics collection
![metrics](https://bstats.org/signatures/bukkit/TamableFoxes.svg)
2021-07-19 03:49:19 +00:00
Tamable Foxes collects anonymous server statistics through bStats, an open-source statistics service for Minecraft software. If you wish to opt-out, you can do so in the `bstats/config.yml` file.