Skip to content

Vasync/LSPlaceholderAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSPlaceholderAPI

Placeholder for PocketMine-MP.

🤲How to use?

Place it at the top of the file:

use LootSpace369\lsplaceholderapi\PlaceHolderAPI;

Place this is in PluginBase file main:

PlaceHolderAPI::init($this);

Example register Placeholder:

$placeholder = "{hi}";
$replace = "hello";
PlaceHolderAPI::register($placeholder, $replace);

For example in text ui or string in more event enter {hi} it will output:

hello

Example update Placeholder:

PlaceHolderAPI::update("{hi}", "hi bro");

About

Placeholder for PocketMine-MP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages