YmlSettingEditor

Discussion in 'Bukkit Tools' started by l1a2r3s4, May 24, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    l1a2r3s4

    download: http://forums.bukkit.org/attachment...5/?temp_hash=dfbb6d20d03daa67923a8f8dd087689a

    german:

    kann mir eventuel einer beim überstzen helfen? XD

    YmlSettingEditor ist eine Exe zum erzeugen von ymldaten die in einer Benutzeroberfläche bearbeitet werden. die besonderheit ist, das der aufbau der ymldatei mit hilfe einer YmlSettingStruc(yss) datei angegeben wird, und damit auch das design der oberfläche generiert wird.

    Der aufbau der yss ist eine xml datei mit folgenden aufbau:
    Code:
    <SinglePage>
      <MainBlock file="Setting.yml">
        <Block name="Block1">
          <ListParameter name="List1" />
        </Block>
        <ListBlock name="ListBLock1">
          <Parameter name="Parameter" nametype="text" >test</Parameter>
        </ListBlock>
      </MainBlock>
    </SinglePage>
    würd mich freuen wenn die pluginbuilder diese xmldaten selbser generieren

    english:

    sry, my english translate ist not the best.
    sry i have to time not english translate for the instructions file

    YmlSettingEditor is an Exe to create ymldata, there is editet with a gui. The special feature is that the construction of ymldatei is generated with the help of a YmlSettingStruc is (yss) specified file, and thus the design of the surface.

    the construction of the xml
    Code:
    <SinglePage>
      <MainBlock file="Setting.yml">
        <Block name="Block1">
          <ListParameter name="List1" />
        </Block>
        <ListBlock name="ListBLock1">
          <Parameter name="Parameter" nametype="text" >test</Parameter>
        </ListBlock>
      </MainBlock>
    </SinglePage>
    i hope the pluginbulder suport this

    jobplugin exemple

    Code:
    <SinglePage>
        <MainBlock file="jobConfig.yml">
            <ListBlock name="Jobs">
                <Block name="JobName" nametype="text">
                    <Parameter name="fullname">Jobname</Parameter>
                    <Parameter name="shortname">J</Parameter>
                    <Parameter name="ChatColour">GREEN</Parameter>
                    <Parameter name="chat-display">full</Parameter>
                    <Parameter name="max-level">10</Parameter>
                    <Parameter name="slots">1</Parameter>
                    <Parameter name="leveling-progression-equation">100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))</Parameter>
                    <Parameter name="income-progression-equation">baseincome*((1.05)^(joblevel-1))</Parameter>
                    <Parameter name="experience-progression-equation">baseexperience*((1.05)^(joblevel-1))</Parameter>
                    <ListBlock name="Break">
                        <Block name="Material" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="Place">
                        <Block name="Material" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="Fish">
                        <Block name="RAW_FISH" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="Kill">
                        <Block name="MobName" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="custom-kill">
                        <Block name="JobName" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="Craft">
                        <Block name="Material" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="Smelt">
                        <Block name="Material" nametype="text">
                            <Parameter name="income">5.0</Parameter>
                            <Parameter name="experience">5.0</Parameter>
                        </Block>
                    </ListBlock>
                    <ListBlock name="permissions">
                        <Block name="Node" nametype="text">
                            <Parameter name="value" valuetype="bool">true</Parameter>
                            <Parameter name="level">0</Parameter>
                        </Block>
                    </ListBlock>
                </Block>
            </ListBlock>
        </MainBlock>
    </SinglePage>
    Sample.jpg
     

    Attached Files:

  2. Offline

    Lolmewn Retired Staff

    And.. why exactly would we need this?
     
  3. Offline

    l1a2r3s4

    I hope that the program makes it easier to edit longer yml data.
    I sure hope the yss data generated by the plugin writer himself.
     
  4. Offline

    Lolmewn Retired Staff

    I've got no clue what you just tried to tell me @ your last line.
     
  5. Offline

    beleg

    its for writing an .exe which helps you or your "customers" (plugin users) editing config.yml's he made an example for the jobs plugin
     
  6. Offline

    nala3

    Cool program, I won't use it but its still nice.
     
Thread Status:
Not open for further replies.

Share This Page