update
This commit is contained in:
parent
208472a1e3
commit
3667515982
|
@ -50,7 +50,7 @@ public class Example extends JavaPlugin {
|
||||||
UltimateKingdom.getKingdomServer().Message().addTranslations("test_command" ,"^&adit is kingdom: &f{0} &aen player ^&f{1}");
|
UltimateKingdom.getKingdomServer().Message().addTranslations("test_command" ,"^&adit is kingdom: &f{0} &aen player ^&f{1}");
|
||||||
|
|
||||||
//vertaling ophalen/gebruiken
|
//vertaling ophalen/gebruiken
|
||||||
String string = UltimateKingdom.translate("test_command",kingdomPlayer.getDisplayName(),kingdom.getDisplayName());
|
String string = UltimateKingdom.translate("test_command",kingdom.getDisplayName(),kingdomPlayer.getDisplayName());
|
||||||
|
|
||||||
//register placeholder zodat deze door de hele plugin gebruikt kan worden.
|
//register placeholder zodat deze door de hele plugin gebruikt kan worden.
|
||||||
UltimateKingdom.getKingdomServer().PlaceHolders().PlayerPlaceHolders().register(new OwnPlaceHolder());
|
UltimateKingdom.getKingdomServer().PlaceHolders().PlayerPlaceHolders().register(new OwnPlaceHolder());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user