Posts by prince
Learn more about this change here.
For help regarding Aternos, we recommend you to visit our support center.
-
-
You can only access .yml files
what .yml?
i already change
the scorehud.yml
but still not working in game 😥
can you help me how ca n i run this plugin?
---
# DO NOT EDIT THIS VALUE.
# ONLY FOR INTERNAL USE.
scorehud-version: 1
# Changing titles of the scoreboard.
# Can be of any number.
server-names:
- "§l§f•§aP§3h§2i§5l§4i§bp§2p§bi§en§ae§ds §1A§ct§bl§5a§cs§f•"
- "§l§f•§4P§ch§3i§7l§fi§ap§cp§ai§1n§6e§bs §8A§6t§bl§da§es§f•"
# Note: You can find links to the required/supported plugins via the README.md.
# IMPORTANT NOTE: You can only set a maximum of 15 lines and no more.
#
# You can edit the lines already set below and adjust them according to your needs.
#
# If you want same scoreboard to be displayed in every world then set per-world-scoreboard to false in config.yml.
#
# If you have per-world-scoreboard enabled and want to display a default scoreboard for a world you didn't mention
# in scoreboards key below then set use-default-score-lines to true in config.yml.
#
# After that edit the following score-lines to edit the scoreboard.
#
# You need to add addons for adding support for tags.
# If you want support for a plugin please ask the plugin author of that plugin to add support for ScoreHud by making an addon.
#
# For a list of addons go here https://github.com/JackMD/Scor…b/master/README.md#addons.
score-lines:
- " §7•§bname§7: §a{PLAYER}"
- " §7•§bonline§7: §a{TOTALPLAYERS}§f/§2{MAXPLAYERS}"
- " §7•§bmoney§7: §a{MONEY}"
- " §7•§bfaction§7: §a{faction}"
# If you want to display different scoreboards for every world then set per-world-scoreboard to true in config.yml.
# After that edit the following to suit your needs.
scoreboards:
# EXAMPLE CONFIGURATION:
# -------------------
# "world name": | The name of the world. Enclose it in inverted commas.
# lines: | This key is important. And the plugin won't function without it.
# - " Line #1" | Line number one. You can use any of the above tags.
# - " Line #2" | You can add a maximum of 15 lines.
#--------------------
"world":
lines:
- " §dName: §5{name}"
- " §bOnline: §a{online} §c/ §d{max_online}"
"world 2":
lines:
- " §dTPS: §5{tps}"
- " §bLoad: §a{load}"
...
-
ScoreHud not Working in my Server
i already watching how to set up this plugin but need the BASICADDONS.php in addon folder but if i open the folder in ScoreHud/addon then i try to add BasicAddon.php not working can you please help me how to add .php format?
thank you 😉
-
[Blocked Image: https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQBUemjt57ccIhrOOvXdpGxKNZPdfh7Zdy1RIU0qoKVlduC6jwh][Plugin Request] BasicAddons
Hi Aternos Team, can you please add the following BasicAddon.php?
Addon name: BasicAddon.php
Description: ScoreHud Need a BasicAddon.php to see the {PLAYER} in the ScoreHud
Thank you!
-
how to get BASICADDON on this website i cant search in plugin thanks
-
please add this plugin
name
BasicAddon
i can add this
<?php
declare(strict_types = 1);
/**
* @name BasicAddon
* @version 1.1.0
* @main JackMD\ScoreHud\Addons\BasicAddon
*/
namespace JackMD\ScoreHud\Addons
{
use JackMD\ScoreHud\addon\AddonBase;
use pocketmine\Player;
class BasicAddon extends AddonBase{
/**
* @param Player $player
* @return array
*/
public function getProcessedTags(Player $player): array{
return [
"{name}" => $player->getName(),
"{real_name}" => $player->getName(),
"{display_name}" => $player->getDisplayName(),
"{online}" => count($player->getServer()->getOnlinePlayers()),
"{max_online}" => $player->getServer()->getMaxPlayers(),
"{item_name}" => $player->getInventory()->getItemInHand()->getName(),
"{item_id}" => $player->getInventory()->getItemInHand()->getId(),
"{item_meta}" => $player->getInventory()->getItemInHand()->getDamage(),
"{item_count}" => $player->getInventory()->getItemInHand()->getCount(),
"{x}" => intval($player->getX()),
"{y}" => intval($player->getY()),
"{z}" => intval($player->getZ()),
"{load}" => $player->getServer()->getTickUsage(),
"{tps}" => $player->getServer()->getTicksPerSecond(),
"{level_name}" => $player->getLevel()->getName(),
"{level_folder_name}" => $player->getLevel()->getFolderName(),
"{ip}" => $player->getAddress(),
"{ping}" => $player->getPing(),
"{time}" => date($this->getScoreHud()->getConfig()->get("time-format")),
"{date}" => date($this->getScoreHud()->getConfig()->get("date-format")),
"{world_player_count}" => count($player->getLevel()->getPlayers())
];
}
}
}



