SkGet [ABANDONED] 1.2.0

Addon for Skript

  1. TheWinuXs
    Features
    • getName(UUID of player) -> return name of player
    • getUUID(player) -> return UUID of player

    For this effect require Faction plugin (https://www.spigotmc.org/resources/factions.1900/):
    • faction(UUID of player) -> return name of the faction of player
    • factionRole(UUID of player) -> return role of player
    • factionPower(UUID of player) -> return power of player
    • factionDesc(UUID of player) -> return description of the faction of player
    • factionMotd(UUID of player) -> return motd of the faction of player
    For this effect require PermissionEx plugin (http://dev.bukkit.org/bukkit-plugins/permissionsex/):
    • pexGroups(player) -> return motd of the faction of player
    • pexUserPrefix(player) -> return prefix of player
    • pexUserSuffix(player) -> return suffix of player
    • pexGroupPrefix(player) -> return prefix of group of player
    • pexGroupSuffix(player) -> return suffix of group of player
    • pexSetUserPrefix(player, prefix) -> set prefix of player
    • pexSetUserSuffix(player, suffix) -> set suffix of player
    • pexSetGroupPrefix(player, prefix) -> set prefix of group of player
    • pexSetGroupSuffix(player, suffix) -> set suffix of group of player
    TO-DO
    • Syntax for GroupManager
    • Syntax for WorldGuard

    Example
    Code (Text):
    command /fac:
        trigger:
            set {_faction} to faction(UUID of player)
            send "%{_faction}%"

    command /desc:
        trigger:
            set {_description} to factionDesc(UUID of player)
            send "%{_description}%"

    command /motd:
        trigger:
            set {_faction} to factionMotd(UUID of player)
            send "%{_faction}%"

    command /power:
        trigger:
            set {_motd} to factionPower(UUID of player)
            send "%{_motd}%"

    command /role:
        trigger:
            set {_role} to factionRole(UUID of player)
            send "%{_role}%"
    command /getname:
        executable by: player
        trigger:
            set {_name} to getName(UUID of player)
            send "%{_name}%"

    command /getuuid:
        executable by: player
        trigger:
            set {_uuid} to getUUID(player)
            send "%{_uuid}%"

    command /setprefix <text> [<offline player>]:
       trigger:
         if arg 1 is set:
           if arg 2 is set:
             pexSetUserPrefix(arg 2, "%arg 1%")
           else:
             pexSetUserPrefix(player, "%arg 1%")
     
    command /setsuffix <text> [<offline player>]:
       trigger:
         if arg 1 is set:
           if arg 2 is set:
             pexSetUserSuffix(arg 2, "%arg 1%")
           else:
             pexSetUserSuffix(player, "%arg 1%")

    command /setgroupprefix <text> [<offline player>]:
       trigger:
         if arg 1 is set:
           if arg 2 is set:
             pexSetGroupPrefix(arg 2, "%arg 1%")
           else:
             pexSetGroupPrefix(player, "%arg 1%")
     
    command /setgroupsuffix <text> [<offline player>]:
       trigger:
         if arg 1 is set:
           if arg 2 is set:
             pexSetGroupSuffix(arg 2, "%arg 1%")
           else:
             pexSetGroupSuffix(player, "%arg 1%")

    command /groups <player>:
       trigger:
         set {_test} to pexGroups(player)
         send "%{_test}%"

    command /shout <text>:
       trigger:
         broadcast "%pexGroupPrefix(player)% &7%player%: %arg%"

     
    Require
    > SkQuery 3: http://dev.bukkit.org/bukkit-plugins/squery/
    > WildSkript: http://dev.bukkit.org/bukkit-plugins/wildskript/

Recent Updates

  1. Added new syntax !!
  2. Fix bug
  3. Added PermissionEx Syntax !

Recent Reviews

  1. Bolean
    Bolean
    5/5,
    Version: 1.1.0
    wow nice skript
    1. TheWinuXs
  2. Kwizzy
    Kwizzy
    5/5,
    Version: 1.0.0 ALPHA
    Good skript
    1. TheWinuXs
      Author's Response
      Thank you !
  3. LuisGerdez
    LuisGerdez
    5/5,
    Version: 1.0.0 ALPHA
    Great script!
    1. TheWinuXs
      Author's Response
      Thanks guy ! :)