All Source Code is the same! Simply added the capability to Transfer Players to other servers Automatically if the current server is full or whitelisted. You can Change the IP and Port in the source code on lines 128, 127. Also You can control where players transfer if they are kicked. The IP and Port can be changed on lines 139, 140. All credit goes to shoghicp.
Transfer vanilla Minecraft: PE clients to another server. Works with Minecraft: PE 0.11.0 alpha build 6 or higher.
FastTransfer plugin for PocketMine-MP
Copyright (C) 2015 Shoghi Cervantes <https://github.com/shoghicp/FastTransfer>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
/transfer [player] <address> <port>
(defaults to OPs)
Permission | Default | Description |
---|---|---|
fasttransfer.command.transfer | op | Allows to transfer players to another server |
- shoghicp\FastTransfer\PlayerTransferEvent
All methods are available through the main plugin object (plugin name is FastTransfer
)
- bool transferPlayer(pocketmine\Player $player, $address, $port, $message)
- void cleanLookupCache()
Read the source code for more in-depth explanation