Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/falkirks/specter

Super simple debugging for PocketMine.
https://github.com/falkirks/specter

debugging debugging-tool php pocketmine pocketmine-plugins specter

Last synced: about 18 hours ago
JSON representation

Super simple debugging for PocketMine.

Awesome Lists containing this project

README

        

Specter
=======
**Real people suck. Use fake ones instead.**

Specter eliminates the need to get additional people to test a plugin and the horrible alternative. Specter generates players which can be used by PocketMine and plugins as if they were real players.

### Managing players
Players can be managed via an API or through a command.

#### API

```php
$dummy = new \specter\api\DummyPlayer("Playername");
$dummy->getPlayer()->sendMessage("hello");
$dummy->close();
```
#### Command
```bash
specter spawn Playername # The full command to spawn a new dummy
s s playername # Luckily there is shorthand
s c playername /spawn # Execute /spawn as player
```
#### Detailed Commands
(main command omitted)

### Spawning
```
s
add
new
spawn
```

### Removing
```
q
close
quit
kick
```

### Teleporting
```
m
tp
move
teleport
```

### Attacking
```
a
attack
```

### Chat/Command
```
c
chat
command
```

### ICU
```
icu
control
```

### Respawn
```
r
respawn
```