Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

GrabBag 2.3.0

Collection of miscellaneous commands and listener modules

  1. QuangDo
    Offline

    QuangDo Active Member

    Joined:
    Jun 23, 2015
    Posts:
    66
    Minecraft User:
    QuangDo
    /fly command doesn't work in php7
  2. Aericio
    Offline

    Aericio New Member

    Joined:
    Feb 5, 2016
    Posts:
    10
    Minecraft User:
    Aericio
    /spy doesn't work for me. Its also isn't in the config to enable it so was it removed?
  3. KaitoDoDo
    Offline

    KaitoDoDo New Member

    Joined:
    Feb 10, 2016
    Posts:
    17
    Minecraft User:
    KaitoDoDoYT
    [Server thread/CRITICAL]: Error: "Undefined class constant 'pocketmine\item\Item::NETHER_REACTOR'" (EXCEPTION) in "/GrabBag_v2.4.1.phar/src/aliuly/common/BasicPlugin" at line 69
  4. GeorgeS18
    Offline

    GeorgeS18 New Member

    Joined:
    May 12, 2015
    Posts:
    6
    Minecraft User:
    George
    I got that too. Not sure how to fix it yet.
  5. bbaker28050
    Offline

    bbaker28050 New Member

    Joined:
    Feb 7, 2016
    Posts:
    3
    Minecraft User:
    bbaker
    When I try to create a command alias, this comes up on the console and it doesnt work. Help?

    [18:50:52] [Server thread/INFO]: An unknown error occurred while attempting to perform this command
    [18:50:52] [Server thread/CRITICAL]: Unhandled exception executing command 'alias -f ofgmc gmc' in alias: Argument 1 passed to aliuly\grabbag\CmdAlias::cmdAlias() must implement interface pocketmine\command\CommandSender, string given, called in phar:///root/Server/plugins/GrabBag_v2.3.0.phar/src/aliuly/grabbag/CmdAlias.php on line 87
    [18:50:52] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to aliuly\grabbag\CmdAlias::cmdAlias() must implement interface pocketmine\command\CommandSender, string given, called in phar:///root/Server/plugins/GrabBag_v2.3.0.phar/src/aliuly/grabbag/CmdAlias.php on line 87" (EXCEPTION) in "/plugins/GrabBag_v2.3.0.phar/src/aliuly/grabbag/CmdAlias" at line 73
    [18:50:52] [Server thread/DEBUG]: #0 /plugins/GrabBag_v2.3.0.phar/src/aliuly/grabbag/CmdAlias(58): aliuly\grabbag\CmdAlias->cmdAlias(pocketmine\command\ConsoleCommandSender object, array Array())
    [18:50:52] [Server thread/DEBUG]: #1 /src/pocketmine/command/PluginCommand(57): aliuly\grabbag\CmdAlias->onCommand(pocketmine\command\ConsoleCommandSender object, pocketmine\command\PluginCommand alias, string alias, array Array())
    [18:50:52] [Server thread/DEBUG]: #2 /src/pocketmine/command/SimpleCommandMap(293): pocketmine\command\PluginCommand->execute(pocketmine\command\ConsoleCommandSender object, string alias, array Array())
    [18:50:52] [Server thread/DEBUG]: #3 /src/pocketmine/Server(2345): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\command\ConsoleCommandSender object, string alias -f ofgmc gmc)
    [18:50:52] [Server thread/DEBUG]: #4 /src/pocketmine/Server(2324): pocketmine\Server->dispatchCommand(pocketmine\command\ConsoleCommandSender object, string alias -f ofgmc gmc)
    [18:50:52] [Server thread/DEBUG]: #5 /src/pocketmine/Server(2943): pocketmine\Server->checkConsole(boolean)
    [18:50:52] [Server thread/DEBUG]: #6 /src/pocketmine/Server(2651): pocketmine\Server->tick(boolean)
    [18:50:52] [Server thread/DEBUG]: #7 /src/pocketmine/Server(2529): pocketmine\Server->tickProcessor(boolean)
    [18:50:52] [Server thread/DEBUG]: #8 /src/pocketmine/Server(2057): pocketmine\Server->start(boolean)
    [18:50:52] [Server thread/DEBUG]: #9 /src/pocketmine/PocketMine(467): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /root/Server/, string /root/Server/, string /root/Server/plugins/, string unknown)
  6. fxfxfx
    Offline

    fxfxfx New Member

    Joined:
    Apr 6, 2016
    Posts:
    9
    Hi there.

    I'm having troubles with alias in terms of cmd persistence across restarts. The commands work fine after creation, but they are gone after a stop-start cycle. I cannot find the command-aliases in the config.

    Where are cmd aliases stored for persistence - or how can I solve the disappearing command aliases (upon restart)?

    Thanks in advance for an otherwise nicely working plugin.
  7. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    You need to enable the "pmscripts" module. One that is enabled, you create a file:

    autostart.pms

    In your GrabBag folder, in that command just place all the commands that will be run upon startup. It can be any command but if you want aliases, then you should place your alias commands there.
    fxfxfx likes this.
  8. fxfxfx
    Offline

    fxfxfx New Member

    Joined:
    Apr 6, 2016
    Posts:
    9
    Speedy and elaborate response. Thanks, aliuly.

    [EDIT]
    ...and it worked perfectly :)
    Last edited: Apr 23, 2016
  9. fxfxfx
    Offline

    fxfxfx New Member

    Joined:
    Apr 6, 2016
    Posts:
    9
    I'm trying to establish teleporting across servers. I'm dumbfounded by the servers cmd, as I can't get a peer connection port (4554) set correctly.

    I have tried:
    /servers add exampleserver example.server.com 4554
    /servers add exampleserver example.server.com -4554
    /servers add exampleserver example.server.com port=4554
    /servers add exampleserver example.server.com port=>4554
    /servers add exampleserver example.server.com port:4554
    /servers add exampleserver example.server.com -p 4554
    /servers add exampleserver example.server.com -port 4554
    /servers add exampleserver example.server.com:4554

    All are rejected, as unknown attributes, except for the :4554, which renders "example.server.com:4554:19132", of course :)

    How do I set the port?

    Thanks in advance.
  10. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    Sorry, that is buggy. Then again teleporting across servers depends on FastTransfer which no longer works.
  11. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    hello aliuly i started an important conversation with you please read it

Share This Page

Advertisement