https://github.com/itxtech/synapsepm
Synapse client for PocketMine like server software. Supports multiple connections.
https://github.com/itxtech/synapsepm
Last synced: 12 months ago
JSON representation
Synapse client for PocketMine like server software. Supports multiple connections.
- Host: GitHub
- URL: https://github.com/itxtech/synapsepm
- Owner: iTXTech
- Created: 2016-11-03T08:56:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T10:03:07.000Z (almost 9 years ago)
- Last Synced: 2024-03-27T08:59:01.402Z (over 2 years ago)
- Language: PHP
- Size: 48.8 KB
- Stars: 21
- Watchers: 20
- Forks: 18
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SynapsePM
Synapse client for PocketMine like server software. Supports multiple connections.
## Warning
Please, don't use loading screen, because it works so bad sometimes.
# SPP
Synapse Proxy Version: `7`
# Config
- `enabled` - if false, plugin and all other options will be disabled;
- `disable-rak` - if true, disables server`s raknet and players will not able to join to server not thought proxy;
- `synapses` - list of synapse server to connect:
- `enabled` - if false, current synapse client will be disabled;
- `server-ip` - ip of synapse server;
- `server-port` - port of synapse server;
- `is-main-server` - if true, players will connect after to current server joining to synapse server;
- `server-password` - password of synapse server;
- `description` - name of current synapse client.
# API
If you want to get synapse for given player use `synapse\Player::getSynapse()`:
```
$synapse = $player->getSynapse();
```
Also you can get list of all synapse clients using `synapsepm\SynapsePM::getSynapses()`:
```
$synapses = $this->getServer()->getPlugin('SynapsePM')->getSynapses();
```