SkMorkaz - Skript addon - NoteBlockAPI | AuthMe and more general features! 0.21

SkMorkaz skript addon

  1. Msql
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    Contributors:
    Morkazoid
    Languages Supported:
    English
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Introduction~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    First of all - this plugin is an addon to "skript" plugin. It is adding new features.
    It has been created for spigot 1649 (1.7+/1.8+). But it should work on newest spigot for 1.8+. If not, PM, I will compile it.

    Supported plugins:
    • Authme (1 new Condition, 1 new Effect, 2 new Expressions)
    • NoteBlockAPI (2 new effects)
    I can add for you special things, just PM what you want to be added to this addon :)
    It can be thing from other plugin for example: WorldGuard, WorldEdit or specific thing like sending resource pack, anvil menu. Also, I can support your or other non famous plugin - just send me it and I will add features of sent .jar to this skript's addon :)

    Features to add:
    • [mor.]send email with subject %string% with message %string% to %string%
    • [mor.]paste schematic %string% [without %block%]
    • if region at %location% contain flag %string%
    • on [mor.]jump
    • on [mor.]land
    • on [mor.]generate of (obsidian|cobblestone)
    • on [mor.]potion effect apply
    • [mor.]set %block% to [mor.](%player%'s head|head of %player%)
    • [mor.]set %itemstack% to 's [mor.](%player%'s head|head of %player%)
    • [mor.](%player%'s head|head of %player%)
    • [mor.]yaml value of %string% of file %string%
    • [mor.]save %string% to yaml value of %string% of file %string%
    Give me ideas PM'ing me :)


    Donation wall:

    If you want be on this list, send us donate.
    We will promote your server here or whatever you will want!
    Donations are giving us motivation to add new things into our plugins because by that we know that someone appreciates our work!
    Also we are adding and developing our stuff for free, so dontaions are, for us, very nice gift from you :p!

    1. Null :c You can be first!
    [​IMG]



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Features~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Here is an list of things that this addon will add to skript
    [] - optional
    (X|Y) - X or Y
    %% - specific type

    Events:
    • "on [mor.]jump":
      • Description: Called when player jumps. It is not bugged as WildSkript's jump event. It runs only once every jump.
      • Options:
        • cancellable - You can prevent jump
        • player - Player that is jumping
      • Example:
        Code (Text):
        on mor.jump:
          if player is in the region "SpectatorArea":
            cancel event
        Code (Text):
        on mor.jump:
          if player has permission "my.double.jump":
            wait 4 tick
            push player upwards at speed 0.5
    • "on dragon['s] portal creat(e|ion)":
      • Description: Called when entity creates an ender portal (ex. when dragon dies)
      • Options:
        • cancellable - You can cancel this event and prevent it.
        • event-entity - Entity that caused event.
        • event-location - location where it is caused
      • Example:
        Code (Text):
        on dragon portal create:
          cancel event
          paste schematic "myportal" at event-location
    • "on block piston push":
      • Description: Called when piston push specific block. Event is around block, not piston. Event is called for every block that was pushed.
      • Options:
        • cancellable - You can cancel this event and prevent push.
        • event-block - Block that was pushed.
        • event-string - Direction, where block is pushed. Saved as text. (ex. WEST)
      • Example:
        Code (Text):
        on block piston push:
          set {regions::*} to regions at location 1 meter event-string event-block
          if size of {regions::*} is not 0:
            cancel event
    • "on block fall[ing]":
      • Description: Better version of already added "on fall" in script. It is called when flying block land and transforms to stable block and when block is being tranformed from stable block to flying. In examples, you can look how good and better it is.
      • Options:
        • cancellable - You can cancel event and prevent block falling or being tranformed to stable block.
        • event-block - Block that is tranformed to flying block or air block that will be tranformed to flying block
        • event-entity - flying block, that is entity in vanilla minecraft. When block is transfered to flying block, event-entity is not set.
      • Example:
        Code (Text):
        on block falling:
          if event-block is not air:
            broadcast "BLOCK START FALLING"
            add event-entity to {fallingblocks::*}
          else:
            broadcast "BLOCK STOPED FALLING"
            remove event-entity from {fallingblocks::*}
    • "on mor.inventory click":
      • Description: Additional event that is called when player clicks on inventory. Very userfull with expression "cursor item of %player%" from this addon.
      • Options:
        • event-player - Player, that clicks on inventory
        • event-inventory - Inventory, where clicks happened
        • event-item - Item, that was clicked in inventory.
        • event-number - Slot number that was clicked. You are able to get item with "slot event-number of event-inventory" that will return item after click (ex. if cursor item was empty, it will return air because item was taken to cursor)
      • Example:
        Code (Text):
        on mor inventory click:
          broadcast "%event-item%, %cursor-item%, %event-inventory%, %player%"
    Conditions:
    • "if %player% (has|is having) potion [effect] %string%":
      • Description: It returns true, when player is having specific potion effect (Use text). Potion names MUST be bukkit names (ex. SLOW, instead of SLOWNESS)
      • Example:
        Code (Text):
        if player is not having potion effect "SLOW":
             apply potion of slow of tier 10 to the player for 10 seconds
    • "if %player% is registered":
      • Description: It returns true, if player is having registered nick
      • Requires: AuthMe.
      • Example:
        Code (Text):

        on portal:
            if player is not registered:
                 send "&c&lYou are not registered to enter this portal!"
                  stop
            else:
                 send player to "skyblock"
    • "if %player% is (logged|authorized)":
      • Description: It returns true, if player is logged using /login <password>
      • Requires: Authme
      • Example:
        Code (Text):
        on portal:
            if player is logged:
                send player to "skyblock"
            else:
                stop
    • "if password %string% is (password of %player%|%player%['s] password)":
      • Description: It returns true, if password used in this condition matchs AuthMe password of player.
      • Requires: Authme
      • Example:
        Code (Text):
        command log <text>:
            trigger:
                if password text-argument is player's password:
                    force login player #Effect from this addon
    Effects:
    • "[mor.]send email [with] subject %string% [with] message %string% to %string%":
      • Description: Send real email with specific subject and message to specific address. You have to configure host, port, login and password (if required) and connection type (prefer SSL). If you was using old version, please generate new config.
      • Example:
        Code (Text):
        command send <text> <text> <text>:
          trigger:
            send email with subject "%text-argument-2%" with message "%text-argument-3%" to "%text-argument-1%"

    • "set cursor item of %player% to %itemstack%":
      • Description: Sets cursor item of player to specific item.
      • Example:
        Code (Text):
        on inventory click:
          if slot clicked slot of event-inventory is enderchest:
            if cursor item of player is not air:
               if player's enderchest can hold cursor item of player:
                 cancel event
                 add cursor item of player to player's enderchest
                 set cursor item of player to air
    • "set [mor.]amount of %itemstack% to %number%":
      • Description: Sets amount of item in variable or option like "player's tool" to specific number
      • Example:
        Code (Text):
        set mor.amount of {_item} to 5
    • "set mor.maxhp of %entity% to %number%":
      • Description: Sets amount of max health of object that can be damaged.
      • Example:
        Code (Text):
        on rightclick:
          if event-entity is set:
            set mor.maxhp of event-entity to max health of event-entity + 1
    • "play [noteblock] music %string% for %player%":
      • Description: Plays NoteBlock music from file in folder /plugins/SkMorkaz/NBSFiles. You can easy convert .midi to .nbs files using NoteBlockStudio.
      • Requires: NoteBlockAPI
      • Example:
        Code (Text):
        play noteblock music "test.nbs" for player
    • "stop [noteblock] music for %player%":
      • Description: Stops playing music for specified player.
      • Requires: NoteBlockAPI
      • Example:
        Code (Text):
        stop noteblock music for player
    • "force login %player%":
      • Description: Make player logged. This effects gives possibility to make player logged in when they are not authorized after joining the server.
      • Requires: Authme
      • Example:
        Code (Text):
        on join:
          if IP-address of the player is {authme::sesions::lastloged::ip::%player%}:
            force login player

    Expressions:
    • "row [number] of %inventory%":
      • Description: It returns number of rows of specific inventory.
      • Example:
        Code (Text):
        loop (row of player's current inventory)*9 times:
            add slot "%loop-number - 1%" parsed as number of player's current inventory to {_items::*}
    • "window [number] of %inventory%":
      • Description: Same as with rows, but it returns number of windows.
      • Example:
        Code (Text):
        loop (windows of player's current inventory) times:
            add slot "%loop-number - 1%" parsed as number of player's current inventory to {_items::*}
    • "cursor item of %player%":
      • Description: Returns an item that is in cursor (after ex. click) of player
      • Example:
        Code (Text):
        set {_item} to cursor item of player
    • "[mor.]potion tier [of] %string% of %player%":
      • Description: Returns tier number of specific potion if it is applied to specific player. If not, it returns 0. Please use Bukkit potion names in text, like as in example.
      • Example:
        Code (Text):
        set {_tier.number} to potion tier of "SLOW" of player
    • "[mor.]potion duration [of] %string% of %player%":
      • Description: Returns time parsed as skript's timespan of duration of specified potion name of player. If it is not applied, it returns 0. Please use Bukkit potion names in text, like as in example.
      • Example:
        Code (Text):
        set {_potion.duration} to potion duration of "SLOW" of player
    skmorkaz.png

Recent Reviews

  1. DHStyle
    DHStyle
    5/5,
    Version: 0.21
    damn mannn i love this is addons can u update this is addons to 1.12.2
    plss hehehe
  2. Artist
    Artist
    4/5,
    Version: 0.21
    Haven`'t tested it but looks solid and usefull! All in one instead of 10 addons :)
  3. Adrihun
    Adrihun
    5/5,
    Version: 0.21
    Awesome Addon! Altough, I can't get Html to work with Emails. Can you please help me with that ?
  4. fakepixel
    fakepixel
    3/5,
    Version: 0.21
    Good but Emails formatting won't work (java & html) and Dev won't help. :/ .
  5. Hosom
    Hosom
    4/5,
    Version: 0.21
    [SUGGESTION] (needed, lol) I am using your fantastic skript extension to create a remake of a very very old client-side mod that i loved (when it will be ready ill show you, if you want :) ).

    However, to allow the use of pistons, i need something that can iterate through all the blocks that are pushed (and here skmorkaz is perfect) but i need it even when blocks are pulled back! Without you implementing this, the mod is probably not going to support pistons. :(
  6. Trademark
    Trademark
    5/5,
    Version: 0.21
    Great addon!
    Could you place add "click type" in inventory click events? For example, I want to create a shop, if you rightclick you buy, if you leftclick you sell, if you shift + rightclick buys x64, shift + leftclick sells x64.

    Thank you!
  7. JKGamerxD
    JKGamerxD
    5/5,
    Version: 0.21
    Very cool Addon, and you can add money balance for vault? its very bugged in Skript plugin, and event to get ping of the player :D, thanks for create this.
    1. Msql
  8. Spartan9802
    Spartan9802
    5/5,
    Version: 0.2
    Great add-on for skript , good job keep it up !
    Thank you for your work !
    Sorry for my bad english I 'm french .
  9. MrpYA45
    MrpYA45
    5/5,
    Version: 0.2
    Wow, it's an awesome resource. The inventory click and the noteblock events, conditions, ect are really interesting ;D
  10. M4T14SG4M3R
    M4T14SG4M3R
    5/5,
    Version: 0.1
    Thanks!! I wanted this addon for Authme for a looong time! thx! .