i think it is impossible but for my server i modified pocketmine source (removed this in player class) PHP: if(count($this->server->getOnlinePlayers()) > $this->server->getMaxPlayers() and $this->kick("Server is full")){ break;} and now i can have unlimited amount of players if i have bought only 5 slots xD
Hahaha LOL, but u cant hack RAM, making it to ∞ slots will become laggy xD Alright, back to topic Does changing that "Server is full" able to change the message? Because i tried that before I create this thread already... Dont work... :/
See at CustomAlerts plugin source: https://github.com/EvolSoft/CustomA...Alerts/src/CustomAlerts/EventListener.php#L98 If you want to write less code you can also use CustomAlerts API to do this. Just use PHP: CustomAlerts::getAPI()->setFullServerMessage($message); function
you want that!! xD ok and my hosting has big RAM and "unlimited" CPU and i must pay for slots only xD
If everyone does that then your host may start limiting access to root dir and only allow access to specific files and dirs
Wait how exactly did you hack to unlimited slots mine only has 5 and its always full so this would be great if you could show me how
Not sure if you have had experience with them but I use wobhosting and they don't let u access (some) files how would you get the /src php files what's the directory ? Thanks For The Help
Yeah got it to work changed what I needed too but how do i turn it into a .phar PocketMine-MP file again? phar converter doesn't work already tryed