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

libcommon

Comments in 'Resources' started by aliuly, Jul 12, 2015.

  1. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    This plugin contains a lot of functionality that can be used in other plugins, in particular, ScriptPlugins.

    API Features:

    • Armor constants
    • Paginated output
    • Command and sub command dispatchers
    • Config shortcuts and multi-module|feature management
    • API version checking
    • Misc shorcuts and pre-canned routines
    • Multiple money support
    • Player session and state management
    • Teleport wrappers
    • Translations
    It also bundles useful third party libraries:

    • xPaw MinecraftQuery
    See API documentation for full details.

    The libcommon library is my standard library that I personally use when writing PocketMine-MP plugins. Normally I embed the different modules when creating my plugins in order to avoid dependency issues.

    For use on your own plugins, you can either use the stand-alone libcommon phar, or use the one bundled in GrabBag.

    This plugin can be downloaded from its Downloads[​IMG] page.

    Copyright
    libcommon
    Copyright (C) 2015 Alejandro Liu
    All Rights Reserved.

    This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 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.

    You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
    Last edited: Sep 16, 2015
    TigerHix, iJoshuaHD, Falk and 2 others like this.
  2. Rexius
    Offline

    Rexius New Member

    Joined:
    Jul 3, 2014
    Posts:
    26
    Hi bro, activate plugin but folder does not. Help me.
  3. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    How are you activating?
  4. Rexius
    Offline

    Rexius New Member

    Joined:
    Jul 3, 2014
    Posts:
    26
  5. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    The default is not to have any folder.
    You need to change the debug level in pocketmine.yml to something greater than 1.

    What were you expecting?
  6. Rexius
    Offline

    Rexius New Member

    Joined:
    Jul 3, 2014
    Posts:
    26
    Thanks bro, I was thinking debug level 1 :D
  7. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    Hello,
    I have posted a new version of libcommon: https://github.com/alejandroliu/pocketmine-plugins/releases/tag/libcommon-1.91.0

    • De-bundled, now it is just a library again. All sub-commands were moved to GrabBag.
    • New modules: TPUtils, ShoppingCart, SignUtils, SkinUtils, SpySession
    • Bug-Fixes: Cmd, InvUtils, Session, ShieldSession, BaseSelector
    Note that SkinUtils has initial support loading/saving skins in PNG. It is unfortunate that MCPE0.12 does no longer load the skins on the fly.

Share This Page

Advertisement