1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. TheJayCool
    Supported Minecraft Versions:
    • 1.8, 1.9, 1.10, 1.11
    Pail
    Based on XKCD's IRC Bot: Bucket
    By TheJayCool

    What is Pail?
    Pail is a fully customizable chat bot, able of adding and deleting responses in-game.

    Features
    • Adding/Deleting responses, commands and actions
    • Admin System
    • Targetters (called Variables)
    • Lock/Unlock responses
    • Ignore/Unignore players
    • Inventory System
    Installation
    Download and move into your scripts folder
    Open up the script and change the following lines to your liking
    Code (Skript):
    1.      admin: TheJayCool
    2.      # Replace this with your name, to add multiple admins, use the add admin(scroll down) trigger command
    3.      adminsOnly: true
    4.      # Only admins can add/delete triggers
    5.  
    6.      varName: pail
    7.      # Variable Name for player and pail inventory storage
    8.      fileDir: plugins/Skript/data/pail/pailstorage.yml
    9.      # Location of where replies, triggers, etc. get stored.
    10.  
    11.      name: Pail
    12.      cancelEventOnAdminUsage: false
    13.      # Cancels the event when using the pail admin chat trigger
    14.  
    Reload the script.


    Requires Skellett and SkUtilities


    Usage
    Adding a reply:
    'Pail, triggerMessage <reply> responseMessage'
    if a player writes "triggerMessage" in chat, Pail will respond with "responseMessage"
    e.g. 'Pail, Hello there <reply> Hi!'
    <TheJayCool> Hello there
    Pail: Hi!

    You can add multiple responses to a trigger message.
    CASE SENSITIVE

    Adding an action:
    'Pail, triggerMessage <reply> responseMessage'
    if a player writes "triggerMessage" in chat, Pail will respond with "responseMessage" in a /me format
    e.g. 'Pail, Kill someone <reply> kills TheJayCool'
    <TheJayCool> Kill someone
    * Pail kills TheJayCool

    You can add multiple responses to a trigger message.
    CASE SENSITIVE

    Adding a command:
    'Pail, triggerMessage <command> command'
    if a player writes "triggerMessage" in chat, the console will run the command "command".
    e.g. 'Pail, Kill me <command> /kill $who'

    This is very dangerous as it can be used as a permission bypass, Be careful.

    NON-CASE SENSITIVE

    Deleting a reply, action or command:
    'Pail, triggerMessage <delete> responseMessage'
    will delete "responseMessage" from the "triggerMessage" trigger. if "responseMessage" is not included
    it will delete all responses. if "responseMessage" contains a slash(/) it will remove the command
    from the reply.
    e.g. 'Pail, Hello there <delete> Hi!'
    Deletes "Hi!" from trigger "Hello there" but keeps any other responses
    'Pail, Hello there <delete>'
    Deletes every response from the trigger.

    CASE SENSITIVE


    Locking/Unlocking triggers:
    'Pail, lock/unlock triggerMessage'
    this will make triggerMessage un-editable meaning no one including admins can add or delete responses/commands
    e.g. 'Pail, lock Hello there'
    'Pail, unlock Hello there'

    CASE SENSITIVE

    Ignoring/Unignoring players:
    'Pail, ignore/unignore player'
    ignores the player making it unable to trigger any response.
    e.g. 'Pail, ignore TheJayCool'
    'Pail, unignore TheJayCool'

    CASE SENSITIVE

    Adding/Removing Admins:
    'Pail, admin add/remove player'
    adds/removes a player from the admin list.
    e.g. 'Pail, admin add TheJayCool'
    e.g. 'Pail, admin remove TheJayCool'

    CASE SENSITIVE

    Adding items into Pail's inventory:
    '* gives item to Pail'
    '/me gives item to Pail'
    adds an item to Pail's inventory
    e.g. '* gives a gun to Pail'
    '/me gives a gun to Pail'

    Items in the inventory get deleted every 5 minutes

    Variables:
    '$player'
    gets a random online player
    '$who'
    gets the player who triggered the response
    '$digit'
    gets an integer between 1 and 9
    '$nonzero'
    gets an integer between 0 and 9
    '$item'
    gets an item from Pail's inventory and removes it
    '$inventory'
    gets all items inside Pail's inventory
    '$someone'
    gets a random online player

    can be used when adding/deleting responses, actions and commands and when adding
    items into Pail's inventory

    Miscellanious Commands:
    'Pail, list all/admins/triggerMessage'
    lists all triggers, all admins or all responses of a trigger
    'Pail, count triggerMessage'
    gives the total of all responses to "triggerMessage"
    'Pail, inventory'
    sends a list of Pail's inventory