Recoded, added features, removed useless stuff, more efficent code, PER PLAYER TEXT

Related tags

Miscellaneous WFT
Overview

WFT - 1.2.0 (BETA)

Hello, and welcome to WFT.

NOW IN API 4.0

This is the official recode of my old plugin WFT, witch had some issues. Overall I was not happy with the result, the code was messy, it was all in one file, there was useless and in-efficient code, with a hard api to use, so decided to recode it.

I have added features, because I felt the plugin needed them, and removed features, as some features where not needed.

Features added

  • Multiple language support
  • Optional display identifier
  • More Tags
  • Per-Player Texts
  • Packet Texts over Entity
  • More efficient and pretty code

Language support: You can now change the language of the plugin to suit your server.

Display identifier: You can now turn on or off the option to see the texts unique identifier (Much like Texter, but optional).

More tags: Added many more tags for better, they are also player specific.

Per-Player texts: Players will now get a specific text depending on what tag you use.

Packets: The old plugin used entities, putting more load on the server, whereas this plugin uses packets, therefore creating a more lightweight plugin.

Efficient and pretty code: The code in this plugin is WAY more efficient and clean that the old plugin. The code is also spaced out in multiple files.

Features

  • Refresh timer
  • Tags for various things
  • Lots of useful commands
  • Form or command line options
  • Help subcommand for new people
  • Powerful fast and efficient code
  • Extensive customizable

Example

Info

Commands

Master command is ft|wft.master

Subcommand Permission Description Aliases
wft wft.command.use The master command ft
add ~ Add a new ft spawn, summon, new, make, create, c, a
remove ~ Remove a existing ft break, delete, bye, d, r,
edit ~ Edit an existing ft e, change
tp ~ Teleport to an ft teleportto, tpto, goto, teleport
tphere ~ Teleport a ft to you teleporthere, movehere, bringhere, tph, move
list ~ See a list of the current fts see, all
help ~ So you can get some in-game help stuck, h, ?

Tags

Tag Description
# New line
& Use for color codes (same as §)
{NAME} Players real name
{REAL_NAME} Players real name
{DISPLAY_NAME} Players display name (often nick plugins use display name)
{PING} Players Current Ping
{MAX_PLAYERS} Maximum players that can be on the server
{ONLINE_PLAYERS} Currently online player count
{X} Players X Position
{Y} Players Y Position
{Z} Players Z Position
{REAL_TPS} Current server tps
{TPS} Average server tps
{REAL_LOAD} Current server load
{LOAD} Average server load
{LEVEL_NAME} Players current level name
{LEVEL_FOLDER} Players current level folder name
{LEVEL_PLAYERS} Players current level player count
{CONNECTION_IP} The IP address that the player connected from
{SERVER_IP} The servers IP address
{TIME} Current server time (Customisable in config)
{DATE} Current server date (Customisable in config)

Create your own

See how to create your own here

API

Example:

Import the classes

use WolfDen133\WFT\WFT;
use WolfDen133\WFT\Texts\FloatingText;

Creating the text

// Creation and registration
$floatingText = new FloatingText(new Position($x, $y, $z, $level), $name, $text);
WFT::getAPI()->registerText($floatingText);

// Spawning
WFT::getAPI()::spawnTo($player, $floatingText);
// or
WFT::getAPI()::spawnToAll($floatingText);

Changing the ft's text

// Changing the text
$floatingText->setText($text);

// Pushing the update
WFT::getAPI()::respawnTo($player, $floatingText);
// or 
WFT::getAPI()::respawnToAll($floatingText);

That's it, the rest is handled by the plugin

Credit

  • WolfDen133 (Main Programmer) [ฬ๏ɭŦ๔єภ133;#6969]
  • TheFixDev (Translation - German) [𝓗𝓪𝓫𝓓𝓲𝓬𝓱𝓢𝓸𝓖𝓮𝓻𝓷#6158]
  • kostamax27 (Suggestion & Translation - Russian, Ukrainian) [kostamax27#0160]
  • Sergittos (Translation - Spanish) [Sergittos#0001]
Comments
  • Bug

    Bug

    [17:35:30.861] [Server thread/CRITICAL]: TypeError: "pocketmine\network\mcpe\protocol\AddPlayerPacket::create(): Argument #12 ($gameMode) must be of type int, array given, called in phar:///home/minecraft/plugins/WFT.phar/src/WolfDen133/WFT/Texts/SubText.php on line 105" (EXCEPTION) in "pmsrc/vendor/pocketmine/bedrock-protocol/src/AddPlayerPacket" at line 60

    opened by GamerMJay 6
  • error in 1.19.40 (pmmp 4.10.0)

    error in 1.19.40 (pmmp 4.10.0)

    Describe the bug A clear and concise description of what the bug is.

    server crash on server join

    it was narrowed down to this plugin

    Error Full error with stacktrace e.g.

    Syntax error: "Unexpected '$var' on line 12 in file PocketMine\Plugin\Main.php"
    ## Stack trace
    
    check link in additional 
    
    

    To Reproduce Steps to reproduce the behavior: e.g.

    1. join server

    Expected behavior A clear and concise description of what you expected to happen.

    not to crash my server when someone joins

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • latest poggit release
    • look in title

    Additional context Add any other context about the problem here. https://crash.pmmp.io/view/7719577

    opened by jaylac2000 4
  • Crash error

    Crash error

    2:28:29.697] [Server thread/CRITICAL]: InvalidArgumentException: "Cannot use non-existing permission "formcreator.simpleeg.use"" (EXCEPTION) in "pmsrc/src/command/Command" at line 107

    opened by Zelurium 2
  • error (1.19.10)

    error (1.19.10)

    2022-07-13 [15:21:45.332] [Server thread/CRITICAL]: TypeError: "pocketmine\network\mcpe\protocol\AddPlayerPacket::create(): Argument #5 ($position) must be of type pocketmine\math\Vector3, string given, called in phar:///home/minecraft/plugins/WFT_dev-80.phar/src/WolfDen133/WFT/Texts/SubText.php on line 99" (EXCEPTION) in "pmsrc/vendor/pocketmine/bedrock-protocol/src/AddPlayerPacket" at line 59 --- Stack trace --- #0 plugins/WFT_dev-80.phar/src/WolfDen133/WFT/Texts/SubText(99): pocketmine\network\mcpe\protocol\AddPlayerPacket::create(object Ramsey\Uuid\Lazy\LazyUuidFromString#300754, string[12] ..6..lInfos , int 5, string[1] 5, string[0] , object pocketmine\math\Vector3#300755, null, int 0, int 0, int 0, object pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper#300757, int 1, array[2], object pocketmine\network\mcpe\protocol\AdventureSettingsPacket#300763, array[0], string[0] , int -1) #1 plugins/WFT_dev-80.phar/src/WolfDen133/WFT/Texts/FloatingText(103): WolfDen133\WFT\Texts\SubText->spawnTo(object ipad54\netherblocks\player\Player#302007) #2 plugins/WFT_dev-80.phar/src/WolfDen133/WFT/API(98): WolfDen133\WFT\Texts\FloatingText->spawnTo(object ipad54\netherblocks\player\Player#302007) #3 plugins/WFT_dev-80.phar/src/WolfDen133/WFT/API(63): WolfDen133\WFT\API::spawnTo(object ipad54\netherblocks\player\Player#302007, object WolfDen133\WFT\Texts\FloatingText#290175) #4 plugins/WFT_dev-80.phar/src/WolfDen133/WFT/EventListener(20): WolfDen133\WFT\API->spawn

    opened by GamerMJay 1
  • .

    .

    Describe the bug U cannot place WFT in a non default world Error World not loaded. e.g.

    **To Reproduce**
    Steps to reproduce the behavior:
    e.g.
    1. Go to another world that isn't default one
    2. Place wft
    3. Reload server.
    
    **Expected behavior**
    The WFT to be placed in multiple worlds 
    
    s to help explain your problem.
    
    **Desktop (please complete the following information):**
     - WFT Version [e.g. 1.3.1]
     - Pocketmine Version [e.g. 4.1.0]
    
    **Additional context**
    Also, make it so you can make WFT's longer, because it doesn't let you after a bit.
    opened by Tuvqlu 1
  • Fix a small bug

    Fix a small bug

    getByName( ) fetches the world by the folder name instead of display name. SO when the FloatingText is saved, the folder name should be saved and not the display name.

    The display name and folder name aren't always the same. If that's the case the server crashes. Position world is null or has been unloaded

    opened by Mohagames205 1
Releases(1.3.5)
Owner
null
Just show free stuff in the Elementor

Elementor - just free Just show free stuff in the Elementor: This plug-in will remove/hide pro features so the interface will be a bit cleaner. Keep i

Michael Gangolf 7 Oct 14, 2022
School stuff, nothing to see here

Come importare/aggiornare i dati su altervista Scaricare la repo (Code > Download as ZIP) Estrai lo zip In database_backup tasto destro su dantoniog.s

Kryotek 3 Dec 18, 2021
⚡ Php snippets, random stuff, demos, functions, fast message system, agnostic and framework free - 100% compactible ;) ⚡

⚡ Php8 FPM Nginx Fast, Scripts, Pearls & Treasures ?? Want to run and test asap ? docker-compose up -d phpgit_php8;ip=$(docker-machine ip default);ech

Benjamin FONTAINE 0 Mar 20, 2022
Laminas\Text is a component to work on text strings

laminas-text This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering

Laminas Project 38 Dec 31, 2022
Zend\Text is a component to work on text strings from Zend Framework

zend-text Repository abandoned 2019-12-31 This repository has moved to laminas/laminas-text. Zend\Text is a component to work on text strings. It cont

Zend Framework 31 Jan 24, 2021
Laravel Plans is a package for SaaS apps that need management over plans, features, subscriptions, events for plans or limited, countable features.

Laravel Plans Laravel Plans is a package for SaaS apps that need management over plans, features, subscriptions, events for plans or limited, countabl

ángel 2 Oct 2, 2022
Rafel is Remote Access Tool Used to Control Victims Using WebPanel With More Advance Features..

Rafel is Remote Access Tool Used to Control Victims Using WebPanel With More Advance Features..

swagkarna 690 Dec 28, 2022
Easy management of Virtualization technologies including KVM, Xen, OpenVZ, Virtuozzo, and LXC/LXD including unified commands, monitoring, template management, and many more features.

ProVirted About Easy management of Virtualization technologies including KVM, Xen, OpenVZ, Virtuozzo, and LXC/LXD including unified commands, monitori

null 2 Aug 22, 2022
Ekonomy - PocketMine economy plugin with unlimited currencies & more features

Ekonomy What does this plugin do? Similar to EconomyAPI, This economy plugin is optimized with asynchronous query libraries such as libasynql and awai

OctoPush 1 Apr 13, 2022
An alternative Redis session handler for PHP featuring per-session locking and session fixation protection

RedisSessionHandler An alternative Redis session handler featuring session locking and session fixation protection. News phpredis v4.1.0 (released on

Marcel Hernandez 117 Oct 19, 2022
ReintegrApp è una Web Application gestionale sviluppata senza fini di lucro da Riccardo Riggi per organizzazioni di volontariato che operano nel campo dell'emergenza/urgenza

ReintegrApp ReintegrApp è una Web Application gestionale sviluppata senza fini di lucro da Riccardo Riggi per organizzazioni di volontariato che opera

Riccardo Riggi 3 Nov 27, 2021
Laragon MultiPHP per App + PECL Module + Extension manager + Ini Manager

LMPA Laragon MultiPHP per App This tools allow you to run multiple PHP version per app with Laragon, so you can have multiple site running different p

Gilbert Paquin 8 Oct 10, 2022
Modello base con tutto il docker configurato per php7.4, mariadb, vue3, apache...con esempi di component e chiamate rest interne

Applicazione base per utilizzare laravel con docker, php7.4, apache, mariadb10, vue3 Semplice installazione corredate di rotte web e api di base, 3 co

null 0 Jul 14, 2022
A Magento 2 module that allows for creating discrete PDP (Product Detail Pages) page layouts for customers landing on the site from a PPC (Pay Per Click) link/ad by allowing routing to the same pages using a `/ppc/` prefix in the URL path.

A Magento 2 module that allows for creating discrete PDP (Product Detail Pages) page layouts for customers landing on the site from a PPC (Pay Per Click) link/ad by allowing routing to the same pages using a `/ppc/` prefix in the URL path.

null 16 Nov 11, 2022
DiscordLookup | Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more...

DiscordLookup Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more... Website Getting Help Tool

Felix 69 Dec 23, 2022
Ratio plugin is a luck plugin. The more lucky you are, the more you win!

Ratio Ratio plugin is a luck plugin. The more lucky you are, the more you win Features When you break a block (Cobblestone), it gives/puts you somethi

Ali Tura Çetin 2 Apr 25, 2022
[READ-ONLY] CakePHP Utility classes such as Inflector, Text, Hash, Security and Xml. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Utility Classes This library provides a range of utility classes that are used throughout the CakePHP framework What's in the toolbox? Hash A

CakePHP 112 Feb 15, 2022
An easy code to send messages on a discord text channel with webhook.

Status Webhook-Discord An easy code to send messages on a discord text channel with webhook. Don't forget to check the latest version of Webhook-Disco

Victor 1 Dec 3, 2021
Michael Pratt 307 Dec 23, 2022