Events, Spawns, Source Servers, and many more!

User Tools

Site Tools


Sidebar

home

issues

downloads


bukkit plugins

windows 8 apps

windows phone apps


Maintaining these plugins takes a lot of work, so if your server is enriched by them please consider sending some love my way!

If you're penniless I'm also partial to TF2 items. Send any you don't want my way! STEAM id: coldandtired

If you don't know what TF2 is, then start playing! It's free and fun!

events:conditions

Events supports many different conditions to allow you to tailor your config as you see fit.

The structure for conditions is very similar to the one for actions. Simple conditions look like this

<event>
    <if>
        <condition1/>
        <condition2/>
        <condition3/>
        <then>
            <action/>
            <action/>
            <action/>
        </then>
    </if>
</event>

You would read this as if condition1 AND condition2 AND condition3 then do …


It's also possible to group condition so that only some of them need to pass

<event>
    <if>
        <condition1/>
        <condition2/>
        <condition3/>
        <one-of>
            <condition4/>
            <condition5/>
            <or>
                <condition6/>
                <condition7/>
            </or>
        </one-of>
        <then>
            <action/>
            <action/>
            <action/>
        </then>
    </if>
</event>

You would read this as if condition1 AND condition2 AND condition3 AND either (condition4 AND condition5) OR (condition6 AND condition7) then do …

events/conditions.txt · Last modified: 2014/08/09 23:27 by sylian