By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Customizable floating text plugin for PocketMine-MP
version 1.0.5-dev2
Approved
Direct Download How to install?
Switch version
933 Downloads / 1805 Total
6 Reviews
Plugin Description §

DynamicFT

A useful PocketMine-MP plugin that allow user to create customizable dynamic floating text easily!

Commands

Main command: /dynamicft (Aliases: dft) Sub commands:

  • create - Creates floating text
  • edit - Lets you edit selected floating text
  • remove - Removes selected floating text
  • listids - Shows all floating texts in a list

Tags

General tags

  • {player.name}
  • {player.display_name}
  • {server.online}
  • {server.max_online}
  • {player.item.name}
  • {player.item.id}
  • {player.item.meta}
  • {player.item.count}
  • {player.x}
  • {player.y}
  • {player.z}
  • {player.level.name}
  • {player.world.name}
  • {player.level.folder_name}
  • {player.world.folder_name}
  • {player.level.player_count}
  • {player.world.player_count}
  • {player.ip}
  • {player.ping}
  • {time}
  • {date}
  • {line}

EconomyAPI extension

  • {player.money}

FactionsPro extension

  • {player.faction.name}
  • {player.faction.power}

API

Getting the plugin main class

use OguzhanUmutlu\DynamicFT\Main as DynamicFT;
$dynamicft = DynamicFT::getInstance();

Floating text properties

Property name Data type
text string
x float
y float
z float
level string (Level folder name)

Getting floating text properties

$dynamicft->fts[$id];

This function returns all the properties of the floating text in array

$dynamicft->fts;

This function returns all floating texts

Spawn floating texts to client (player)

$idOfSpawnedFt = $dynamicft->spawnFt($id, $dynamicft->getServer()->getPlayer("aPlayerName"));

This process will be run automatically when a player joins, when a floating text gets registered or gets updated

$dynamicft->ftEntities[idOfSpawnedFt];

This returns the all the floating text particle instances detail of a floating text in array

Result

/*
[
	"player" => \pocketmine\Player instance,
	"particle" => \pocketmine\level\particle\FloatingTextParticle instance,
	"id" => int
]
*/
$idOfSpawnedFt = $spawnedFt["id"];

If you want to update the text of a floating text, update with the $dynamicft->ftConfig->getAll() and $dynamicft->ftConfig->setAll() functions instead of changing the text of the floating text particle instance as it will be overwritten every second

Reporting bugs

You may open an issue on the floating text GitHub repository for report bugs https://github.com/OguzhanUmutlu/DynamicFT/issues

What's new §
  • A big update.
  • Fixed everything, don't use old versions

NeeL-YT
using v1.0.5-dev2
11 Jun 21
It disappears automatically
OguzhanUmutlu
15 Jun 21
no
Mencoreh
using v1.0.5-dev2
11 Jun 21
OguzhanUmutlu
15 Jun 21
no
InsulatorGMan
using v1.0.5-dev2
04 Jun 21
Nice plug-in with a great API
OguzhanUmutlu
06 Jun 21
Thanks!
phatsh159
using v1.0.5-dev2
24 May 21
Good plugin, i need it literally
OguzhanUmutlu
06 Jun 21
Thanks!
TheConceptually
using v1.0.5-dev2
15 May 21
OguzhanUmutlu
20 May 21
such an idiot
HighestDreams
using v1.0.2
20 Apr 21
So good and useful plugin but coding is not very well...
OguzhanUmutlu
10 May 21
why

Reply to review by :

Supported API versions
3.0.0
->
3.21.0
License §
Categories:
Admin Tools
General
Informational
Fun
Developer Tools
Miscellaneous
API plugins
Permissions
Other files

You can leave one review per plugin release, and delete or update your review at any time

Loading...