ToggleEvents 0.1

Allows you to toggle events | Full configurable | Editable permissions

  1. LangweilerLP2
    Tested Minecraft Versions:
    • 1.8
    Languages Supported:
    All messages configurable
    Avaliable Events
    - Block place event
    - Block break event
    - Player item drop event



    __________________________________________________________

    Code (YAML):
    Events:
      BlockBreak
    :
        Activate
    : true
        AllowMessage
    : true
        AllowPassEventWithPermission
    : true
      BlockPlace
    :
        Activate
    : true
        AllowMessage
    : true
        AllowPassEventWithPermission
    : true
      PlayerItemDrop
    :
        Activate
    : true
        AllowMessage
    : true
        AllowPassEventWithPermission
    : true



    if ("AllowPassEventWithPermission") is false the event will get blocked for everyone

    else if ("AllowPassEventWithPermission") is true players with right permissions will enter the event | ignore the blocker



    if ("Activate") is false the event will not get blocked

    else if ("Activate") is true the event will get blocked

    if ("AllowMessage") is false players will get a message when the event get blocked

    else if ("AllowMessage") is true players will get no message when the event get blocked

    EVERYTHING value in this configuration can only be true or false else you will get an error
     

    Code (YAML):
    Events:
      BlockBreak
    :
        CancelMessage
    : '&7[&aToggleEvents&7] &cBlock breaking is forbidden'
        Permission
    : ignore.blockbreak
      BlockPlace
    :
        CancelMessage
    : '&7[&aToggleEvents&7] &cBlock placing is forbidden'
        Permission
    : ignore.blockplace
      PlayerItemDrop
    :
        CancelMessage
    : '&7[&aToggleEvents&7] &cItem dropping is forbidden'
        Permission
    : ignore.playeritemdrop



    ("CancelMessage") is the message which is shown when a event get triggert

    ("Permission") is the permission which a player need to ignore the event blocker