SpigotSpleef - Tutorial

Aug 11, 2016
SpigotSpleef - Tutorial
  • [​IMG]
    Config Setup | Permissions | Tutorial | API

    Since BungeeMSG v2.0.0 there is a new way of configuring messages. You can use multiple options (for example, you are able to send a regular message and an actionbar!) This is the format of these messages, an example usage will be given below.

    Code (format):
    <config-path>:
      Message: '<message>'
      MessageList:
      - '<message1>'
      - '<message2>'
      Title:
        FadeIn: <fade in time>
        Stay: <stay time>
        FadeOut: <fade out time>
        Title: '<message>'
        Subtitle: '<message>'
      ActionBar:
        Stay: <stay time>
        ActionBar: '<message>'

    Regular Message:
    Code (regular message):
    ToReceiver:
      Message: '&7[%server-sender%&7] &6%suggest-player% &7> &7[%server-receiver%&7] &6%receiver%&7: &6%msg%'
    Multiple Messages:
    Code (multiple messages):
    ToReceiver:
      MessageList:
      - '&7[%server-sender%&7] &6%suggest-player% &7sent you a message:
      - '&6%msg%'
    Title:
    Code (title):
    ToReceiver:
      Title:
        FadeIn: 2
        Stay: 10
        FadeOut: 2
        Title: '&7%sender%'
        Subtitle: '&6%msg%'
    ActionBar:
    Code (actionbar):
    ToReceiver:
      ActionBar:
        Stay: 10
        ActionBar: '&6%sender%&7: &6%msg%'
    You can make your own abilties with SpigotSpleef! The current abilities that are available are: JUMP, PLUS_ONE, THROW_EGG, POTION, RUNNER, EXPLODE_BOW, TELEPORT_BOW.

    Other abilities that cannot be modified are: INSTANT_TNT, NEAREST_PLAYER, PLACE_ABLE

    JUMP: By right clicking on the item you will be granted a 'leap' in the direction you are looking at.
    Code (JUMP Ability):
    '<ability-name>':
      Type: JUMP
      Cooldown: <cooldown>
      Power: <power>
      Messages:
        Usage:
          Message: '&6&lSpigot&7&lSpleef &7| &7You used &6Jump&7!'
          Sound: FIREWORK_BLAST
        OnCooldown:
          Message: '&6&lSpigot&7&lSpleef &7| &7You can use &6Jump&7 in &6%cooldown%&7...'
    You can add a # before the messages, or just delete them if you do not want the messages to be used.
    Example Jump Ability:
    Code (JUMP Ability Example):
    'Leap':
      Type: JUMP
      Cooldown: 3 (3 seconds)
      Power: 2 (Multiply by 1 + (x/10) -> 1.2)
      Messages:
    #    Usage: (We disable this message by doing this)
    #      Message: '&6&lSpigot&7&lSpleef &7| &7You used &6Jump&7!'
    #      Sound: FIREWORK_BLAST
        OnCooldown:
          Message: '&6&lSpigot&7&lSpleef &7| &7You can use &6Jump&7 in &6%cooldown%&7...'
    PLUS_ONE: after a certain amount of time, you'll receive an item.
    Code (PLUS_ONE Ability):
    '<ability-name>':
      Type: PLUS_ONE
      Cooldown: <cooldown>
      MaxAmount: <amount>
      Messages:
        Usage:
        #    Message: '&6&lSpigot&7&lSpleef &7| &7You have received an &6item&7!'
          Sound: ITEM_PICKUP
    You can add a # before the messages, or just delete them if you do not want the messages to be used.
    Example Plus One Ability:
    Code (PLUS_ONE Ability Example):
    'PLUS_ONE_2':
      Type: PLUS_ONE
      Cooldown: 10 (10 seconds)
      MaxAmount: 2 (Cannot have more than 2 items)
      Messages:
        Usage:
        #    Message: '&6&lSpigot&7&lSpleef &7| &7You have received an &6item&7!'
          Sound: ITEM_PICKUP
    THROW_EGG: throw an egg, it destroyes the block it hits.
    Code (THROW_EGG Ability):
    '<ability-name>':
      Type: THROW_EGG
      Cooldown: <cooldown>
      Messages:
        Usage:
        #  Usage:
        #    Message: '&6&lSpigot&7&lSpleef &7| &7You used &6Throw Egg&7!'
          OnCooldown:
            Message: '&6&lSpigot&7&lSpleef &7| &7You can use &6Throw Egg&7 in &6%cooldown%&7...'
    You can add a # before the messages, or just delete them if you do not want the messages to be used.
    Example Throw Egg Ability:
    Code (THROW_EGG Ability Example):
    'Egg':
      Type: THROW_EGG
      Cooldown: 0 (0 seconds)
      Messages:
        Usage:
        #  Usage:
        #    Message: '&6&lSpigot&7&lSpleef &7| &7You used &6Throw Egg&7!'
          OnCooldown:
            Message: '&6&lSpigot&7&lSpleef &7| &7You can use &6Throw Egg&7 in &6%cooldown%&7...'
    POTION: right click an item to activate a potion.
    Code (POTION Ability):
    '<ability-name>':
      Type: POTION
      Cooldown: <cooldown>
      PotionType: <type>
      PotionLevel: <level>
      Duration: <duration>
      Messages:
        Usage:
          Message: '&6&lSpigot&7&lSpleef &7| &7You used &6Speed Boost&7!'
          Sound: DRINK
        OnCooldown:
          Message: '&6&lSpigot&7&lSpleef &7| &7You can use &6Speed Boost&7 in &6%cooldown%&7...'
    You can add a # before the messages, or just delete them if you do not want the messages to be used.
    Example Potion Ability:
    Code (POTION Ability Example):
    'Speed':
      Type: POTION
      Cooldown: 10 (10 seconds)
      PotionType: SPEED (Gives speed boost.)
      PotionLevel: 2 (Potion Amplifier)
      Duration: 4 (4 seconds)
      Messages:
        Usage:
          Message: '&6&lSpigot&7&lSpleef &7| &7You used &6Speed Boost&7!'
          Sound: DRINK
        OnCooldown:
          Message: '&6&lSpigot&7&lSpleef &7| &7You can use &6Speed Boost&7 in &6%cooldown%&7...'
    RUNNER: blocks fall after a certain amount of time when you walk on them.
    Code (RUNNER Ability):
    '<ability-name>':
      Type: RUNNER
      Cooldown: <cooldown>
    Example Runner Ability:
    Code (RUNNER Ability Example):
    'Spleef_Runner':
      Type: RUNNER
      Cooldown: 0.5 (0.5 seconds)
    EXPLODE_BOW: right click an item and activate a potion.
    Code (EXPLODE_BOW Ability):
    '<ability-name>':
      Type: EXPLODE_BOW
      Size: <size>
    Example Explode Bow Ability:
    Code (EXPLODE_BOW Ability Example):
    'Range_Medium':
      Type: EXPLODE_BOW
      Size: 3
    TELEPORT_BOW: right click an item and activate a potion.
    Code (TELEPORT_BOW Ability):
    '<ability-name>':
      Type: TELEPORT_BOW
      Messages:
        Execute:
      #    Message: '&6&lSpigot&7&lSpleef &7| &7You have been teleported to your &6arrow&7!'
          Sound: ENDERMAN_TELEPORT
    You can add a # before the messages, or just delete them if you do not want the messages to be used.
    Example Teleport Bow Ability:
    Code (TELEPORT_BOW Ability Example):
    'Teleport_Arrows':
      Type: TELEPORT_BOW
      Messages:
        Execute:
      #    Message: '&6&lSpigot&7&lSpleef &7| &7You have been teleported to your &6arrow&7!'
          Sound: ENDERMAN_TELEPORT'
    Instead of blocks just dissapearing you have the option to let them transfer into another block, that then may transfer into on other and finaly into air. You are also able to create blocks that cannot be broken. All blocks that are not configured will automatically transfer to air when broken.
    Code (blockreplace-cfg.yml):
    Blocks:
      #<id>:<durability>: '<id>:<durability>'
      '1:0': '4:0'
      '2:0': '3:0'
      '17:0': '162:1'
      '98:0': '98:2'
    In order to make irremovable blocks you simply do this:
    Code (blockreplace-cfg.yml):
    Blocks:
      '7:0': '7:0'
    This will make bedrock irremovable.
    You are able to make seperate servers for arenas and one hub server where you can connect to all arenas. There are a few things you'll have to setup for that.

    You'll have to set all these configurations for all your servers. (Hub & arena servers)
    Code (bungee-cfg.yml):
    Use: false (Set this to true in order to use Bungeecord)
    IsHub: false (Pretty selfexplainatory, false means it's an arena, true means it's the hub server.)

    # You must change these settings for your hub server (Simply list all servers by their arena-id which we'll be setting on all our arena servers)
    Hub:
      Servers:
        #'<arena-id>': '<server>'
        '1': 'spleef-1'
        '2': 'spleef-2'
        '3': 'spleef-3'

    # You must change these settings for your game servers
    Server:
      HubServer: 'hub' (This is the server name that you gave your hub server in the Bungeecord config.yml)
      ArenaID: 1 (Arena-id of this arena server)
      ServerName: 'spleef-1' (This is the server name that you gave this server in your Bungeecord config.yml)

      MOTD: (This will update the MOTD from the motd-cfg.yml file if you want your players to view the game from the minecraft multiplayer menu)
        Use: false
        UpdateMaxPlayers: true (If set to true sets the max players to the maximum amount of players that can join the arena)
    Use the following steps to create your very own SpigotSpleef Bungeecord setup:

    Step 1:
    - Go to your arena servers.
    - Make sure that you have set 'Use: false' when you want to edit a map, otherwise you'll be sent back to the hub or kicked.
    - Create all your maps
    - Create one arena (with the arena-id you gave in the bungee-cfg.yml, this isn't nessesary, but just to keep everything ordered.

    Step 2:
    - Go to all your servers.
    - Edit the bungee-cfg.yml like stated above.

    Step 3:
    - Go to your hub server.
    - Because you set 'IsHub: true' you are able to create arenas without maps on this server. -> Create all your arenas with the arena-id's you gave the servers in the bungee-cfg.yml.
    - Setup the Arena Selector or Signs.
    - Done! Now you will be able to use Bungeecord and multiple servers using SpigotSpleef!
    Normal Inventory: Slot 1-36
    Left-Hand: Slot 37 (1.9+)
    Boots: Slot 38
    Leggings: Slot 39
    Chestplate: Slot 40
    Helmet: Slot 41
    << Back to the SuperSpleef plugin
  • Loading...
  • Loading...