mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Make /plot setup
header translatable
- Document a couple of permission nodes
This commit is contained in:
parent
68eb5cd74f
commit
9344e1ca79
@ -288,6 +288,10 @@ permissions:
|
||||
default: false
|
||||
plots.admin.flight:
|
||||
default: false
|
||||
plots.admin.command.blocked-cmds.shared:
|
||||
default: false
|
||||
plots.admin.command.blocked-cmds.road:
|
||||
default: false
|
||||
|
||||
plots.teleport.delay.bypass:
|
||||
default: false
|
||||
|
@ -61,7 +61,7 @@ public class Setup extends SubCommand {
|
||||
|
||||
public void displayGenerators(PlotPlayer<?> player) {
|
||||
StringBuilder message = new StringBuilder();
|
||||
message.append("<gold>What generator do you want?</gold>");
|
||||
message.append(TranslatableCaption.of("setup.choose_generator").getComponent(player));
|
||||
for (Entry<String, GeneratorWrapper<?>> entry : SetupUtils.generators.entrySet()) {
|
||||
if (entry.getKey().equals(PlotSquared.platform().pluginName())) {
|
||||
message.append("\n<dark_gray> - </dark_gray><dark_green>").append(entry.getKey()).append(
|
||||
|
@ -112,6 +112,7 @@
|
||||
"economy.added_balance": "<prefix><gold><money> </gold><gray>has been added to your balance.</gray>",
|
||||
"economy.removed_balance": "<prefix><gold><money> </gold><gray>has been taken from your balance.</gray>",
|
||||
"economy.removed_granted_plot": "<prefix><gray>You used <usedGrants> plot grant(s), you've got </gray><gold><remainingGrants></gold> <gray>left.</gray>",
|
||||
"setup.choose_generator": "<gold>What generator do you want?</gold>",
|
||||
"setup.setup_not_started": "<prefix><gold>No setup started.</gold>",
|
||||
"setup.setup_init": "<prefix><gold>Usage: </gold><gray>/plot setup <value></gray>",
|
||||
"setup.setup_step": "<gold><dark_gray>[</dark_gray>Step <step><dark_gray>]</dark_gray> <description> <gray>-</gray> Expecting: <gray><type></gray> Default: <gray><value></gray></gold>",
|
||||
|
Loading…
Reference in New Issue
Block a user