WIP
This commit is contained in:
parent
9974a7da03
commit
b3e17d214b
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Welcome to GameManager config.
|
# Welcome to GameManager config.
|
||||||
# Here you can configure how does game signs looks.
|
# Here you can configure how does game signs looks.
|
||||||
# 1 is line 1, 2 is line 2, 3 is line 3 and 4 is line 4.
|
# 1 is line 1, 2 is line 2, 3 is line 3 and 4 is line 4.
|
||||||
# Note that {Game} MUST be included in the first line and {level} in the second one (detection).
|
# Note that {Game} can be only placed in first line and {level} MUST be in the second one (detection issues :/).
|
||||||
|
|
||||||
Game1: "§l§o[§r§l{Game}§o]"
|
Game1: "§l§o[§r§l{Game}§o]"
|
||||||
Game2: "-=<{level}>=-"
|
Game2: "-=<{level}>=-"
|
||||||
|
|
|
@ -38,7 +38,7 @@ class SignReloadTask extends PluginTask {
|
||||||
}
|
}
|
||||||
$t->setText($texts[0], $texts[1], $texts[2], $texts[3]);
|
$t->setText($texts[0], $texts[1], $texts[2], $texts[3]);
|
||||||
}
|
}
|
||||||
if(str_ireplace("{game}", $class->getName(), $this->cfg->get("Game1")) == $t->getText()[0]) {
|
/*if(str_ireplace("{game}", $class->getName(), $this->cfg->get("Game1")) == $t->getText()[0]) {*/
|
||||||
$lvlex = explode("{level}", $this->cfg->get("Game2"));
|
$lvlex = explode("{level}", $this->cfg->get("Game2"));
|
||||||
$lvl = str_ireplace($lvlex[0], "", $t->getText()[1]);
|
$lvl = str_ireplace($lvlex[0], "", $t->getText()[1]);
|
||||||
$lvl = str_ireplace($lvlex[1], "", $lvl);
|
$lvl = str_ireplace($lvlex[1], "", $lvl);
|
||||||
|
@ -57,7 +57,7 @@ class SignReloadTask extends PluginTask {
|
||||||
$t->setText($t->getText()[0], $t->getText()[1], $l3, $t4);
|
$t->setText($t->getText()[0], $t->getText()[1], $l3, $t4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue