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

How do i read a config?

Comments in 'Plugin Development' started by Renzo, Jun 8, 2014.

  1. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    How do i read a config file?
    I know how to make on by the way!
  2. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    PHP:
    $this->config = new Config($this->api->plugin->configPath($this)."config.yml"CONFIG_YAML, array("message"=>"hello world!"));
    console($this->config["message"]);
  3. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    I already know how to make a config but i want it to have it like $this->config = new Config($this->api->plugin->configPath($this)."config.yml", CONFIG_YAML, array("AllowBreaking"=>"true"));
    and then i want it to have an if statement that detects if AllowBreaking is true or false!
  4. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    My code was wrong by the way:

    PHP:
    $this->config = new Config($this->api->plugin->configPath($this)."config.yml"CONFIG_YAML, array("message"=>"hello world!"));
    console($this->config->get("message"));
    Anyway:
    $this->config = new Config($this->api->plugin->configPath($this)."config.yml", CONFIG_YAML, array("AllowBreaking"=>true));


    if($this->config->get("AllowBreaking")) console(":O True!")
    else console(":L False :|");[/php]
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    ArrayAccess implementation was rejected :(
  6. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    How do i have it to say that a string that you editted in the YAML file to the console?
  7. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    If it's new API (I think):
    PHP:
    $this->getLogger()->info("Message!");
    Old API is:
    PHP:
    console("message");
  8. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    But it says to the console : message and not the string in the YAML file!
  9. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    PHP:
    use pocketmine\utils\MainLogger;

    MainLogger::getLogger()->info($this->config->get(String));
  10. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    Which API do you want to do this on? The old or the new?
  11. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Old
  12. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    PHP:
    console($this->config->get("bla"));
    Comedyman937 likes this.
  13. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    What I said was just to show how to print a message... Just put the variable instead of the string.
  14. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Ok ;)
    Last edited: Jun 24, 2014
  15. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    Looking at the thread, I think this is what you want it to do. If not explain it better and Ill help you out.
    PHP:
    if($this->config['AllowBreaking'] === true){
    console("[INFO] AllowBreaking is set to true!");
    }else{
    console("[INFO] AllowBreaking is set to false!");
    }
  16. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Error Dump:
    Code:
    ```
    # PocketMine-MP Error Dump Tue Jun 24 17:58:46 UTC 2014
    Error: array (
      'type' => 'E_ERROR',
      'message' => 'Cannot break/continue 1 level',
      'file' => 'C:\\Documents and Settings\\ronny2\\Desktop\\MCPE\\Servers\\Voorizchtig Server\\TweedePocketMine-MP\\plugins\\MultiBroadCast.php',
      'line' => 29,
    )
    
    THIS ERROR WAS CAUSED BY A PLUGIN. REPORT IT TO THE PLUGIN DEVELOPER.
    Code:
    [20] ));
    [21] }
    [22] public function commandHandler($cmd){
    [23] switch($cmd){
    [24] case "mbc":
    [25] $this->api->chat->Broadcast($this->messages->get("messages"));
    [26] console($this->messages->get("messages"));
    [27]
    [28] }
    [29] break;
    [30] }
    [31]
    [32] public function __destruct(){}
    [33] }
    [34]
    [35]
    [36]
    [37]
    [38]
    [39]
    
    
    PocketMine-MP version: Alpha_1.3.12 #620 [Protocol 14; API 12]
    Git commit: 0000000000000000000000000000000000000000
    Source SHA1 sum: e5f2f82202587903385681486b0d3626ae31b569
    uname -a: Windows NT KROY-BE-0001 5.1 build 2600 (Windows XP Professional Service Pack 3) i586
    PHP Version: 5.4.25
    Zend version: 2.4.0
    OS : WINNT, win
    Debug Info: array (
      'tps' => 0,
      'memory_usage' => '12.53MB',
      'memory_peak_usage' => '12.67MB',
      'entities' => 0,
      'players' => 0,
      'events' => 12,
      'handlers' => 50,
      'actions' => 19,
      'garbage' => 0,
    )
    
    
    Parameters: array (
      'input' =>
      array (
      ),
      'commands' =>
      array (
      'enable-ansi' => true,
      ),
      'flags' =>
      array (
      ),
    )
    
    
    server.properties: array (
      'server-name' => 'Minecraft: PE Server',
      'description' => 'Server made using PocketMine-MP',
      'motd' => 'Welcome @player to this server!',
      'server-ip' => '',
      'server-port' => 19132,
      'server-type' => 'normal',
      'memory-limit' => '128M',
      'last-update' => 1403632723,
      'white-list' => false,
      'announce-player-achievements' => true,
      'spawn-protection' => '16',
      'view-distance' => '10',
      'max-players' => 20,
      'allow-flight' => false,
      'spawn-animals' => true,
      'spawn-mobs' => true,
      'gamemode' => 0,
      'hardcore' => false,
      'pvp' => true,
      'difficulty' => 1,
      'generator-settings' => '',
      'level-name' => 'world',
      'level-seed' => '',
      'level-type' => 'DEFAULT',
      'enable-query' => true,
      'enable-rcon' => false,
      'rcon.password' => '******',
      'send-usage' => true,
      'auto-save' => true,
    )
    
    
    Loaded plugins:
    AdminInventory 0.1 by wrewolf
    AdvancedPrivateMessaging 1.0 by Renzo
    Alias 1.0.1 by ZacHack
    Anti_PlaceAndBreak 1.0 by Renzo
    AutoMoneyPrefix 1.0 by Renzo
    C4 1.0 by DarkN3ss
    Casino 1.0 by Renzo
    ChestShop 1.8.2 by MinecrafterJPN
    Claymores 1.0 by Darunia18
    CommandShortener 1.0 by Renzo
    DeathSwap 1.1 by SuperChipsLP
    Development Tools 0.7.1 by PocketMine Team
    Disguise 0.0.1 by Falk
    EconomyAirport 1.1.0 by onebone
    EconomyAPI 1.4.1 by onebone
    EconomyAuction 1.0.11 by onebone
    EconomyCasino 1.0.6 by onebone
    EconomyJob 1.0.11 by onebone
    EconomyLand 1.4.6 by onebone
    EconomyPayment 1.0.9 by onebone
    EconomyProperty 1.0.4 by onebone
    EconomyPShop 1.1.8 by onebone
    EconomySell 1.1.15 by onebone
    EconomyShop 1.2.4 by onebone
    EconomyTax 1.0.8 by onebone
    EnderChest 0.3 by BlinkSun
    FullMonitor 1.0 by Renzo
    HideMe 1.0.1 by shoghicp
    HonorSystem 1.0 by Renzo
    InfoEssentials Gamma 3.14159265.271 by PEMapModder
    JailPlugin 1.0.3 by Omattyao
    JoinedPlayers 1.0 by Renzo
    Jokes 0.1 by Renzo
    Mentions 0.1.2 by Falk
    MineReset 0.2 by Falk
    MultiBroadCast 1.0 by Renzo
    OnlinePlayersSign 1 by SwagKing47
    PermissionPlus 1.0.9 by Omattyao
    PersonalLoginMessage 1.0 by Renzo
    PickupNotify 1.0 by Renzo
    PlaceAndBreakNotify 1.0 by Renzo
    BlockPlaceSave 1.0 by Renzo
    Portal 2.6 by ljy
    QuitCommand 1.0 by Renzo
    RandomDie 1.0 by Renzo
    RandomNumberGenerator 1.0 by Renzo
    RankUp 1.0 by Renzo
    RespawnNotify 1.0 by Renzo
    Save-Notify 1.0 by Renzo
    ScheduledStop 1.0 by Renzo
    SimpleWarp 0.2.3 by Falk
    SimpleWorlds 0.3.1 by PocketMine Team
    StopCountDown 1.0 by Renzo
    Timer 1.0 by Renzo
    TrollPlus 1.1 by LDX
    VIPS 1.0 by Renzo
    WorldEditor 0.9.1 by shoghicp
    
    
    Loaded Modules: array (
      'Core' => '5.4.25',
      'bcmath' => false,
      'calendar' => false,
      'ctype' => false,
      'date' => '5.4.25',
      'ereg' => false,
      'filter' => '0.11.0',
      'ftp' => false,
      'hash' => '1.0',
      'iconv' => false,
      'json' => '1.2.1',
      'mcrypt' => false,
      'SPL' => '0.2',
      'odbc' => '1.0',
      'pcre' => false,
      'Reflection' => '$Id: f6367cdb4e3f392af4a6d441a6641de87c2e50c4 $',
      'session' => false,
      'standard' => '5.4.25',
      'mysqlnd' => 'mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $',
      'tokenizer' => '0.1',
      'zip' => '1.11.0',
      'zlib' => '2.0',
      'libxml' => false,
      'dom' => '20031129',
      'PDO' => '1.0.4dev',
      'Phar' => '2.0.1',
      'SimpleXML' => '0.1',
      'wddx' => false,
      'xml' => false,
      'xmlreader' => '0.1',
      'xmlwriter' => '0.1',
      'curl' => false,
      'mysqli' => '0.1',
      'sqlite3' => '0.7',
      'sockets' => false,
      'shmop' => false,
      'yaml' => '1.1.1',
      'pthreads' => '0.1.0',
      'com_dotnet' => '0.1',
      'mhash' => false,
    )
    Memory Usage Tracking:
    AwA=
    
    
    phpinfo():
    7V1tc9vIkf6OX4Fy9lJ2IlF8l2THqaNIymJCilySku0Nr1BDYEDCAgEsBpBEf7jfft0zA2AAgqQU
    byq5qt0tg0D3Mz1vPT09rwrWgePZ/tt32uRmot/TkDm+p3/8q96qNCv1lqbNtiyiG6R8djzLf2L6
    7Vz/+3T89fSqf1qtVmuArOnL2HEtvd6uVvW3Ce7LRJ+Evk0ZiiSuPqPho2NSfULMB73xTndaF23t
    igfskYhiFNd0qestvV6tNfV67X2t/R6S0PU3gePSEAGj2X33Un9777AYJHb//GfAVi/eaZ3QXDsR
    NaM45IKeQXTX92xnhQSQsCGehQyTmaETRPqZ57v+ytfNBFT5xnT9zekp9cjSpafMIwFb+9Epz9kb
    5FgO4yz4CZw3Ctaiy3h1GkC2OPXJidZ+HJ1uGPvVzVECyy+jOo0nukxJHOWbzsfu+0WwDk6Z9bDw
    Q2K6dOF4LCJeZLoO9aJadQGsE7YmIbWy0BDy4geCntZqq6PBa8XgsiD85TeoglPMlOWEHyuVM6Cc
    qQjT35xafuTR6GMx9o0ZbgMgRyRyzFyBC9IpASXafqdKQa38NxpqFehGZzLA6k1qeuh4VB94EQ1t
    YlLt3gkjVJieE0IC/XCrz+Ig8MMIw4ikWam+QGTQBK5B5fS3UAwVx3PegdJGax7B+8XnwW1v/Hmm
    DX1iUUsvCSZwPd+MN1BcTMcUzWgUOd6KLULf87b1RY+yh8gPFqPupL8QmWCLe98Pne/mOnJWuqAt
    5k+UWnTimw80GkGuTkeTxdLxsIIWMnXazCSeHq0dpkOx67Yf6sSynEg0O0ToNiSLYbreer5Hob2U
    8gMSMmopMLQJsmShTVarzVqd0/rPEfUSS8E5LWiov1DIZ561jyeaPSBAego6mc9OoHkXYshBC8ge
    trwM4fnafB1SAqVNbBpt1drlCZg5K8zyDVSIC5WBfKlkEjCiG9SOEejaSlicXPhR7EbOcgvGStGf
    VMJg8tguU6zeHBpReRBtSlcOGFhoCTpmexZB8je8pqByT3i9nOgr11+e6BaJyIm+jiKk4+O7Aw9o
    UUEINrby3XUAFECrUoUKgfqM648OCfEYJoLHEJkQPraCEjyoMXxzFFh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ksinQzXK4
    uQeOK1tl+IS+E4BnyywjFqHlCd+T7vJk70n1nkTvS3NZkktTTGHE51lxUATvIQN8D7pA5W6Jgbt/
    UmPgxUlLKmEunf0BwS/cOgcE84W6vVwIKdat93EPpGl1iG1R00mtUAnfdn1yILQfL126ny3XW0qZ
    W/BMD5TW5rDYgwBkgiO7CfaXdrpto7zQXH+5l0m9eLNfMN1fWivqg/Mk5qlLAX60prkyWToeDOX3
    Kl+BXVC/ArdEAQuIHRUs8HeUcJd/MHWrw4ASVSwgdpSxKGFHHYuAgkIW2EWV3CnBzTHhRyClilms
    hR3VLBZkQTkL7KJ6FsXTQyVYpqIFiKKkjueko5HUB1UNaA6A3kWejXuQf40d5YsHsJYqmyapwU8x
    BHEdpoQxQ9zYlAtlhX6QI4TY1YmNS4LA1nFk+U+eQsmNfAUNCgCdGpxp8pUIVQdIhT04mZu1yTaF
    SFBaq/iVKYqAumTLWxA44WrWikMhJEJ94N4mK07UiMsT+zJztMQ/SsfSoiTkjhfmkkeqZh98GDmq
    KFBlzRaouD+FL3imO4sVpuIMpTSoABrtCMHNKckqhcLg2qYWEPT5XvkQHLwHsetUdaj3ghLnWpNT
    LDszHvhdk6NDeK1LuG8tTU0b9666ZfOvnddNe3IxbrZq+Zkvvb98MhQTc3iSkyOgvZoPBxHp5mg+
    qEk2P8/4USw9G+nkCPmQopWV7whTcQemRXO4g9OcKhKaQbIDKaRRHHo6YbrDit+5MG7oKvw40COf
    zwXqXF0OsISUl0yvpsAXTa7C+IkfGOhO+/pb0B6XrzBBYWM/NqWr2IUeqf+czHayd2XKx0Mna+DK
    lOtFpVHHadb6aa122njNZDumqoI7tMSGrmxXoNh2q7wKKIiNebRFaPYGmeyN+aNsAQvJVug8ymUp
    HYB4xIk/3/MzU/zs52Pp1hEE6f0vc3XJo47TzIKDk575ZU7gzO5voa4LC/zUvKg3WrVmrXpea1eX
    57Rtk6XZql22LptQjO3WOalby8ua/hOXfMq3RPLDWLhahcnLrezNj0N+GUyOQVb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HZaVrfe3RC30PnS9Pu5XFOlCES3xkO72b96QwGK9eDYf/w
    LWAd19XvwPQwrTOZ9DrzzosuDQMH2AUF5iNdPOGmdYed2WzSmd+IY+8gYCLvRuIe5+KKuisn3ugD
    1GwcaXehg1u8ELcL+xt5JItvIW0voGDxiP3i5znSKtgUusNB/3Z+2xmJrPse812KNwiNxrd8ANcZ
    YbnMZE7zknE7rrw+jWGYyd28P01kqdcNInM26Xfzl7EthHPdqC/MjQUdPtWuJ8bt2LgZz+ZG96bf
    5Qe/b8fazXjU/5ffz7b2N1TK4RH2poN7GSv/TirscBK04fjT+BY06r4/5ehFrhxu70ZX/akxvsbR
    cRcGx+PpTJitW/qkqGrtaHkvBowsqbvQxjPlnkfjdq4lCYXg03i5rVerePfch5JyV2hl7MXTkm4+
    mO8X4uqu/60tHBEniishb8gzeCM0Y23EzMoCdF+PlEu5kACuEl2YfpjcFLjAYPnsTrYw4PPqrdeo
    /uzqatEHiTaNFs/2Msm5SpakvMCfY8d8wIOo0DjE7ZklsebKf9L9Mvd9l5XA/thdTPl1Aj1CIQCX
    dPN1Nr6eL7q9jvI1bRqiFg6r9WirpwCIy3mcg4aDlWOLb9ZDkp9/eQQHyuKGb/rd6vi7qFbCWqt+
    uahUDieLKyqu86AVBAPxodL/0v9QuerMP1S6o96Hyv3VDB9A+9sM/8HL59k1Pm4+VCZfP1SmV/jv
    s5a2JaMz7d4M5v3u/G7aT64UzbiDHti6wfVANE3g6dcwZHC3ehs7D+iGai19FtGAr+3jjXifqBeD
    ecBxg6vIGfbv+/xkgip82r8f4PQX7+PtqqUdM58IGE149n+a/PRJm3yd34DRla0XW0Oi/5NwtWEa
    WO3OfafUMBw08XJarmjjZ19n8/5ItXKCMh2P54VLM4E6SezvuHs36kObl5ozHHc7wxl849gTgFN+
    vB78qXCjzV8YCjvg3njUGdzu9BvIShIuDSySXtRbSzxmYjAt5Iiw9F6XHr9+hXfPH9Fcyfvekosf
    ypwGQ9j3f7wpeA9v/uel/kMmQT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xrN+RdMGNi9Zy7F0z490efpMJzpe2KCWnSvKDs9O4P1+APG2Gr8umh92IEtMYAYEPTnR
    A5fiTaem70XEjBIR/41/HcqjUUX7Pw==
    
    
    ```
    
  17. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
    you put a break before you finish the switch
  18. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
    like
    PHP:
    break;
    }
    }
  19. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    371
    Plugins:
    3
    Minecraft User:
    Dutok
  20. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    Please post the whole file.

Share This Page

Advertisement