Coder Social home page Coder Social logo

matcracker / servertools Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 6.0 11.3 MB

ServerTools is Pocketmine-MP plugin containing a set of tools that allows you to manage your server directly from the game!

License: GNU General Public License v3.0

PHP 100.00%
cloner file-explorer file-manager pmmp pmmp-plugin pmmp-plugins server-tools

servertools's Introduction

About me

I am a developer ๐Ÿ’ป (otherwise why would I be here?!) and gamer ๐ŸŽฎ.

My hobby is to write PocketMine-MP plugins, I have been in this community since 2014. Over the years I have developed and maintained several plugins including the most current BedcoreProtect and ServerTools.

I was the main developer at NetherGames Network. I am still part of the group and I intervene when necessary.

Programming languages

  • Java โ˜•
  • PHP ๐Ÿ˜
  • C#
  • Visual Basic
  • C++

My GitHub statitics

Other contacts

  • Discord: matcracker#5204

Donation

  • Bitcoin (BTC): 37BCe87gveKRNPzbcLLyAk2kLVqE53MSZc
  • Ethereum (ETH): 0x6C5c009d5EC990dA2bCFb7A7aeDD369E21C78087

servertools's People

Contributors

matcracker avatar poggit-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

servertools's Issues

Error

PocketMine-MP Crash Dump Sun Mar 13 04:40:58 UTC 2022

Error: Undefined array key "host"
File: plugins/ServerTools_dev-46.phar/src/matcracker/ServerTools/forms/cloning/BaseFTPForm
Line: 40
Type: ErrorException

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: ServerTools

Code:
[31] use pocketmine\player\Player;
[32] use pocketmine\utils\TextFormat;
[33] use function is_numeric;
[34]
[35] final class BaseFTPForm extends CustomForm{
[36]
[37] public function __construct(string $title){
[38] parent::__construct(
[39] static function(Player $player, $data) : void{
[40] $host = (string) $data["host"];
[41]
[42] if(!is_numeric($data["port"])){
[43] $player->sendMessage(Main::formatMessage(TextFormat::RED . "You must insert a numeric value to the field "Port""));
[44]
[45] return;
[46] }
[47]
[48] $port = (int) $data["port"];
[49] if($port < 0 || $port > 65535){
[50] $player->sendMessage(Main::formatMessage(TextFormat::RED . "Invalid port range! It must be between 0 and 65535."));

Backtrace:
#0 plugins/ServerTools_dev-46.phar/src/matcracker/ServerTools/forms/cloning/BaseFTPForm(40): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[26] Undefined array key "host", string[111] phar:///home/container/plugins/ServerTools_dev-46.phar/src/matcracker/ServerTool, integer 40)
#1 plugins/ServerTools_dev-46.phar/src/matcracker/ServerTools/libs/matcracker/FormLib/BaseForm(78): matcracker\ServerTools\forms\cloning\BaseFTPForm::matcracker\ServerTools\forms\cloning{closure}(object Stats\Segundo#925018, array[7])
#2 pmsrc/src/player/Player(1985): matcracker\ServerTools\libs\matcracker\FormLib\BaseForm->handleResponse(object Stats\Segundo#925018, array[7])
#3 pmsrc/src/network/mcpe/handler/InGamePacketHandler(888): pocketmine\player\Player->onFormSubmit(integer 2, array[7])
#4 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(46): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#923578)
#5 pmsrc/src/network/mcpe/NetworkSession(397): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#923616)
#6 pmsrc/src/network/mcpe/NetworkSession(360): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#923578, string[89] e.V[null,"b-fde-18.sparkedhost.us","2022","epu0e4nj.1c7e9337","5Le6[(3W1bsxIP",")
#7 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[133] .Le...+...QJ.MKI.5..+.H,.NM../..+-V.Q2202.R.....&[email protected]..p..........)
#8 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[142] .....)..bX........].k...|l...]...IB........W..#`MY....]..g(oU.......?.+L..|..(5E)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#900261)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1647146458.6643)
#13 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor()
#14 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#15 pmsrc/src/PocketMine(327): pocketmine\server()
#16 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Permissions

Issue description

  • Expected result: Player as Operator can use servertools
  • Actual result: Player as Operator can not use servertools

Steps to reproduce the issue

  1. Install ServerTools
  2. Run command /servertools as Operator
  3. Open the UI and select a button

OS and versions

  • ServerTools: Latest Poggit Release
  • PocketMine-MP: 3.21.0
  • PHP: 7.4.20
  • Server OS: Linux

Suggestions

If u can try to add google drive backup in server tools

Commands

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
I suggest if command install and uninstall plugin poggit release can be run through console it will be an alternative to plugin Sheep.

permission

what is the permission for the plugin manager or downloader that I put into pure perms

Restart Issue

Issue description

  • Expected result: What were you expecting to happen?
  • Actual result: What actually happened?

Steps to reproduce the issue

  1. Pressed restart button in game
  2. the plugin reopened the wrong start file

OS and versions

  • ServerTools:
  • PocketMine-MP:
  • PHP:
  • Server OS:
  • Game version: PE/Win10 (delete as appropriate)

Plugins

  • If you remove all plugins, does the issue still occur?
  • If the issue is not reproducible without plugins:
    • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section

Crashdump, backtrace or other files

ftp.php file location

Where do i find the necassary files for cloning a server. Im trying to use your plugin but i dont know where to get the ftp.php file or any of the other...

Update API4

Please update it to API4 because this plugin is so awesome.

If you're busy, let us make API4 Pull Request Plugin.
It's not appearing in Poggit-CI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.