Sueta

ParticleToText ▶ Create text with particles ◀ [ 1.9.x - 1.1

1.2.1

Create text with particles as hologram

·Plugin

What's new in 1.2

Custom font support

Ambient Particle

How to update

Change presets.yml to the new format

New Presets.yml
[/CENTER]

# Fonts used in particle text.
fonts:
  - Mabook.ttf
# Presets provided here are examples. You can use them or create your own.
# Possible particle list https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
presets:
  # Preset name to use in data.yml
  Default:
    #List of possible particle effects to cycle through
    animation-particles:
    - NONE
    # The delay between each particle update in animation-particles
    animation-refresh-rate: 20
    # Enable or disable ambient particle effects. if animation-particles is set, ambient-particles will be disabled
    ambient: false
    ambient-particles:
      - NONE
    # Particle will be displayed when text list from data.yml is updating. Setting (text-refresh-rate: NONE) will disable this
    text-refresh-particle: SWEEP_ATTACK
    # The delay between each text update in data.yml
    text-refresh-rate: 300
    # font file name. This is the font file that will be used for the text.
    font: default
  preset1:
    animation-particles:
    - FLAME
    - SOUL
    animation-refresh-rate: 20
    ambient: true
    ambient-particles:
      - SPORE_BLOSSOM_AIR
    text-refresh-particle: CLOUD
    text-refresh-rate: 100
    font: Mabook.ttf
  preset2:
    animation-particles:
    - HEART
    - VILLAGER_ANGRY
    animation-refresh-rate: 20
    ambient: true
    ambient-particles:
      - COMPOSTER
      - SPORE_BLOSSOM_AIR
    text-refresh-particle: EXPLOSION_LARGE
    text-refresh-rate: 100
    font: default
  preset3:
    animation-particles:
    - GLOW
    - TOTEM
    animation-refresh-rate: 20
    ambient: true
    ambient-particles:
      - ELECTRIC_SPARK
      - COMPOSTER
      - SPORE_BLOSSOM_AIR
    text-refresh-particle: SMOKE_LARGE
    text-refresh-rate: 100
    font: default



Particle To Text is a plugin that allows you to create text with particles

Commands and Permissions

In-game update notification

particletext.update.notify

Permission to use the plugin

particletotext.use | particletotext.admin

/Particletext create < all | playername > < id > <size> <particlename> <text with/without space>

Creates text effect at players' foot location

particleToText.create | particleToText.admin

EXAMPLE: /Particletext create all 1 0.15 FLAME Hello this is an Example text

Edit text
/Particletext edit < id > moveHere

moves the text effect to player's foot Location

/Particletext edit < id > particle < particlename >

changes base particle effect of the given text effect ID

/Particletext edit < id > text add < text >

adds another text to the given ID

/Particletext edit < id > text edit < textline > < newtext >

replace text line with new text

/Particletext edit < id > text remove < textline >

removes text line from given ID

Other

/Particletext delete < id >

Deletes text effect

particleToText.delete | particleToText.admin

/Particletext list

list all effects

particleToText.list | particleToText.admin

/Particletext reload

reloads all effects

particleToText.reload | particleToText.admin

/Particletext teleport < id >

Teleports command executor to given effect id location

particleToText.teleport | particleToText.admin

Configuration & Language
Config.yml
[/LEFT]
# LANGUAGE
prefix: "&2ParticleToText &8»"
success: "&aParticle with ID &8(&7<enteredID>&8)&a created successfully"
wrongparticle: "&aWrong particle. Use &7/particletext effects &ato get particle list"
IDalreadyexist: "&aID &8(&7<enteredID>&8)&a Already exist"
IDdosenotexist: "&aID &8(&7<enteredID>&8)&a dose not exist"
particledelete: "&aParticle with ID &8(&7<actualID>&8)&a deleted successfully"
particleedit: "&aParticle with ID &8(&7<actualID>&8)&a edited successfully"

[LEFT]
Data.yml
data:

  # Particle id
  'Default':
    # Single or list of text to cycle through
    text:
    - Text line 1
    - Text line 2
    - Text Line 3
    # Size of the text Default 0.15
    size: 0.15
    # Base particle the text is created with
    particle: FLAME
    # Text is shown to all players or specific player. Type player name to show effect to one player
    target: all
    # Text is shown to all players with given permission.
    # (permission: NONE) will disable this.
    # If luckPerms exist by text effect will be shown automatically when the permission is updated or given to the player
    # If luckPerms does not exist players will need to rejoin or reload particlesToText
    permission: NONE
    # Name of the Preset in use. can be edit properties of preset in presets.yml
    preset: Default
    # Exact location of the particle
    location:
      ==: org.bukkit.Location
      world: world
      x: 0.0
      y: 0.0
      z: 0.0
      pitch: 90
      yaw: 90
presets.yml
[/LEFT]
# Fonts used in particle text.
fonts:
  - NONE
# Presets provided here are examples. You can use them or create your own.
# Possible particle list https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
presets:
  # Preset name to use in data.yml
  Default:
    #List of possible particle effects to cycle through
    animation-particles:
    - NONE
    # The delay between each particle update in animation-particles
    animation-refresh-rate: 20
    # Enable or disable ambient particle effects. if animation-particles is set, ambient-particles will be disabled
    ambient: false
    ambient-particles:
      - NONE
    # Particle will be displayed when text list from data.yml is updating. Setting (text-refresh-rate: NONE) will disable this
    text-refresh-particle: SWEEP_ATTACK
    # The delay between each text update in data.yml
    text-refresh-rate: 300
    # font file name. This is the font file that will be used for the text.
    font: default
  preset1:
    animation-particles:
    - FLAME
    - SOUL
    animation-refresh-rate: 20
    ambient: true
    ambient-particles:
      - SPORE_BLOSSOM_AIR
    text-refresh-particle: CLOUD
    text-refresh-rate: 100
    font: Kaebumen.ttf
  preset2:
    animation-particles:
    - HEART
    - VILLAGER_ANGRY
    animation-refresh-rate: 20
    ambient: true
    ambient-particles:
      - COMPOSTER
      - SPORE_BLOSSOM_AIR
    text-refresh-particle: EXPLOSION_LARGE
    text-refresh-rate: 100
    font: default
  preset3:
    animation-particles:
    - GLOW
    - TOTEM
    animation-refresh-rate: 20
    ambient: true
    ambient-particles:
      - ELECTRIC_SPARK
      - COMPOSTER
      - SPORE_BLOSSOM_AIR
    text-refresh-particle: SMOKE_LARGE
    text-refresh-rate: 100
    font: default
[LEFT]

Similar projects

Plugin →