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: 3 months ago
JSON representation
Super simple debugging for PocketMine.
- Host: GitHub
- URL: https://github.com/falkirks/specter
- Owner: falkirks
- License: mit
- Created: 2014-12-24T22:44:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T17:30:36.000Z (almost 4 years ago)
- Last Synced: 2025-01-30T20:52:15.443Z (over 1 year ago)
- Topics: debugging, debugging-tool, php, pocketmine, pocketmine-plugins, specter
- Language: PHP
- Size: 113 KB
- Stars: 73
- Watchers: 13
- Forks: 35
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```