ActionLib Actions

Oct 3, 2017
ActionLib Actions
  • [​IMG]
    Info about every action in the plugin

    Built-in actions:

    ActionBar:
    Send an ActionBar to the player.
    Args:

    message:
    desc: The message that will be displayed when the action is performed colors and variables can be used
    type: String*

    default: "Default ActionBar message"
    Ban:
    Ban the player from the server.
    Args:

    message:
    desc: The message will show in the ban screen colors and variables can be used
    type: String

    default: "You have been banned."
    Broadcast:
    Broadcast a message for all the players
    Args:

    message:
    desc: This message will be broadcasted. Variables and colors allowed.
    type: String

    default: "Default broadcast message."
    CancellEvent:
    Cancell the event in wich the player is involved.
    This is a special action that is only used in certain events.
    ChangeGamemode:
    Change the gamemode of the player.
    Args:

    gamemode:
    desc: The gamemode (Survival, Creative, Adventure or Spectator)
    type: String (Gamemode's name)
    default: "Survival"
    ForceChat:
    Force the player to chat certain message.
    Args:
    message:
    desc: The message that the player will say.
    type: String

    default: "Hello!"
    Give:
    Give a high customizable item to the player.
    Doc coming soon.
    Kick:
    Kick the player from the server.
    Args:
    message:
    des: This message will be displayed on the kick screen.
    type: String

    default: "You have been kicked from the server."
    Kill:
    Kills the player.
    Message:
    Send a message to the player.
    Args:
    message:
    des: The message that the player will recive
    type: String
    default: "Default message" (Please change it :confused:)
    SetFlying:
    Set player to flying mode.
    Teleport:
    Teleport the player to certain coords.
    Args:
    location:
    desc: The location where player will be teleported ("World, x, y, z)
    type: String (SrAldeano's location config system)
    default: null (Set some value if you don't want to get an error!)

    example: "Lobby, 230, 67, -435"
    Title:
    Send a title and/or a subtitle to the player.
    Args:
    VaultGive:
    Add some money to the player's Vault account (Vault plugin required)
    VaultTake:
    Take/remove some money from the player's Vault account (Vault plugin required)
    *In the args that are marked as "String" you should place a text
  • Loading...
  • Loading...