[SkRoll] Crate-like random items! 0.4

Roll through random items (like a crate)

  1. bigfoot49211
    SkRoll

    NOTE: IF USERS ARE UNABLE TO ROLL, TELL THEM TO RELOG. ITS A TEMP FIX UNTIL I FIND WHAT CAUSES IT.

    ANOTHER NOTE: IF PLAYERS ARE STUCK IN THE ROLL GUI BUT ARE UNABLE TO CLOSE IT, KICKING THEM WILL FIX IT.


    It works in that you get a random item, and its displayed in a GUI like a crate.

    Commands/Usage:

    /roll:
    Rolls for a random item!
    Perm: skript.roll

    /setrollitems:
    Set the roll items to the items in your inventory
    Perm: skript.op

    /rollmob <spawn/remove>:
    Gives an item to spawn or remove a roll mob
    Perm: skript.op

    To create a roll chest, place a sign two blocks below the chest and set the first line of the sign to "roll_chest"

    To create a roll mob, right click on the ground with the stick given in the /rollmob command

    To remove a roll mob, left click on the roll mob with the blaze rod given in the /rollmob command

    Config:
    Code (Text):
    # SETTINGS:

      # Permissions:
        # (Do not leave these blank)
        perm.setrollitems: skript.op
        perm.roll: skript.roll
        perm.rollmob: skript.op

        # Ignore perms on chest/mob click:
        # (Can roll using a chest/mob even if they don't have the perm defined above)
        ignoreperms: true #true/false

      # Roll Mobs:
        # The name of a roll mob:
        roll.mob.name: &a&lRoll!

        # The type of roll mob to spawn
        mobtype: pig

        # The amount of time between checking location of roll mobs
        roll.mob.update: 10 ticks
    Screenshots:
    [​IMG]
    [​IMG]
    [​IMG]
    Requirements:

    Skript - http://www.skunity.com/Skript

    SkQuery - http://www.skunity.com/SkQuery

    ExtraSK - http://www.skunity.com/ExtrasSK
    masaru09 and LuisGerdez like this.