Skip to content

Commit 0af31f6

Browse files
committed
Removido todo el branding + reparar encantamiento
1 parent 0c0b59c commit 0af31f6

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

resources/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
# Plugin by alkaedaav
99
# Discord: alkaedaav#9877
1010

11-
server_name: "&l&5Lunaria" # Coloring support.
11+
server_name: "&l&5HCF" # Coloring support.
1212
map_number: "1" # Only number, no letters.
1313
URL: "https://discord.com/api/webhooks/"
1414
kits:
15-
menu.name: '&l&5LunariaKits'
15+
menu.name: '&l&5HCFKits'
1616
item.slot.empty: '0:0'
1717
item.kit.lore:
1818
- ''
1919
- '&bCooldown time: &7{kit_cooldown}'
2020
- '&bYour cooldown time: &7{player_cooldown}'
21-
- '&bBuy this awesome kit and more on &l&o&fstore.lunaria.gq&r'
21+
- '&bBuy this awesome kit and more on &l&o&fstore.HCF.gq&r'
2222
MySQL:
2323
hostname: "DATABASE HERE"
2424
username: "DATABASE HERE"

resources/messages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ crate_alredy_exists: "&cThe crate &e{crateName}&c has already been created befor
147147
crate_not_exists: "&cThe crate &e{crateName}&c was never registered!"
148148
place_crate_correctly: "&aCrate &l&6{crateName}&r &ait was placed correctly!"
149149
remove_crate_correctly: "&aCrate &l&6{crateName}&r &ait was remove correctly!"
150-
crate_give_reward_correctly: "&l&5Lunaria&r&7 | You received an item&f: &a{itemName}"
151-
crate_give_key_correctly: "&l&5Lunaria&r&7 | You received the key&f: &a{keyName}"
150+
crate_give_reward_correctly: "&l&5HCF&r&7 | You received an item&f: &a{itemName}"
151+
crate_give_key_correctly: "&l&5HCF&r&7 | You received the key&f: &a{keyName}"
152152
crate_rewards_empty: "&cNot have rewards in this crate!"
153153
crate_edit_items_correctly: "&aCrate content &l&6{crateName}&r&a was edited correctly!"
154154
crate_edit_block_correctly: "&aCrate block &l&6{crateName}&r&a was edited correctly!"

resources/scoreboard_settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
server_ip: "lunaria.gq:19012"
14+
server_ip: "github.com/nmoralesfz/alkaedaavhcf"
1515
scoreb_lines: "" # 15 lines recommended
1616
StormBreaker: "&5&lStormBreaker&8» &r&7{time} "
1717
AntiTrapper: "&5&lAntiTrapper&8» &r&7{time} "

src/alkaedaav/EventListener.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -382,20 +382,20 @@ public function onPlayerChatEvent(PlayerChatEvent $event) : void {
382382
}
383383

384384

385-
if($this->getRank($player) === "Blaze"){
386-
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."Blaze".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
385+
if($this->getRank($player) === "HCF"){
386+
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."HCF".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
387387
}
388-
if($this->getRank($player) === null||$this->getRank($player) === "Blaze_COL"){
389-
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."Blaze".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::YELLOW."C".TE::BLUE."O".TE::RED."L".TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
388+
if($this->getRank($player) === null||$this->getRank($player) === "HCF_COL"){
389+
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."HCF".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::YELLOW."C".TE::BLUE."O".TE::RED."L".TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
390390
}
391-
if($this->getRank($player) === null||$this->getRank($player) === "Blaze_MEX"){
392-
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."Blaze".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::GREEN."M".TE::WHITE."E".TE::RED."X".TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
391+
if($this->getRank($player) === null||$this->getRank($player) === "HCF_MEX"){
392+
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."HCF".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::GREEN."M".TE::WHITE."E".TE::RED."X".TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
393393
}
394-
if($this->getRank($player) === null||$this->getRank($player) === "Blaze_Demon"){
395-
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."Blaze".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::RED."Demon".TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
394+
if($this->getRank($player) === null||$this->getRank($player) === "HCF_Demon"){
395+
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."HCF".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::RED."Demon".TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
396396
}
397-
if($this->getRank($player) === null||$this->getRank($player) === "Blaze_Lmao"){
398-
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."Blaze".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::BOLD.TE::RED."Lmao".TE::RESET.TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
397+
if($this->getRank($player) === null||$this->getRank($player) === "HCF_Lmao"){
398+
$format = TE::GOLD."[".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::AQUA."HCF".TE::OBFUSCATED.TE::YELLOW."!!".TE::RESET.TE::GOLD."] ".TE::GOLD."[".TE::BOLD.TE::RED."Lmao".TE::RESET.TE::GOLD."] ".TE::GOLD.$player->getName().TE::WHITE;
399399
}
400400

401401

src/alkaedaav/Factions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ public static function getTopFactions(){
814814
$data = SQLite3Provider::getDataBase();
815815
$result = $data->query("SELECT * FROM points ORDER BY points DESC LIMIT 10;");
816816
$count = 1;
817-
$text = "§b§lTop Factions - §9BlazeHCF§r\n";
817+
$text = "§b§lTop Factions - §9HCF§r\n";
818818

819819
while($resultArr = $result->fetchArray(SQLITE3_ASSOC)) {
820820
$name = $resultArr["factionName"];

src/alkaedaav/Task/event/KothTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function onRun(Int $currentTick) : void {
7878

7979
# Webhook to send the message to discord
8080
$message = $koth->getName()." KOTH was captured by ".$koth->getCapturer()->getName();
81-
Loader::getInstance()->getServer()->getAsyncPool()->submitTask(new DiscordMessage(Loader::getDefaultConfig("URL"), $message, "BlazeHCF | Koth Information"));
81+
Loader::getInstance()->getServer()->getAsyncPool()->submitTask(new DiscordMessage(Loader::getDefaultConfig("URL"), $message, "HCF | Koth Information"));
8282
$koth->setEnable(false);
8383
Loader::getInstance()->getScheduler()->cancelTask($this->getTaskId());
8484
}else{

src/alkaedaav/commands/ReclaimCommand.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
3939
CrateManager::giveKey($sender, "Ordinary", 20);
4040
CrateManager::giveKey($sender, "Strange", 17);
4141
CrateManager::giveKey($sender, "Moon", 15);
42-
CrateManager::giveKey($sender, "Blaze", 12);
42+
CrateManager::giveKey($sender, "HCF", 12);
4343
CrateManager::giveKey($sender, "Ability", 12);
4444
CrateManager::giveKey($sender, "Alexpolu", 12);
4545

@@ -60,7 +60,7 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
6060
CrateManager::giveKey($sender, "Ordinary", 20);
6161
CrateManager::giveKey($sender, "Strange", 17);
6262
CrateManager::giveKey($sender, "Moon", 15);
63-
CrateManager::giveKey($sender, "Blaze", 12);
63+
CrateManager::giveKey($sender, "HCF", 12);
6464
CrateManager::giveKey($sender, "Ability", 12);
6565
CrateManager::giveKey($sender, "Alexpolu", 12);
6666
$sender->resetReclaimTime();
@@ -93,14 +93,14 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
9393
$sender->sendMessage(str_replace(["&", "{time}"], ["§", Time::getTime($sender->getTimeReclaimRemaining())], Loader::getConfiguration("messages")->get("function_cooldown")));
9494
}
9595
}
96-
if($sender->hasPermission("Blaze.reclaim")){
96+
if($sender->hasPermission("HCF.reclaim")){
9797
if($sender->getTimeReclaimRemaining() < time()){
9898
try {
9999
$sender->resetReclaimTime();
100100
CrateManager::giveKey($sender, "Ordinary", 20);
101101
CrateManager::giveKey($sender, "Strange", 17);
102102
CrateManager::giveKey($sender, "Moon", 15);
103-
CrateManager::giveKey($sender, "Blaze", 12);
103+
CrateManager::giveKey($sender, "HCF", 12);
104104
CrateManager::giveKey($sender, "Ability", 12);
105105
CrateManager::giveKey($sender, "Alexpolu", 12);
106106
$sender->resetReclaimTime();
@@ -118,7 +118,7 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
118118
CrateManager::giveKey($sender, "Ordinary", 15);
119119
CrateManager::giveKey($sender, "Strange", 12);
120120
CrateManager::giveKey($sender, "Moon", 10);
121-
CrateManager::giveKey($sender, "Blaze", 8);
121+
CrateManager::giveKey($sender, "HCF", 8);
122122
CrateManager::giveKey($sender, "Ability", 8);
123123
CrateManager::giveKey($sender, "Alexpolu", 8);
124124
#CrateManager::giveKey($sender, "Spidix", 8);
@@ -137,7 +137,7 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
137137
CrateManager::giveKey($sender, "Ordinary", 12);
138138
CrateManager::giveKey($sender, "Strange", 10);
139139
CrateManager::giveKey($sender, "Moon", 8);
140-
CrateManager::giveKey($sender, "Blaze", 6);
140+
CrateManager::giveKey($sender, "HCF", 6);
141141
CrateManager::giveKey($sender, "Ability", 6);
142142
CrateManager::giveKey($sender, "Alexpolu", 6);
143143
$sender->resetReclaimTime();
@@ -155,7 +155,7 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
155155
CrateManager::giveKey($sender, "Ordinary", 8);
156156
CrateManager::giveKey($sender, "Strange", 6);
157157
CrateManager::giveKey($sender, "Moon", 4);
158-
CrateManager::giveKey($sender, "Blaze", 3);
158+
CrateManager::giveKey($sender, "HCF", 3);
159159
CrateManager::giveKey($sender, "Ability", 5);
160160
CrateManager::giveKey($sender, "Alexpolu", 4);
161161
$sender->resetReclaimTime();
@@ -190,7 +190,7 @@ public function execute(CommandSender $sender, String $label, Array $args) : voi
190190
CrateManager::giveKey($sender, "Ordinary", 6);
191191
CrateManager::giveKey($sender, "Strange", 4);
192192
CrateManager::giveKey($sender, "Moon", 2);
193-
CrateManager::giveKey($sender, "Blaze", 1);
193+
CrateManager::giveKey($sender, "HCF", 1);
194194
CrateManager::giveKey($sender, "Ability", 4);
195195
CrateManager::giveKey($sender, "Alexpolu", 2);
196196

src/alkaedaav/item/specials/StormBreaker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class StormBreaker extends Custom {
1919
* @param Int $usesLeft
2020
*/
2121
public function __construct(Int $usesLeft = 5){
22-
parent::__construct(self::GOLD_AXE, TE::YELLOW.TE::BOLD."Alexpolu's Stormbreaker", [TE::GREEN.TE::BOLD."RARE ITEM".TE::RESET."\n\n".TE::GRAY."Remove the enemy's helmet after 3 seconds"."\n\n".TE::YELLOW."Uses Left: ".TE::GOLD.$usesLeft]);
22+
parent::__construct(self::GOLD_AXE, TE::YELLOW.TE::BOLD."Stormbreaker", [TE::GREEN.TE::BOLD."RARE ITEM".TE::RESET."\n\n".TE::GRAY."Remove the enemy's helmet after 3 seconds"."\n\n".TE::YELLOW."Uses Left: ".TE::GOLD.$usesLeft]);
2323
$this->setNamedTagEntry(new CompoundTag(self::CUSTOM_ITEM));
2424
$this->getNamedTagEntry(self::CUSTOM_ITEM)->setInt(self::USES_LEFT, $usesLeft);
2525
}

src/alkaedaav/utils/Enchantments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class {
3131
"PUNCH" => Enchantment::PUNCH,
3232
"FLAME" => Enchantment::FLAME,
3333
"NIGHT_VISION" => Enchantment::NIGHT_VISION,
34-
"Blaze" => Enchantment::Blaze,
34+
"INFINITY" => Enchantment::INFINITY,
3535
"LUCK_OF_THE_SEA" => Enchantment::LUCK_OF_THE_SEA,
3636
"LURE" => Enchantment::LURE,
3737
"FROST_WALKER" => Enchantment::FROST_WALKER,

0 commit comments

Comments
 (0)