malte-laukoetter / Laborus

a customisable sponge job plugin
https://ore.spongepowered.org/Lergin/Laborus
MIT License
1 stars 3 forks source link

More logging messages #26

Open crymates opened 7 years ago

crymates commented 7 years ago

Pls add in conf file that you can inform about an specific job action in server console. Like:

        actions {
            # a list of JobItems that award if destroyed
            break=[
                {
                    # an blockstate or blocktype as a string, see http://minecraft.gamepedia.com/Data_values#Block_IDs it also supports blockdata
                    item="minecraft:stone[variant=stone]"
                    needLevel=0
                    xp=1.0
                    console=false
                },

By default it's set to false, but if you test new jobs it's good if you set it true, it's shown in server console.

malte-laukoetter commented 7 years ago

Hm... i think a setting for each action isn't that nice of a solution but i could add multiple log levels (debug, info, warning, error) and add a setting that can set this level.

crymates commented 7 years ago

Sounds good :)

crymates commented 7 years ago

Does it is possible to use.right_hand.onEntity[name=Eduard] or something like to check for interactions with entity called Eduard to create an own quest system based on ur plugin?

Your suggestion about multiple log levels (debug, info, warning, error) is needed for it, too ;)

Greetz, Hannes

crymates commented 7 years ago

So I could check in console who interacted with the entity and do something with it.

crymates commented 7 years ago

Oh I notice you already work on it, thx mate for ur quick responds every time ;)

malte-laukoetter commented 7 years ago

In the just released version are some more logging messages that can be activated within the logging section of the configuration file (not all of them have currently a effect)