Skip to content

Commit d4ab4ee

Browse files
committed
Add readme
1 parent f7ded65 commit d4ab4ee

File tree

3 files changed

+106
-0
lines changed

3 files changed

+106
-0
lines changed

README.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# <img src="assets/icon.png" height="32px" alt="Entity Detection Icon"/> EntityDetection
2+
3+
EntityDetection is a Paper plugin with which you can quickly find chunks with a large amount of Monsters, Animals or even Tile Entities like Hoppers in it.
4+
5+
Very useful if you want to find XP-Farms that accumulate a large amount of mobs or that one infinite chicken or villager breeder that brings your server to its knees!
6+
7+
![Command Output](assets/command-output.png)
8+
9+
## Installation
10+
11+
1. Download the latest version of the EntityDetection plugin:
12+
1. [Modrinth](https://modrinth.com/mod/entitydetection)
13+
2. [Hangar](https://hangar.papermc.io/plugins/EntityDetection)
14+
3. [Dev Builds](https://ci.minebench.de/job/EntityDetection/)
15+
2. Place the downloaded `.jar` file into the `plugins` directory of your Paper server.
16+
3. Restart the server to enable the plugin.
17+
18+
## Dependencies
19+
20+
This plugin does not require any other plugin to run, but it requires [Paper](https://papermc.io/) to be used as the server software and can optionally integrate with [WorldGuard](https://worldguard.enginehub.org/) for region-based entity detection.
21+
22+
## Usage
23+
24+
### Commands
25+
26+
- `/detect search [monster|passive|misc|block|tile|entity|all|<type>]`
27+
- The main plugin command. Start a search for chunks with lots of entities in it. Without any type it searches for Monsters but you can also search for a specific type of entities (take a look at the different types below) or for single [entity types](https://jd.papermc.io/paper/1.21.4/org/bukkit/entity/EntityType.html). With version 1.1 you can also search for Hopper and other blockstates! You can also combine different types by just inputting them after each other separated by a space. When the search is finished you will get a list for all chunks sorted by their entity count.
28+
29+
- `/detect search --regions [<type>]`
30+
- List results based on WorldGuard regions instead of chunks
31+
32+
- `/detect list [<page> [monster|passive|misc|block|tile|all|<type>]]`
33+
- List more pages of a previous search result. You can specify a type to see the last search of a specific type.
34+
35+
- `/detect stop`
36+
- Stops the currently running search.
37+
38+
- `/detect tp <#result>`
39+
- Teleport to a specific entry number from a search. (You can also directly click on the entry line to teleport to it!)
40+
41+
### Search Types:
42+
#### Monster
43+
> All the monsters and slimes
44+
45+
#### Passive
46+
All the animals, NPCs and golems as well as ambient and water mobs
47+
48+
#### Misc
49+
Everything that is not a real mob: fireworks, boats, minecarts, projectiles, dropped items, ender signals and lightning strikes.
50+
51+
##### Block (More like pseudo-block but that's too long)
52+
Entities that behave more like blocks than entities: armor stands, ender crystals, paintings, item frames and falling blocks.
53+
54+
#### Entity
55+
Search for all the entities, no matter what type they are
56+
57+
#### Tile
58+
Search for all tile entities, no matter what type they are
59+
60+
#### All
61+
Search for everything entities and tile entities/blockstates, no matter what type they are
62+
63+
#### <[BlockState](https://jd.papermc.io/paper/1.21.4/org/bukkit/block/BlockState.html)/[Material](https://jd.papermc.io/paper/1.21.4/org/bukkit/Material.html)>
64+
The categories aren't enough? Then you can search for specific tile entities directly! This is done by either inputting the class name of their block state (which is case sensitive) or the Material name!
65+
66+
#### <[EntityType](https://jd.papermc.io/paper/1.21.4/org/bukkit/entity/EntityType.html)>
67+
You can also search for the specific Bukkit entity type! Every single one is supported and can be combined with the other search types.
68+
69+
If you have ideas how one of the types could be improved or for a new one just respond to the discussion thread or directly submit a pull request for a modification of the [SearchType enum](https://github.com/minebench/entitydetection/blob/master/src/main/java/de/themoep/entitydetection/searcher/searchtype.java)!
70+
71+
72+
### Examples
73+
74+
- To search for all monsters: `/detect search monster`
75+
- To list the results of the last search: `/detect list`
76+
- To teleport to the first result: `/detect tp 1`
77+
78+
### Permissions
79+
80+
- `entitydetection.command`
81+
- Allows the player to use the `/detect` command.
82+
- Default: `op`
83+
- `entitydetection.command.search`
84+
- Allows the player to use the `/detect search` command.
85+
- Default: `op`
86+
- `entitydetection.command.list`
87+
- Allows the player to use the `/detect list` command.
88+
- Default: `op`
89+
- `entitydetection.command.stop`
90+
- Allows the player to use the `/detect stop` command.
91+
- Default: `op`
92+
- `entitydetection.command.tp`
93+
- Allows the player to use the `/detect tp` command.
94+
- Default: `op`
95+
96+
## Configuration
97+
98+
The plugin supports multiple languages. You can set the default language via the `de.themoep.entitydetection.default-language` system property and create your own language files in the `languages` folder. The default language is English (`en`).
99+
100+
## Contributing
101+
102+
Contributions are welcome! If you find any bugs or have feature requests, please open an issue on the GitHub repository.
103+
104+
## License
105+
106+
This project is licensed under the Mozilla Public License version 2.0. See the [LICENSE](LICENSE) file for details.

assets/command-output.png

76.5 KB
Loading

assets/icon.png

112 KB
Loading

0 commit comments

Comments
 (0)